I'm trying to rebuild an openvpn server originally set up by a predecessor- currently, it's set up using bridging which may or may not ultimately be necessary. For now, I'm concerned with getting the current configuration working.
here's the relevant parts of the server config (I stripped out comments and portions on keys and such):
management localhost 7506
port 1194
proto udp
dev tap0
# openvpn clients get assigned ip's in the range 172.25.150.230 - 240
server-bridge 172.25.150.151 255.255.255.0 172.25.150.230 172.25.150.240
push "dhcp-option DNS 172.25.150.123"
push "dhcp-option DOMAIN blah.com"
push "route 172.25.150.0 255.255.255.0"
push "route 172.25.151.0 255.255.255.0"
client-to-client
client config is:
client
dev tap0
proto udp
remote openvpn1.qcpathfinder.com 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
script-security 3 system
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
The server starts up without any problems and I can connect sucessfully from the client.
Once connected, I'm assigned an IP address of e.g., 172.25.150.230 as expected.
I can successfully ping/connect to other machines on the 172.25.150.0/24 network.
I can NOT however sucessfully connect to machines on the 172.25.151.0/24 network, despite being able to do so from the server and despite the route-push command apparently being successful.
this *used* to work with the previous server and I'm not certain what's wrong in my current configuration.
Any thoughts on what silly detail I'm missing?
btw, 'route -n' on the client when connected is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.25.150.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
172.25.151.0 172.25.150.151 255.255.255.0 UG 0 0 0 tap0
10.100.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.100.0.1 0.0.0.0 UG 0 0 0 eth0
MUCH thanks in advance!!