won't see lan behind server
Posted: Thu Aug 06, 2009 6:31 pm
I'm trying to run
client 192.168.1.0/24-->modem(NAT)-->internet-->firewall(NAT)10.1.2.0/24-->10.1.2.15=openvpn_server-->10.1.2.0/24overvpn
I can connect fine from client to server over tun0 but can't ping any of the other IP's on that subnet
client
/etc/openvpn/tun0.conf
vi /etc/sysctl.conf
net.ipv4.ip_forward=1
server
/etc/openvpn/tun0.conf
vi /etc/sysctl.conf
net.ipv4.ip_forward=1
cat /proc/sys/net/ipv4/ip_forward
1
I've read http://www.secure-computing.net/wiki/in ... PN/Routing probably 5 times, what stupid thing am I missing?
client 192.168.1.0/24-->modem(NAT)-->internet-->firewall(NAT)10.1.2.0/24-->10.1.2.15=openvpn_server-->10.1.2.0/24overvpn
I can connect fine from client to server over tun0 but can't ping any of the other IP's on that subnet
client
/etc/openvpn/tun0.conf
Code: Select all
remote pu.bl.ic.ip
dev tun0
ifconfig 10.1.2.99 10.1.2.15
secret static.key
net.ipv4.ip_forward=1
server
/etc/openvpn/tun0.conf
Code: Select all
dev tun0
ifconfig 10.1.2.15 10.1.2.99
push "route 10.1.2.0 255.255.255.0"
secret static.key
vi /etc/sysctl.conf
net.ipv4.ip_forward=1
cat /proc/sys/net/ipv4/ip_forward
1
I've read http://www.secure-computing.net/wiki/in ... PN/Routing probably 5 times, what stupid thing am I missing?