Cannot see remote sub-net
Posted: Tue Oct 04, 2011 10:30 am
I freely confess to being a newbie here.
My configuration is a Linux client connecting to a Windows XP SP2 supported server. Also,
there is a private local sub-net behind the server on a second Ethernet interface that I need
access to. Both client machine and server machine are on the same internal building LAN sub-net
10.4.0.0/16 and the private local sub-net behind the server machine is 192.168.0.0/24.
This may sound odd but this is an experimental proof of concept for remote management of
machinery we design.
My problem is that everything launches and connects fine and I can ping the private local
sub-net Ethernet card on the server machine (192.168.0.3) from the client machine session.
However, I cannot reach any of the other hosts on the private local sub-net (192.168.0.x).
It seems that the push statement for the private sub-net in the server config is doing something
otherwise I would not be able to see the access Ethernet card but thats where it all ends.
Hopefully, this is a newbie silly mistake and someone will be able to see it easily; my configuration file
contents are given below:-
Client config
client
dev tun
proto udp
remote 10.4.19.120 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert john.crt
key john.key
ns-cert-type server
comp-lzo
verb 3
Server Config
proto udp
dev tun
dev-node "Local Area Connection 2"
ca "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\kas_test.crt"
key "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\kas_test.key" # This file should be kept secret
dh "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.0.0 255.255.255.0"
keepalive 10 120
cipher BF-CBC # Blowfish (default)
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 4
My configuration is a Linux client connecting to a Windows XP SP2 supported server. Also,
there is a private local sub-net behind the server on a second Ethernet interface that I need
access to. Both client machine and server machine are on the same internal building LAN sub-net
10.4.0.0/16 and the private local sub-net behind the server machine is 192.168.0.0/24.
This may sound odd but this is an experimental proof of concept for remote management of
machinery we design.
My problem is that everything launches and connects fine and I can ping the private local
sub-net Ethernet card on the server machine (192.168.0.3) from the client machine session.
However, I cannot reach any of the other hosts on the private local sub-net (192.168.0.x).
It seems that the push statement for the private sub-net in the server config is doing something
otherwise I would not be able to see the access Ethernet card but thats where it all ends.
Hopefully, this is a newbie silly mistake and someone will be able to see it easily; my configuration file
contents are given below:-
Client config
client
dev tun
proto udp
remote 10.4.19.120 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert john.crt
key john.key
ns-cert-type server
comp-lzo
verb 3
Server Config
proto udp
dev tun
dev-node "Local Area Connection 2"
ca "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\kas_test.crt"
key "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\kas_test.key" # This file should be kept secret
dh "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.0.0 255.255.255.0"
keepalive 10 120
cipher BF-CBC # Blowfish (default)
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 4