try this:
route add default eth0 (or whatever your main device is)
Then, for each site that must go through the vpn:
route add x.x.x.x ppp0 (replacing x.x.x.x with the ip of the site)

On Thu, Jan 8, 2009 at 4:22 AM, Shaun Marolf <[email protected]> wrote:

>
> I'm trying to build a routing table that sends specific URLs over my VPN
> interface while keeping the bulk running over my default interface. The
> reasons for this are:
>
> Some web sites I need for work are inaccessible through the VPN while
> others can only be accessed when routed through the VPN.
>
> My work's VPN is extremely slow so only sending the specific URLS I need
> to through the ppp0 interface keeps everything else running smoothly.
>
> Problem is I have never done this before and getting an answer on this
> has become rather frustrating. Google is no help and other forums and
> users groups either remove my question or mark it invalid and close it
> to comments. I know this isn't top secret information, but sure feels
> like it is.
>
> If I need to build an IP routing table fine I don't have a problem with
> that but I need to know how an entry would look.
>
> Specs.
>
> PPTP Tunnel (Yeah its a MS VPN server)
> pptp-linux is the program I use and KVPNC is my front end controller
>
> What program(s) do I need to install beyond pptp-linux and KVPNC? How do
> I configure them to do this?
>
> I honestly need help with this so I can expand my work.
>
>
> >
>


-- 

          Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to