routing cant reach remote LAN

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
petan
OpenVpn Newbie
Posts: 3
Joined: Wed Oct 27, 2010 3:47 am

routing cant reach remote LAN

Post by petan » Wed Oct 27, 2010 3:53 am

hi all, I have ovpn server on 192.168.1 network, gateway is 192.168.1.1 when I connect I can only connect to server, not to other machies I have routing in config file and also on router set to route to lan from clients and from lan to route to vpn but it doesnt work anyone knows how to fix that?

petan
OpenVpn Newbie
Posts: 3
Joined: Wed Oct 27, 2010 3:47 am

Re: routing cant reach remote LAN

Post by petan » Wed Oct 27, 2010 4:15 am

vpn server address is 192.168.1.2

client conf
dev tap
remote addr

client
tls-client
ca ca.crt
cert ca.crt
key ca.key
route 192.168.1.0 255.255.255.0

petan
OpenVpn Newbie
Posts: 3
Joined: Wed Oct 27, 2010 3:47 am

Re: routing cant reach remote LAN

Post by petan » Wed Oct 27, 2010 5:56 am

solved problem was in sysctl

Post Reply