Have been googling for hours over the past couple of weeks but can't seem to get this running. Already setup tun vpns in the past but what I'm really after is a VPN in which applications have no possible way to tell it is a VPN (apart from making assumptions about high latency).
I'm using
this official guide to setup a bridged vpn but there seem to be a couple of things missing.
1. After starting the bridge-start script, the default gateway will be set to 0.0.0.0 so Internet stops working on the server. to fix this, simply type in "sudo ip route add default via <gateway ip>". This should be added to the official guide so that millions of people don't fall into the same trap.
2. As soon as I connect a client I can't ping anything except for myself (client), and weirdly 8.8.8.8(google dns) even though I can't ping my gateway.
This is my main issue and would greatly appreciate any help with it
wireshark shows a whole lot of ARP packets saying who-is "<ip>" tell "<ip>".
*The client and server are running ubuntu
server.conf:
port 1194 (default)
proto udp
dev tap0
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key # This file should be kept secret
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
server-bridge 192.168.1.2 255.255.255.0 192.168.1.150 192.168.1.254
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
client.conf:
client
dev tap0
proto udp
remote 192.168.1.2 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3