Can connect to VPN but can't ping clients behind the VPN
Posted: Fri Nov 11, 2011 2:21 pm
Hi,
I'm struggeling a wile now whit this problem. I can't find the problem. Can somebody help?
I can connect from my home office to the VPN-server at work but I can't ping anny ip behind the VPN-server.
Lets say the IP of my vpn-server at work is 10.3.1.173...
On my home office I can ping 10.3.1.173 but not a server at work, lets say 10.3.1.1
I can connect to the VPN-server through the VPN connection with ssh by 'ssh -C -X -l loginname 10.3.1.173'
On my VPN-server I can ping every client at work.
Some data:
VPN server is an Ubuntu on a VMware server. The host is a Windows server 2008.
The Clients are Ubuntu, Windows XP, Windows 7; All have the same problem.
server.conf:
My client.conf:
ifconfig on the VPN-server:
ifconfig on my (ubuntu)client:
Thanks in advance...
I'm struggeling a wile now whit this problem. I can't find the problem. Can somebody help?
I can connect from my home office to the VPN-server at work but I can't ping anny ip behind the VPN-server.
Lets say the IP of my vpn-server at work is 10.3.1.173...
On my home office I can ping 10.3.1.173 but not a server at work, lets say 10.3.1.1
I can connect to the VPN-server through the VPN connection with ssh by 'ssh -C -X -l loginname 10.3.1.173'
On my VPN-server I can ping every client at work.
Some data:
VPN server is an Ubuntu on a VMware server. The host is a Windows server 2008.
The Clients are Ubuntu, Windows XP, Windows 7; All have the same problem.
server.conf:
Code: Select all
mode server
port 1194
proto udp
dev tap0
up "/etc/openvpn/up.sh br0 tap0 1500"
down "/etc/openvpn/down.sh br0 tap0"
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 10.3.1.173 255.255.255.0 10.3.1.239 10.3.1.254
push "dhcp-option DNS 10.3.1.1"
push "dhcp-option WINS 10.3.1.1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 6
Code: Select all
client
dev tap
proto udp
remote 84.199.45.138 1194
float
resolv-retry infinite
nobind
persist-key
persist-tun
ca /home/dadio/Bureaublad/dra/ca.crt
cert /home/dadio/Bureaublad/dra/dra_thuis.crt
key /home/dadio/Bureaublad/dra/dra_thuis.key
comp-lzo
verb 3
Code: Select all
br0 Link encap:Ethernet HWaddr 00:0c:29:1c:b9:0b
inet addr:10.3.1.173 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe1c:b90b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40975 errors:0 dropped:71 overruns:0 frame:0
TX packets:26640 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42210912 (42.2 MB) TX bytes:3244768 (3.2 MB)
eth0 Link encap:Ethernet HWaddr 00:0c:29:1c:b9:0b
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78424 errors:0 dropped:8 overruns:0 frame:0
TX packets:25273 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50339502 (50.3 MB) TX bytes:2945434 (2.9 MB)
Interrupt:18 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3400 errors:0 dropped:0 overruns:0 frame:0
TX packets:3400 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:850275 (850.2 KB) TX bytes:850275 (850.2 KB)
tap0 Link encap:Ethernet HWaddr d6:4b:3f:4d:bd:c0
inet6 addr: fe80::d44b:3fff:fe4d:bdc0/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:2480 errors:0 dropped:0 overruns:0 frame:0
TX packets:5064 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:287998 (287.9 KB) TX bytes:594724 (594.7 KB)
Code: Select all
eth0 Link encap:Ethernet HWaddr 00:19:db:f7:ec:54
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:28 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2693 errors:0 dropped:0 overruns:0 frame:0
TX packets:2693 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:398763 (398.7 KB) TX bytes:398763 (398.7 KB)
tap0 Link encap:Ethernet HWaddr ee:f8:ae:23:c9:0f
inet addr:10.3.1.240 Bcast:10.3.1.255 Mask:255.255.255.0
inet6 addr: fe80::ecf8:aeff:fe23:c90f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7811 errors:0 dropped:0 overruns:0 frame:0
TX packets:2838 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:826281 (826.2 KB) TX bytes:338320 (338.3 KB)
wlan0 Link encap:Ethernet HWaddr 00:1d:7e:05:eb:c0
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:7eff:fe05:ebc0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:72273 errors:0 dropped:0 overruns:0 frame:0
TX packets:72529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54813083 (54.8 MB) TX bytes:10950453 (10.9 MB)