An example of working port-forwarding configuration » History » Version 9
Anchi Cheng, 10/25/2013 08:54 PM
1 | 1 | Anchi Cheng | h1. An example of working port-forwarding configuration |
---|---|---|---|
2 | |||
3 | 3 | Anchi Cheng | h2. (Paraphrased from description by Brian J. Gibbens) |
4 | 1 | Anchi Cheng | |
5 | For those interested, this is how I set up Leginon on the TF20 in the |
||
6 | Kornberg lab at Stanford with the following configuration: |
||
7 | |||
8 | 5 | Anchi Cheng | Local network (192.168.xxx.xxx in this example) can not be accessed directly through |
9 | building network that has internet access before port forwarding. |
||
10 | |||
11 | 1 | Anchi Cheng | # TECNAI_COMPUTER (Windows XP) not connected to network, but connected |
12 | 9 | Anchi Cheng | directly to Tecnai F20 and to TF20SUPPORT_COMPUTER (Windows XP) through two separate network cards. Static local IP addresses (192.128.xxx.xxx in this example) should be set on these. Local IP address of the TF20SUPPORT_COMPUTER 192.168.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. |
13 | 1 | Anchi Cheng | !gateway.png! |
14 | 5 | Anchi Cheng | # 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. |
15 | 1 | Anchi Cheng | # 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. |
16 | 9 | Anchi Cheng | |
17 | !http://emg.nysbc.org/attachments/2484/PortForward.png! |
||
18 | 1 | Anchi Cheng | |
19 | --Norton firewall settings on TF20SUPPORT_COMPUTER configured to allow |
||
20 | communication to both '1' and '3'. |
||
21 | |||
22 | --Appropriate IP addresses and hostnames added to the hosts files |
||
23 | (C:/WINDOWS/System32/drivers/etc/hosts.txt on Windows PC's and |
||
24 | /etc/hosts on Linux). '2' and '3' listed in hosts file on '1'; '1' and |
||
25 | '3' listed in hosts file on '2'; and '2' only listed in hosts file on |
||
26 | '3' since all communication from '1' to '3' through '2' will appear to |
||
27 | come from '2'. |
||
28 | |||
29 | --Program for port forwarding (AUTAPF) installed on TF20SUPPORT_COMPUTER |
||
30 | and set up to forward all appropriate ports to IP address of the router |
||
31 | on TECNAI_COMPUTER that connects to TF20SUPPORT_COMPUTER. |
||
32 | 2 | Anchi Cheng | |
33 | 8 | Jim Pulokas | Below is a screen shot of how we configured AUTAPF for a test at scripps. The hosts are represented as follows: |
34 | localdefcon3: the microscope PC running leginon client/launcher |
||
35 | defcon3: the support PC with AUTAPF installed |
||
36 | amilab7: the remote linux running main leginon |
||
37 | 7 | Jim Pulokas | |
38 | 6 | Jim Pulokas | !autapf-pfos.PNG! |
39 | |||
40 | 2 | Anchi Cheng | |
41 | ______ |
||
42 | |||
43 | [[Network Configuration| Go up]] |
||
44 | |||
45 | ______ |