|
|
Hello everybody, I'm a first time user of OPenVPN. I'm not a computer guru too. I decided to set up OpenVPN to have connection between my work location and my home ( serving as server side) And I have a problem with setting the route on the client side. I ask for help, because despite I digged through man, HOWTOs, config files and mail archives and I think I cannot find (or recognize) the answer for my problem. Mys setup. I have a linux machine acting as server-side with ethernet bridge setup ( according HOWTO ) This side has public,static IP. It;s behind the nat. It has "real" 192.168.0.1/255.255.255.0 private address. I have client (linux also) behind nat, but the public address is dynamic. Internal "real" IP of this end is 10.0.0.254/255.0.0.0 I set up server side according HOWTO and config files examples to tap device, to give this particular client a fixed address 192.168.0.4 with mask 255.255.255.0. I can connect successfuly both VPN ends, but client doesnt have a appropriate route added for the 192.168.0.0 net. I has default gateway of 10. net set as gw for net 192.168.0.0. I tried route directive, push "route ...." directive, route-gateway directive, up <cmd> directive and nothing works. I end with errors ( like the "up" used in wrong contexxt ) or with the bad route as mentioned above. In logs I see that route-gateway is logged, but route is set up wrongly. Could someone will help me to understand where to find an answer? How to set the right route on client? Best Regards Marcin ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users |