Changes between Version 12 and Version 13 of Internal/Soekris
- Timestamp:
- Sep 20, 2006, 10:18:41 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/Soekris
v12 v13 117 117 118 118 1. Create a vpn account on the landing. 119 119 120 2. Allow the vpn account on the landing to run pppd as root, by configuring /etc/sudoers with lines like these 120 121 {{{ … … 122 123 vpn: ALL=NOPASSWD: VPN 123 124 }}} 125 124 126 3. Allow the vpn client to log in to the vpn account on the landing using an ssh key with no password. You're proably looking for this command: 125 127 {{{ 126 128 ssh-keygen -b 2048 -t rsa 127 129 }}} 130 128 131 4. Run a script like the following on the landing. 129 132 {{{ … … 143 146 exit 0 144 147 }}} 148 145 149 5. Change iptables and the routing table in the Soekris net4801 so that the traffic coming in over ppp0 goes to the right interface on the ORBIT node, and so that all traffic from the ORBIT node's interfaces goes to ppp0. 150 146 151 6. Change iptables, the routing table, and multi-homed interfaces in the landing so that packets for the remote ORBIT nodes get there. 147 152