LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-04-2009, 03:01 AM   #1
technoshaun
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Rep: Reputation: 0
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.

Last edited by technoshaun; 01-04-2009 at 03:04 AM.
 
Old 01-04-2009, 03:42 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
How many urls?
 
Old 01-04-2009, 09:50 AM   #3
technoshaun
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Right now I would say maybe a dozen.
 
Old 01-04-2009, 02:28 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 01-04-2009, 02:32 PM   #5
technoshaun
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to block urls for specific ip in squid addipolli Linux - Security 10 11-24-2008 02:04 AM
How would I block sending to specific email addresses using Sendmail? PhntmArcher Linux - Newbie 1 08-31-2008 04:53 PM
How to block users from sending e-mail to specific domain satish_k Linux - Newbie 1 03-12-2008 10:53 PM
Specific VPN maxabbr Linux - Networking 1 05-09-2006 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration