mattschedler
Joined: 20 Oct 2010 Posts: 9
|
Posted: Wed Dec 01, 2010 10:28 pm Post subject: Pushing Additional Lans to clients with OpenVPN |
|
|
My apologies if I do this wrong... I am hoping this is a resolvable issue in upcoming versions...
When pushing additional LANS to clients (newer OpenVPN versions seem to be the issue), The client is flooded with additional routes to add (the one needed is missing of course). I think I found a working solution but I have no idea how to make it permanent.
I originally posted it here:
http://www.zeroshell.net/eng/forum/viewtopic.php?t=2553&highlight=problem+vpn
On line 61 of "/root/kerbynet.cgi/scripts/vpn_start":
| Code: | | " PUSHNETS0="route remote_host 255.255.255.255 net_gateway 1" |
Replace "remote_host" with "OPENVPN_REMOTE_PEER" and everything seems to work (with older clients too, I believe). |
|