Re: VPN (interface) access for and all traffic through from single user -- how to do it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



May I ask some commands?
Say, I have eth1 with address 192.168.2.34, router (and nameserver) address 
192.168.2.1 and I've connected to VPN through ppp0 with local  IP address 
215.155.114.16 and remote IP address 215.155.115.254! (VPN's gateway is 
194.12.33.1 for connecting) (VPN or PPTP)

At least, what are those command line entries, so I can browse network through 
VPN?
Hope, I explained better...

On Friday 15 August 2008 18:29:49 you wrote:
> > (all user's traffic through ppp0, while other users can still go
> > through eth1!)
> >
> > Also this created an extra question: how web browser "knows", which
> > interface should be used, if there are multiple?
>
> (With out having even looked at the links you provided I'm going to take
> a stab in the dark.)
>
> I believe you are wanting to have your traffic go through the VPN as a
> default rather than through your existing default gateway.  (Presuming
> that this is the case.)
Not really. My intend was, that linux user myuser1 is using VPN, but all 
others use LAN directly. So all users have network access, but only myuser1 
is connected through VPN!

Jan
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux