My server LAN IP is 192.168.1.1 and there is an intranet web server on 192.168.1.2 The OpenVPN daemon is configured to give clients 192.168.2.* addresses.
push "route 192.168.1.0 255.255.255.0" line in the config which I expect to enable the VPN clients to access the entire 192.168.1.0 net, but they can only access 192.168.1.1 - the VPN server itself.
I've tried enabling
net.ipv4.ip_forward = 1 in
/etc/sysctl.conf but this doesn't help.
PS: The server runs Ubuntu 12.04.
PPS: OpenVPN runs in
tun mode over UDP.