Changes between Version 4 and Version 5 of NatHack


Ignore:
Timestamp:
01/28/11 06:45:57 (13 years ago)
Author:
krzee king
Comment:

more small changes

Legend:

Unmodified
Added
Removed
Modified
  • NatHack

    v4 v5  
    9090
    9191== 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)
     92In the client config add the following:
    9493
    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{{{
     95route 172.31.25.0 255.255.255.0
     96route 32.8.8.0 255.255.255.0
     97}}}
     98
     99of in the server config add the following:
     100
     101{{{
     102push "route 172.31.25.0 255.255.255.0"
     103push "route 32.8.8.0 255.255.255.0"
     104}}}
    96105
    97106You 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