An example of working port-forwarding configuration » History » Version 6
Jim Pulokas, 10/11/2013 05:58 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 | 5 | Anchi Cheng | 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. |
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 | # 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 | 1 | Anchi Cheng | |
17 | --Norton firewall settings on TF20SUPPORT_COMPUTER configured to allow |
||
18 | communication to both '1' and '3'. |
||
19 | |||
20 | --Appropriate IP addresses and hostnames added to the hosts files |
||
21 | (C:/WINDOWS/System32/drivers/etc/hosts.txt on Windows PC's and |
||
22 | /etc/hosts on Linux). '2' and '3' listed in hosts file on '1'; '1' and |
||
23 | '3' listed in hosts file on '2'; and '2' only listed in hosts file on |
||
24 | '3' since all communication from '1' to '3' through '2' will appear to |
||
25 | come from '2'. |
||
26 | |||
27 | --Program for port forwarding (AUTAPF) installed on TF20SUPPORT_COMPUTER |
||
28 | and set up to forward all appropriate ports to IP address of the router |
||
29 | on TECNAI_COMPUTER that connects to TF20SUPPORT_COMPUTER. |
||
30 | 2 | Anchi Cheng | |
31 | 6 | Jim Pulokas | !autapf-pfos.PNG! |
32 | |||
33 | 2 | Anchi Cheng | |
34 | ______ |
||
35 | |||
36 | [[Network Configuration| Go up]] |
||
37 | |||
38 | ______ |