I need to make my OpenVPN become multi-client server and accepts users behind a router in private lans. Currently I don't have any problems establishing connection to the server by using direct connection with a public IP. However, there are problems when trying to establish connection if the client is in private lan. Ex: his Public IP (or the ip of the router) is [url removed, login to view] but his Lan IP is 192.168.2.2. So I get the error "Thu Feb 14 11:26:33 2008 CLIENT1/[url removed, login to view] MULTI: bad source address from client [192.168.2.2], packet dropped".
When I add iroute to the ccd folder in a client's profile, I manage to stop the error, however the client still doesn't have Internet access.
Again, I want to outline that I, with my public IP have Internet access without any problems but clients in private lans doesn't.
What I exactly need is to make all clients connect to the server and use the server's Internet traffic no matter their network type. In addition, if client-specific routes are needed to be made, I would prefer some automatic shell script to add the routes, rather than manually adding them in the ccd folder.
The server is CentOS running OpenVPN 2.0.9 dedicated. I will give you full root access to make the needed settings.<br /> Client is windows xp.
Please submit a bid only if you have great experience with OpenVPN, linux networking, shell scripting.