Project

General

Profile

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

Revision 7 (Jim Pulokas, 10/11/2013 06:01 PM) → Revision 8/15 (Jim Pulokas, 10/11/2013 06:04 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 address of the TF20SUPPORT_COMPUTER 168.128.200.100 in the example figure) 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. 

 Below Here is a screen shot of how we configured AUTAPF for a test at scripps.    The hosts are represented as follows: 
 localdefcon3:    the microscope PC running leginon client/launcher 
 defcon3:    the support PC with AUTAPF installed 
 amilab7:    the remote linux running main leginon scripps: 

 !autapf-pfos.PNG! 


 ______ 

 [[Network Configuration| Go up]] 

 ______