An example of working port-forwarding configuration » History » Version 1
Anchi Cheng, 05/11/2010 01:14 PM
| 1 | 1 | Anchi Cheng | h1. An example of working port-forwarding configuration |
|---|---|---|---|
| 2 | |||
| 3 | h2. (by Brian J. Gibbens) |
||
| 4 | |||
| 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 | # TECNAI_COMPUTER (Windows XP) not connected to network, but connected |
||
| 9 | directly to Tecnai F20 and to |
||
| 10 | TF20SUPPORT_COMPUTER (Windows XP) through two separate routers. Static |
||
| 11 | IP addresses on all routers. |
||
| 12 | # TF20SUPPORT_COMPUTER connected to network, and set up as a gateway |
||
| 13 | for the TECNAI_COMPUTER through a directly connected separate router. |
||
| 14 | Gateway setting (IP address of the TF20SUPPORT_COMPUTER) was added to |
||
| 15 | the TCP/IP settings on the router on the TECNAI_COMPUTER that connects |
||
| 16 | to the TF20SUPPORT_COMPUTER. |
||
| 17 | # WEBSERVER_DATABASE_COMPUTER (Suse 11.1 Linux) with MySQL, PHP, and |
||
| 18 | Samba share for drive mapping on PC's. Connects to TF20SUPPORT_COMPUTER |
||
| 19 | through network. |
||
| 20 | |||
| 21 | --Norton firewall settings on TF20SUPPORT_COMPUTER configured to allow |
||
| 22 | communication to both '1' and '3'. |
||
| 23 | |||
| 24 | --Appropriate IP addresses and hostnames added to the hosts files |
||
| 25 | (C:/WINDOWS/System32/drivers/etc/hosts.txt on Windows PC's and |
||
| 26 | /etc/hosts on Linux). '2' and '3' listed in hosts file on '1'; '1' and |
||
| 27 | '3' listed in hosts file on '2'; and '2' only listed in hosts file on |
||
| 28 | '3' since all communication from '1' to '3' through '2' will appear to |
||
| 29 | come from '2'. |
||
| 30 | |||
| 31 | --Program for port forwarding (AUTAPF) installed on TF20SUPPORT_COMPUTER |
||
| 32 | and set up to forward all appropriate ports to IP address of the router |
||
| 33 | on TECNAI_COMPUTER that connects to TF20SUPPORT_COMPUTER. |