An example of working port-forwarding configuration » History » Version 3
Anchi Cheng, 09/09/2013 05:56 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 | # TECNAI_COMPUTER (Windows XP) not connected to network, but connected |
||
| 9 | directly to Tecnai F20 and to |
||
| 10 | 3 | Anchi Cheng | TF20SUPPORT_COMPUTER (Windows XP) through two separate network cards. Static |
| 11 | IP addresses should be set on these. |
||
| 12 | 1 | Anchi Cheng | # 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 | 3 | Anchi Cheng | the TCP/IP settings on the network on the TECNAI_COMPUTER that connects |
| 16 | 1 | Anchi Cheng | to the TF20SUPPORT_COMPUTER. |
| 17 | 3 | Anchi Cheng | !gateway.png |
| 18 | 1 | Anchi Cheng | # WEBSERVER_DATABASE_COMPUTER (Suse 11.1 Linux) with MySQL, PHP, and |
| 19 | Samba share for drive mapping on PC's. Connects to TF20SUPPORT_COMPUTER |
||
| 20 | through network. |
||
| 21 | |||
| 22 | --Norton firewall settings on TF20SUPPORT_COMPUTER configured to allow |
||
| 23 | communication to both '1' and '3'. |
||
| 24 | |||
| 25 | --Appropriate IP addresses and hostnames added to the hosts files |
||
| 26 | (C:/WINDOWS/System32/drivers/etc/hosts.txt on Windows PC's and |
||
| 27 | /etc/hosts on Linux). '2' and '3' listed in hosts file on '1'; '1' and |
||
| 28 | '3' listed in hosts file on '2'; and '2' only listed in hosts file on |
||
| 29 | '3' since all communication from '1' to '3' through '2' will appear to |
||
| 30 | come from '2'. |
||
| 31 | |||
| 32 | --Program for port forwarding (AUTAPF) installed on TF20SUPPORT_COMPUTER |
||
| 33 | and set up to forward all appropriate ports to IP address of the router |
||
| 34 | on TECNAI_COMPUTER that connects to TF20SUPPORT_COMPUTER. |
||
| 35 | 2 | Anchi Cheng | |
| 36 | |||
| 37 | ______ |
||
| 38 | |||
| 39 | [[Network Configuration| Go up]] |
||
| 40 | |||
| 41 | ______ |