I have setup an OpenVPN server on my linux box using a tutorial that I found online. It works, as in clients can connect and get assigned and IP address but I am unable to ping between the client and server or the server and client. I am a bit of a newbie when it comes to networking put I'm guessing it has something to do with the server not being able to route back to the client.
Here is my setup
Server on network 172.16.0.0 255.255.255.0
Server has network bridge
Server ifconfig output
br0 Link encap:Ethernet HWaddr 00:1e:c9:45:70:46
inet addr:172.16.0.100 Bcast:172.16.0.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:fe45:7046/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6218298 errors:0 dropped:0 overruns:0 frame:0
TX packets:4956933 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1140669776 (1.1 GB) TX bytes:3052449256 (3.0 GB)
eth0 Link encap:Ethernet HWaddr 00:1e:c9:45:70:46
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6392187 errors:0 dropped:0 overruns:0 frame:0
TX packets:6129429 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1306049555 (1.3 GB) TX bytes:3153659283 (3.1 GB)
Interrupt:16
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:255879 errors:0 dropped:0 overruns:0 frame:0
TX packets:255879 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19351999 (19.3 MB) TX bytes:19351999 (19.3 MB)
tap0 Link encap:Ethernet HWaddr 26:fc:1d:20:f3:0d
inet6 addr: fe80::24fc:1dff:fe20:f30d/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:129 errors:0 dropped:0 overruns:0 frame:0
TX packets:1663 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13628 (13.6 KB) TX bytes:286989 (286.9 KB)
Client on home network 192.168.0.0 255.255.255.0
Server Config
port 1194
proto udp
dev tap0
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 172.16.0.100 255.255.255.0 172.16.0.101 172.16.0.199
push "route 172.16.0.1 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 172.16.0.1"
keepalive 10 120
tls-auth ta.key 0
cipher BF-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 3
script-security 2
management localhost 7505
up "/etc/openvpn/up.sh br0"
down "/etc/openvpn/down.sh br0"
Client Conf
client
dev tap
proto udp
remote ####### 1194
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
ca ca.crt
cert ###.crt
key ###.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo