I've created a bridged VPN. Unfortunately, the client cannot ping the server's IP, and the server cannot ping the client's IP.
I've followed the HOWTO's pretty closely, but I can't seem to figure out this issue.
I'll drop config, and what I've done here.
Set up a bridge using "bridge-start" script on both the server and the client:
server:
Code: Select all
br="br0"
tap="tap0"
eth="eth0"
eth_ip="192.168.1.10"
eth_netmask="255.255.255.0"
eth_broadcast="192.168.1.255"
openvpn --mktun --dev $t
done
brctl addbr $br
brctl addif $br $eth
brctl addif $br $t
done
ifconfig $t 0.0.0.0 promisc up
done
ifconfig $eth 0.0.0.0 promisc up
ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast
Code: Select all
br="br0"
tap="tap0"
eth="ens3"
eth_ip="192.168.80.24"
eth_netmask="255.255.255.0"
eth_broadcast="192.168.80.255"
openvpn --mktun --dev $t
done
brctl addbr $br
brctl addif $br $eth
brctl addif $br $t
done
ifconfig $t 0.0.0.0 promisc up
done
ifconfig $eth 0.0.0.0 promisc up
ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast
Code: Select all
brctl show
server:
Code: Select all
bridge name bridge id STP enabled interfaces
br0 8000.001422fd622c no eth0
tap0
Code: Select all
bridge name bridge id STP enabled interfaces
br0 8000.5254004b4c3b no ens3
tap0
Code: Select all
iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT
From the server, I cannot ping the client's IP of 192.168.1.100, nor on the client can I ping the server's IP of 192.168.1.10.
I attempted to use tcpdump on the tap0 interface on each end, but there is no packet being received from the other site.
I appreciate any help.