LimpyNuts All American 16859 Posts user info edit post |
If my PC has a LAN connection and a virtual connection (VPN), how can I make the web browser use the LAN connection to connect to the interweb. It tries to use whatever connection gets connected last. There must be a way to configure this. 11/3/2008 9:00:13 PM |
ScHpEnXeL Suspended 32613 Posts user info edit post |
:carlface: 11/3/2008 9:02:17 PM |
Aficionado Suspended 22518 Posts user info edit post |
iptables -A OUTPUT -o eth# -s w.x.y.z -d all -p tcp --dport 80 --state NEW,RELATED -j ACCEPT
where # is the number of the adapter in question and w.x.y.z is the ip address of said adapter if it is static
[Edited on November 3, 2008 at 9:33 PM. Reason : what the hell was i thinking, ifconfig] 11/3/2008 9:30:09 PM |
Tiberius Suspended 7607 Posts user info edit post |
I believe you can also change the metrics of your routes so that traffic on VPN subnets prefers your VPN interface while other traffic prefers the WAN interface 11/4/2008 2:06:19 PM |
evan All American 27701 Posts user info edit post |
Quote : | "I believe you can also change the metrics of your routes" |
bingo11/4/2008 5:00:15 PM |
LimpyNuts All American 16859 Posts user info edit post |
I don't know how to do this! The ONLY thing that needs to use the VPN client is RDP. What do I do? 11/4/2008 5:11:14 PM |
smoothcrim Universal Magnetic! 18966 Posts user info edit post |
dont even have to do metrics, just set the vpn to not use itself as the primary gateway when connected (in windows) 11/5/2008 9:25:31 AM |
BobbyDigital Thots and Prayers 41777 Posts user info edit post |
What you want is split tunneling.
but, whatever VPN server/concentrator you're connecting to, may have it disabled, as it's a huge security risk. If so, there's no real workaround. 11/5/2008 10:15:37 AM |