Page 1 of 1

routing cant reach remote LAN

Posted: Wed Oct 27, 2010 3:53 am
by petan
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?

Re: routing cant reach remote LAN

Posted: Wed Oct 27, 2010 4:15 am
by petan
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

Re: routing cant reach remote LAN

Posted: Wed Oct 27, 2010 5:56 am
by petan
solved problem was in sysctl