www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Pushing Additional Lans to clients with OpenVPN

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Signal a BUG
View previous topic :: View next topic  
Author Message
mattschedler



Joined: 20 Oct 2010
Posts: 9

PostPosted: Wed Dec 01, 2010 10:28 pm    Post subject: Pushing Additional Lans to clients with OpenVPN Reply with quote

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).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Signal a BUG All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group