Changes between Version 4 and Version 5 of NatHack
- Timestamp:
- 01/28/11 06:45:57 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NatHack
v4 v5 90 90 91 91 == To set up a route on the clients == 92 === Windows client === 93 route add 172.31.25.0 mask 255.255.255.0 10.8.0.1 (this will tell the client that there's a 172.31.25.x network behind the openvpn server at 10.8.0.1) 92 In the client config add the following: 94 93 95 route add 32.8.8.0 mask 255.255.255.0 10.8.0.1 (this will tell the client that there's another network too, 32.8.8.something, behind the openvpn server at 10.8.0.1) 94 {{{ 95 route 172.31.25.0 255.255.255.0 96 route 32.8.8.0 255.255.255.0 97 }}} 98 99 of in the server config add the following: 100 101 {{{ 102 push "route 172.31.25.0 255.255.255.0" 103 push "route 32.8.8.0 255.255.255.0" 104 }}} 96 105 97 106 You can keep adding more routes till you reach everything you need. 98 99 === Linux client ===100 route add -net 172.31.25.0/24 dev tun0 (or whatever the vpn tunnel is called)101 102 103