Project

General

Profile

An example of working port-forwarding configuration » History » Revision 5

Revision 4 (Anchi Cheng, 09/09/2013 05:57 PM) → Revision 5/15 (Anchi Cheng, 09/09/2013 06:31 PM)

h1. An example of working port-forwarding configuration 

 h2. (Paraphrased from description by Brian J. Gibbens) 

 For those interested, this is how I set up Leginon on the TF20 in the 
 Kornberg lab at Stanford with the following configuration: 

 Local network (192.168.xxx.xxx in this example) can not be accessed directly through 
 building network that has internet access before port forwarding. 

 # TECNAI_COMPUTER (Windows XP) not connected to network, but connected 
 directly to Tecnai F20 and to 
 TF20SUPPORT_COMPUTER (Windows XP) through two separate network cards. Static local 
 IP addresses (168.128.xxx.xxx in this example) should be set on these. Local IP 
 # TF20SUPPORT_COMPUTER connected to network, and set up as a gateway 
 for the TECNAI_COMPUTER through a directly connected separate router. 
 Gateway setting (IP address of the TF20SUPPORT_COMPUTER 168.128.200.100 in the example figure) TF20SUPPORT_COMPUTER) was added to 
 the TCP/IP settings on the network on the TECNAI_COMPUTER that connects 
 to the TF20SUPPORT_COMPUTER. 
 !gateway.png! 
 # TF20SUPPORT_COMPUTER has two network cards and two IP addresses.    One is connected to building network, the other is connected to the TECNAI_COMPUTER as mentioned above. 
 # WEBSERVER_DATABASE_COMPUTER (Suse 11.1 Linux) with MySQL, PHP, and 
 Samba share for drive mapping on PC's. Connects to TF20SUPPORT_COMPUTER 
 through building network. 

 --Norton firewall settings on TF20SUPPORT_COMPUTER configured to allow 
 communication to both '1' and '3'. 

 --Appropriate IP addresses and hostnames added to the hosts files 
 (C:/WINDOWS/System32/drivers/etc/hosts.txt on Windows PC's and 
 /etc/hosts on Linux). '2' and '3' listed in hosts file on '1'; '1' and 
 '3' listed in hosts file on '2'; and '2' only listed in hosts file on 
 '3' since all communication from '1' to '3' through '2' will appear to 
 come from '2'. 

 --Program for port forwarding (AUTAPF) installed on TF20SUPPORT_COMPUTER 
 and set up to forward all appropriate ports to IP address of the router 
 on TECNAI_COMPUTER that connects to TF20SUPPORT_COMPUTER. 


 ______ 

 [[Network Configuration| Go up]] 

 ______