I have OpenVPN running on Ubuntu 12.04 in a bridged setup, and I can connect from my client and access the machines on the local LAN (the LAN on which the VPN server resides), but I can't access anything on the internet. Web pages cannot load, and I'm unable to ping anything outside (I tried 8.8.8.8 and got no response).
My server.conf is:
Code: Select all
local 192.168.2.7
port 1195
proto udp
dev tap0
up "/etc/openvpn/up.sh br0 eth0"
ca /home/david/easy-rsa/2.0/keys/ca.crt
cert /home/david/easy-rsa/2.0/keys/server.crt
key /home/david/easy-rsa/2.0/keys/server.key # This file should be kept secret
dh /home/david/easy-rsa/2.0/keys/dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.2.7 255.255.255.0 192.168.2.110 192.168.2.120
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
duplicate-cn
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
Chain INPUT (policy ACCEPT 4032 packets, 309K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- tap0 any anywhere anywhere
15440 2762K ACCEPT all -- br0 any anywhere anywhere
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
6573 2783K ACCEPT all -- br0 any anywhere anywhere
Chain OUTPUT (policy ACCEPT 15865 packets, 5557K bytes)
pkts bytes target prot opt in out source destination
Dave