[NTLUG:Discuss] pass all packets between two nics

Jack Snodgrass jack+ntlug at mylinuxguy.net
Wed Jun 4 15:38:00 CDT 2003


On Wed, 04 Jun 2003 12:58:11 -0500, severia wrote:

>    I'll try to lay this out.  The reason I am doing this is to allow 3 
> different users to be able to control 2 different Windows(ugh, but I can't 
> change this) machines at the office from their home machines.  I'll be 
> using something like VNC, but I need security since it will be passing over 
> the internet to get from their homes to the office.  The Cisco router is a 
> closed box to me that I can't directly configure.  It is owned by the 
> ISP.  I can call them and ask them to forward ports.  But, part of the 
> reason for addinfg my router is to have more direct control and be able to 
> adjust things myself
>    I am getting a few static IPs to set up the VPNs.  I see two ways I 
> could do this.

say that you are at home and want to use VNC to access office machine
WindowsA using vnc. 

At home, you have Verison DSL and have a 4.64.x.x. ip address. 

At work, you have August.net T1 and your linux VPN box has 206.206.x.x. 

Your privante network uses 172.16.14.x. 

So... you make a VPN connection from your home to work and get a 
172.16.14.x address assigned to your home machine. You have a 
secure, encrypted tunnel set up. 

Now you do vncviewer 172.16.14.x ( ip of windowsA at work ) and you 
login to that box. 

You can do vncviewer windowsB and login to windowsB. 

No port forarding or anthing is needed. You route all of your 172.16.14.x
traffic over your VPN tunnel. 

jack 



More information about the Discuss mailing list