Route only specific traffic through VPN

Discussion in 'Tomato Firmware' started by lanmtl, May 18, 2013.

  1. lanmtl

    lanmtl Addicted to LI Member

    Hi,

    I am using Tomato 1.28 from Toastman.

    I have setup my own US VPN and I use it for Pandora. I'd like to have the Tomato router to only route traffic to *.pandora.com through the VPN with all the other traffic being passed to the internet right away.

    How can I do that? I read this: http://www.linksysinfo.org/index.php?threads/route-only-specific-ports-through-vpn-openvpn.37240/ and tried this: iptables -t mangle -I PREROUTING -i br0 -d ! 208.85.40.0 -j MARK --set-mark 1

    But it didn't work.

    Any advice?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice