LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Sending specific URLs over a VPN (https://www.linuxquestions.org/questions/linux-networking-3/sending-specific-urls-over-a-vpn-694829/)

technoshaun 01-04-2009 03:01 AM

Sending specific URLs over a VPN
 
Okay I have to have most of my Internet traffic go over the default while some needs to go over my VPN tunnel.

Is there a way to make certain URLs go over ppp0 while keeping the rest going over eth0.

I'm pretty sure it can be done with a combination of routing and firewall rules but this is something I have never done before so I really need as much help as I can get trying to make this happen. What I specifically want to do is send a selected few urls over the VPN and keep all others on eth0.

Any help on this would be much appreciated.

billymayday 01-04-2009 03:42 AM

How many urls?

technoshaun 01-04-2009 09:50 AM

Right now I would say maybe a dozen.

billymayday 01-04-2009 02:28 PM

You could do it various way. If you don't expect the numner to grow much, you could just add a few routes to the routing table to direct the relevant URLs through the the vpn

If you expect a lot more, you may want to look at using a proxy or similar for the redirection

technoshaun 01-04-2009 02:32 PM

Okay how do I set up the routing tables? No I really don't expect it to grow overly large as these are for work and I only need to access them from time to time.


All times are GMT -5. The time now is 01:54 AM.