Hi there,
For the past few days I've been trying to configure vpn bridge on Azure VM. Everything went smooth at first, but suddenly I stumbled upon this problem:
My VPN connection works perfectly, except I can't ping any machine in a server's subnet :/
I can ping my vpn server from windows client, client from server, ping server from other remote machine, but can't ping neither local machine from remote machine in a server subnet, nor vice versa.
Vpn server: 10.4.0.10
Other remote machine: 10.4.0.8
Local machine: 10.4.0.60
So the ping between 10.4.0.60 and 10.4.0.8 doesn't work :/ Looks like some bridging problem. I've checked both sides with wireshark and it looks like nothing goes through the bridge.
Is anyone able to help? Any suggestions?
Server ifconfig (Ubuntu):
br0 Link encap:Ethernet HWaddr 00:0d:3a:b0:24:cf
inet addr:10.4.0.10 Bcast:10.4.0.255 Mask:255.255.254.0
inet6 addr: fe80::20d:3aff:feb0:24cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1726 errors:0 dropped:0 overruns:0 frame:0
TX packets:1710 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:534822 (534.8 KB) TX bytes:272562 (272.5 KB)
eth0 Link encap:Ethernet HWaddr 00:0d:3a:b0:24:cf
inet6 addr: fe80::20d:3aff:feb0:24cf/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:6392 errors:0 dropped:0 overruns:0 frame:0
TX packets:7624 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2047623 (2.0 MB) TX bytes:1221731 (1.2 MB)
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:65536 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:336 (336.0 B) TX bytes:336 (336.0 B)
tap0 Link encap:Ethernet HWaddr 7a:4a:10:f6:2a:db
inet6 addr: fe80::784a:10ff:fef6:2adb/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:280 errors:0 dropped:3 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:40339 (40.3 KB) TX bytes:648 (648.0 B)
And my server.conf file:
port 1194
proto tcp
dev tap0
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
ifconfig-pool-persist ipp.txt
server-bridge 10.4.0.10 255.255.255.0 10.4.0.60 10.4.0.248
duplicate-cn
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 3
My server ip tables:
root@*****:/etc/openvpn# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:bootpc
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@*****:/etc/openvpn# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000d3ab024cf no eth0
tap0