Windows and 2 nics, force incoming through one, outgoing through other?

Red Squirrel

No Lifer
May 24, 2003
70,667
13,835
126
www.anyf.ca
I have a VM at home I use to test VPN connectivity and what not from work. Basically I VPN into my house, then VNC to this VM, then VPN out but when it's a non split tunnel VPN it will kill my VNC connection.

How do I make it so all VPN traffic goes through one nic so the other nic remains active for the VNC session? I hope I'm making sense.
 

Red Squirrel

No Lifer
May 24, 2003
70,667
13,835
126
www.anyf.ca
Originally posted by: Billb2
Get two internet connections.

This is an internal VM so essentially I am getting two internal connections. Just not sure how to tell Windows to use a certain nic for all outgoing traffic (ex: the VPN tunnel connection) and the other nic for incomming only. The one for incomming is easy - I just have to connect to that IP instead of the other, but just not sure how to force outgoing on a certain nic.
 

cpals

Diamond Member
Mar 5, 2001
4,494
0
76
Not sure if I'm following you correctly, but you're trying to VPN from your VM setup that is already inside a VPN tunnel? So you're essentially trying to VPN inside a VPN?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: RedSquirrel
I have a VM at home I use to test VPN connectivity and what not from work. Basically I VPN into my house, then VNC to this VM, then VPN out but when it's a non split tunnel VPN it will kill my VNC connection.

How do I make it so all VPN traffic goes through one nic so the other nic remains active for the VNC session? I hope I'm making sense.

You don't, by definition on non-slit tunnel vpn doesn't allow non-vpn traffic into the box. Thats the whole point...
 

Red Squirrel

No Lifer
May 24, 2003
70,667
13,835
126
www.anyf.ca
Originally posted by: bsobel
Originally posted by: RedSquirrel
I have a VM at home I use to test VPN connectivity and what not from work. Basically I VPN into my house, then VNC to this VM, then VPN out but when it's a non split tunnel VPN it will kill my VNC connection.

How do I make it so all VPN traffic goes through one nic so the other nic remains active for the VNC session? I hope I'm making sense.

You don't, by definition on non-slit tunnel vpn doesn't allow non-vpn traffic into the box. Thats the whole point...

Even with two nics? will the VPN client block out all traffic or just the traffic on the nic it originated from?


Basically if I VNC to this VM and VPN out, I don't want the VPN to kill the VNC session.

My other plan is to just VNC into my home machine then use the VM directly, but it's very choppy. The idea behind this is that I can test the work VPN connectivity from work by using my home VM. So I VPN into my house, connect to this VM via VNC, then VPN to work from that VM, which then cuts off my VNC connection. Hoping to avoid that, by adding another nic, or some other solution.
 

blackangst1

Lifer
Feb 23, 2005
22,902
2,359
126
Originally posted by: cpals
Not sure if I'm following you correctly, but you're trying to VPN from your VM setup that is already inside a VPN tunnel? So you're essentially trying to VPN inside a VPN?

Alright. I couldnt help it but I thought of this, and this (theres tons more...

Yo dawg...I heard you like to VPN...so we put a VPN inside your VPN so you can VPN when you VPN lol
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Even with two nics? will the VPN client block out all traffic or just the traffic on the nic it originated from?

Most VPN's in non-split tunneling mode will firewall the other nics, their job is to ensure that no traffic can pass to the secure network from any source other than the local box.
 

Red Squirrel

No Lifer
May 24, 2003
70,667
13,835
126
www.anyf.ca
Originally posted by: bsobel
Even with two nics? will the VPN client block out all traffic or just the traffic on the nic it originated from?

Most VPN's in non-split tunneling mode will firewall the other nics, their job is to ensure that no traffic can pass to the secure network from any source other than the local box.

Hmm k so guess what I want is probably not doable then. What I could do is just VNC into my home PC then control the VM itself but that is choppy and the cursor gets all weird.