Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a VPS setup with a hosting company that I have configured as an OpenVPN server. I am able to connect to the OpenVPN server using Tunnelblick on my Mac without issue, and browse the internet with my local traffic routed through the VPN. I want to do this on the router level.

I have purchased a Buffalo AirStation running DD-WRT, and I would like the DD-WRT to route all of my home internet traffic through my OpenVPN server. I am able to get the DD-WRT to connect to the OpenVPN server, and the DD-WRT is assigned an IP as a result (10.8.0.*) however, I can't seem to access any websites when I am on a PC connected to the DD-WRT. I have set up the DD-WRT to connect to the OpenVPN using this script (private data "OMITTED"):

#/bin/sh
killall openvpn
for i in `nvram show|grep openvpn|cut -d '=' -f1`; do nvram unset $i; done
nvram set rc_startup='mkdir /tmp/ovpn
cd /tmp/ovpn
nvram get ovpn_up>up
nvram get ovpn_dn>dn
chmod +x up dn
nvram get ovpn_cfg>ovpn.conf
mkdir -p /tmp/etc/config
echo -e "#!/bin/sh\nkillall openvpn\nping -c4 localhost\nopenvpn --daemon --config /tmp/ovpn/ovpn.conf">/tmp/etc/config/ovpn.wanup
chmod +x /tmp/etc/config/ovpn.wanup
openvpn --daemon --config ovpn.conf'
nvram set ovpn_cfg='remote OMITTED 1194
proto udp
client client1
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
verb 4
mute 5
tun-mtu 1500
comp-lzo no
fragment  1390
mssfix 1390
script-security 2
up "/tmp/ovpn/up"
down "/tmp/ovpn/dn"
<ca>
-----BEGIN CERTIFICATE-----
OMITTED
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
OMITTED
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
OMITTED
-----END RSA PRIVATE KEY-----
</key>
'
nvram set ovpn_up='#!/bin/sh
nvram get wan_ipaddr >> /tmp/ovpn/old_wan_ipaddr
nvram get wan_ifname >> /tmp/ovpn/old_wan_ifname
nvram get wan_default >> /tmp/ovpn/old_wan_default
nvram set wan_ipaddr=$ifconfig_local
nvram set wan_ifname=$dev
nvram set wan_default=$dev
killall upnp
upnp -D -W $dev
iptables -t nat -A POSTROUTING -o $dev -j MASQUERADE
for R in /tmp/resolv.conf /tmp/resolv.dnsmasq; do
mv $R $R~
for O in "$foreign_option_1" "$foreign_option_2"; do
P="$O"
p1=$(echo "$P" | cut -d " " -f1)
if [ "$p1" == "dhcp-option" ]; then
p2=$(echo "$P" | cut -d " " -f2)
p3=$(echo "$P" | cut -d " " -f3)
if [ "$p2" == "DNS" ] ; then
echo "nameserver $p3">>$R
fi
fi
done
done
'
nvram set ovpn_dn='#!/bin/sh
killall upnp
iptables -t nat -D POSTROUTING -o $dev -j MASQUERADE
for R in /tmp/resolv.conf /tmp/resolv.dnsmasq; do
mv $R~ $R
done
killall -HUP dnsmasq
nvram set wan_ipaddr=`cat /tmp/ovpn/old_wan_ipaddr`
nvram set wan_ifname=`cat /tmp/ovpn/old_wan_ifname`
nvram set wan_default=`cat /tmp/ovpn/old_wan_default`'
nvram set upnp_enable=0
nvram commit

Here is my OpenVPN server config (on the VPS):

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 10.8.0.1"
push "redirect-gateway def1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 4

Some more diagnostic information from the DD-WRT to help answer the question (private parts "OMITTED"):

Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1478]: OpenVPN 2.1.3 mips-unknown-linux-gnu [SSL] [LZO2] [EPOLL] built on Mar 21 2011
Dec  2 20:30:39 DD-WRT daemon.warn openvpn[1478]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1478]: LZO compression initialized
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1478]: Control Channel MTU parms [ L:1546 D:138 EF:38 EB:0 ET:0 EL:0 ]
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1478]: Socket Buffers: R=[112640->131072] S=[112640->131072]
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1478]: Data Channel MTU parms [ L:1546 D:1390 EF:46 EB:135 ET:0 EL:0 AF:3/1 ]
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1478]: Fragmentation MTU parms [ L:1546 D:1390 EF:45 EB:135 ET:1 EL:0 AF:3/1 ]
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1479]: UDPv4 link local: [undef]
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1479]: UDPv4 link remote: OMITTED:1194
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1479]: TLS: Initial packet from OMITTED:1194, sid=a8c414db 5667309d
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1479]: VERIFY OK: depth=1, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=OMITTED_CA/emailAddress=OMITTED
Dec  2 20:30:39 DD-WRT daemon.notice openvpn[1479]: VERIFY OK: depth=0, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=server/emailAddress=OMITTED
Dec  2 20:30:40 DD-WRT daemon.err openvpn[1479]: event_wait : Interrupted system call (code=4)
Dec  2 20:30:40 DD-WRT daemon.notice openvpn[1479]: TCP/UDP: Closing socket
Dec  2 20:30:40 DD-WRT daemon.notice openvpn[1479]: SIGTERM[hard,] received, process exiting
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1642]: OpenVPN 2.1.3 mips-unknown-linux-gnu [SSL] [LZO2] [EPOLL] built on Mar 21 2011
Dec  2 20:30:43 DD-WRT daemon.warn openvpn[1642]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1642]: LZO compression initialized
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1642]: Control Channel MTU parms [ L:1546 D:138 EF:38 EB:0 ET:0 EL:0 ]
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1642]: Socket Buffers: R=[112640->131072] S=[112640->131072]
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1642]: Data Channel MTU parms [ L:1546 D:1390 EF:46 EB:135 ET:0 EL:0 AF:3/1 ]
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1642]: Fragmentation MTU parms [ L:1546 D:1390 EF:45 EB:135 ET:1 EL:0 AF:3/1 ]
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1643]: UDPv4 link local: [undef]
Dec  2 20:30:43 DD-WRT daemon.notice openvpn[1643]: UDPv4 link remote: OMITTED:1194
Dec  2 20:30:44 DD-WRT daemon.notice openvpn[1643]: TLS: Initial packet from OMITTED:1194, sid=3852b9ac e3b76c6e
Dec  2 20:30:44 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=1, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=OMITTED_CA/emailAddress=OMITTED
Dec  2 20:30:44 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=0, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=server/emailAddress=OMITTED
Dec  2 20:30:45 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Dec  2 20:30:45 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Dec  2 20:30:45 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:30:45 DD-WRT daemon.notice openvpn[1643]: 3 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:30:45 DD-WRT daemon.notice openvpn[1643]: [server] Peer Connection Initiated with OMITTED:1194
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.8.0.1,redirect-gateway def1,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: timers and/or timeouts modified
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: --ifconfig/up options modified
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: route options modified
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: 1 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: TUN/TAP device tun0 opened
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: TUN/TAP TX queue length set to 100
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: /sbin/ifconfig tun0 10.8.0.6 pointopoint 10.8.0.5 mtu 1500
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: /tmp/ovpn/up tun0 1500 1546 10.8.0.6 10.8.0.5 init
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: /sbin/route add -net OMITTED netmask 255.255.255.255 gw 172.16.1.254
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.8.0.5
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.8.0.5
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: /sbin/route add -net 10.8.0.1 netmask 255.255.255.255 gw 10.8.0.5
Dec  2 20:30:47 DD-WRT daemon.notice openvpn[1643]: Initialization Sequence Completed
Dec  2 20:30:57 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:31:07 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:31:17 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:31:27 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:31:37 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:31:47 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:32:47 DD-WRT daemon.notice openvpn[1643]: 6 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:32:47 DD-WRT daemon.notice openvpn[1643]: [server] Inactivity timeout (--ping-restart), restarting
Dec  2 20:32:47 DD-WRT daemon.notice openvpn[1643]: TCP/UDP: Closing socket
Dec  2 20:32:47 DD-WRT daemon.notice openvpn[1643]: SIGUSR1[soft,ping-restart] received, process restarting
Dec  2 20:32:47 DD-WRT daemon.notice openvpn[1643]: Restart pause, 2 second(s)
Dec  2 20:32:49 DD-WRT daemon.warn openvpn[1643]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: Re-using SSL/TLS context
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: LZO compression initialized
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: Control Channel MTU parms [ L:1546 D:138 EF:38 EB:0 ET:0 EL:0 ]
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: Socket Buffers: R=[112640->131072] S=[112640->131072]
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: Data Channel MTU parms [ L:1546 D:1390 EF:46 EB:135 ET:0 EL:0 AF:3/1 ]
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: Fragmentation MTU parms [ L:1546 D:1390 EF:45 EB:135 ET:1 EL:0 AF:3/1 ]
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: UDPv4 link local: [undef]
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: UDPv4 link remote: OMITTED:1194
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: TLS: Initial packet from OMITTED:1194, sid=4f5c4312 c3919a64
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=1, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=OMITTED_CA/emailAddress=OMITTED
Dec  2 20:32:49 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=0, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=server/emailAddress=OMITTED
Dec  2 20:32:50 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Dec  2 20:32:50 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Dec  2 20:32:50 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:32:50 DD-WRT daemon.notice openvpn[1643]: 3 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:32:50 DD-WRT daemon.notice openvpn[1643]: [server] Peer Connection Initiated with OMITTED:1194
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.8.0.1,redirect-gateway def1,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: timers and/or timeouts modified
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: --ifconfig/up options modified
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: route options modified
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: 1 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: Preserving previous TUN/TAP instance: tun0
Dec  2 20:32:52 DD-WRT daemon.notice openvpn[1643]: Initialization Sequence Completed
Dec  2 20:33:02 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:33:12 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:33:22 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:33:32 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:33:42 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:33:52 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:34:52 DD-WRT daemon.notice openvpn[1643]: 7 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:34:52 DD-WRT daemon.notice openvpn[1643]: [server] Inactivity timeout (--ping-restart), restarting
Dec  2 20:34:52 DD-WRT daemon.notice openvpn[1643]: TCP/UDP: Closing socket
Dec  2 20:34:52 DD-WRT daemon.notice openvpn[1643]: SIGUSR1[soft,ping-restart] received, process restarting
Dec  2 20:34:52 DD-WRT daemon.notice openvpn[1643]: Restart pause, 2 second(s)
Dec  2 20:34:54 DD-WRT daemon.warn openvpn[1643]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: Re-using SSL/TLS context
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: LZO compression initialized
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: Control Channel MTU parms [ L:1546 D:138 EF:38 EB:0 ET:0 EL:0 ]
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: Socket Buffers: R=[112640->131072] S=[112640->131072]
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: Data Channel MTU parms [ L:1546 D:1390 EF:46 EB:135 ET:0 EL:0 AF:3/1 ]
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: Fragmentation MTU parms [ L:1546 D:1390 EF:45 EB:135 ET:1 EL:0 AF:3/1 ]
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: UDPv4 link local: [undef]
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: UDPv4 link remote: OMITTED:1194
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: TLS: Initial packet from OMITTED:1194, sid=3df3c110 f99f12af
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=1, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=OMITTED_CA/emailAddress=OMITTED
Dec  2 20:34:54 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=0, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=server/emailAddress=OMITTED
Dec  2 20:34:55 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Dec  2 20:34:55 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Dec  2 20:34:55 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:34:55 DD-WRT daemon.notice openvpn[1643]: 3 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:34:55 DD-WRT daemon.notice openvpn[1643]: [server] Peer Connection Initiated with OMITTED:1194
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.8.0.1,redirect-gateway def1,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: timers and/or timeouts modified
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: --ifconfig/up options modified
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: route options modified
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: 1 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: Preserving previous TUN/TAP instance: tun0
Dec  2 20:34:57 DD-WRT daemon.notice openvpn[1643]: Initialization Sequence Completed
Dec  2 20:35:07 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:35:17 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:35:27 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:35:37 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:35:47 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
Dec  2 20:35:57 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:36:57 DD-WRT daemon.notice openvpn[1643]: 7 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:36:57 DD-WRT daemon.notice openvpn[1643]: [server] Inactivity timeout (--ping-restart), restarting
Dec  2 20:36:57 DD-WRT daemon.notice openvpn[1643]: TCP/UDP: Closing socket
Dec  2 20:36:57 DD-WRT daemon.notice openvpn[1643]: SIGUSR1[soft,ping-restart] received, process restarting
Dec  2 20:36:57 DD-WRT daemon.notice openvpn[1643]: Restart pause, 2 second(s)
Dec  2 20:36:59 DD-WRT daemon.warn openvpn[1643]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: Re-using SSL/TLS context
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: LZO compression initialized
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: Control Channel MTU parms [ L:1546 D:138 EF:38 EB:0 ET:0 EL:0 ]
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: Socket Buffers: R=[112640->131072] S=[112640->131072]
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: Data Channel MTU parms [ L:1546 D:1390 EF:46 EB:135 ET:0 EL:0 AF:3/1 ]
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: Fragmentation MTU parms [ L:1546 D:1390 EF:45 EB:135 ET:1 EL:0 AF:3/1 ]
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: UDPv4 link local: [undef]
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: UDPv4 link remote: OMITTED:1194
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: TLS: Initial packet from OMITTED:1194, sid=77c466fe 68c8b3f8
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=1, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=OMITTED_CA/emailAddress=OMITTED
Dec  2 20:36:59 DD-WRT daemon.notice openvpn[1643]: VERIFY OK: depth=0, /C=CA/ST=SK/L=Regina/O=OMITTED/CN=server/emailAddress=OMITTED
Dec  2 20:37:00 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Dec  2 20:37:00 DD-WRT daemon.notice openvpn[1643]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Dec  2 20:37:00 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:37:00 DD-WRT daemon.notice openvpn[1643]: 3 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:37:00 DD-WRT daemon.notice openvpn[1643]: [server] Peer Connection Initiated with OMITTED:1194
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.8.0.1,redirect-gateway def1,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: timers and/or timeouts modified
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: --ifconfig/up options modified
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: OPTIONS IMPORT: route options modified
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: NOTE: --mute triggered...
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: 1 variation(s) on previous 5 message(s) suppressed by --mute
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: Preserving previous TUN/TAP instance: tun0
Dec  2 20:37:02 DD-WRT daemon.notice openvpn[1643]: Initialization Sequence Completed
Dec  2 20:37:12 DD-WRT daemon.err openvpn[1643]: FRAG_IN error flags=0xfa2a187b: FRAG_TEST not implemented
ath0      Link encap:Ethernet  HWaddr 4C:E6:76:40:E3:D5  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3608 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2314 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:346814 (338.6 KiB)  TX bytes:1503010 (1.4 MiB)
br0       Link encap:Ethernet  HWaddr 4C:E6:76:40:E3:D5  
          inet addr:192.168.11.1  Bcast:192.168.11.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:3609 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2194 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:296308 (289.3 KiB)  TX bytes:1475354 (1.4 MiB)
br0:0     Link encap:Ethernet  HWaddr 4C:E6:76:40:E3:D5  
          inet addr:169.254.255.1  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
eth0      Link encap:Ethernet  HWaddr 4C:E6:76:40:E3:D5  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1684 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2606 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:242583 (236.8 KiB)  TX bytes:367622 (359.0 KiB)
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2688 (2.6 KiB)  TX bytes:2688 (2.6 KiB)
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.0.6  P-t-P:10.8.0.5  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1523 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:81414 (79.5 KiB)
vlan1     Link encap:Ethernet  HWaddr 4C:E6:76:40:E3:D5  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:54344 (53.0 KiB)
vlan2     Link encap:Ethernet  HWaddr 4C:E6:76:40:E3:D5  
          inet addr:172.16.1.75  Bcast:172.16.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1684 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:212271 (207.2 KiB)  TX bytes:292838 (285.9 KiB)
wifi0     Link encap:Ethernet  HWaddr 4C:E6:76:40:E3:D5  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10127 errors:0 dropped:0 overruns:0 frame:1357
          TX packets:1788 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:499 
          RX bytes:934188 (912.2 KiB)  TX bytes:832653 (813.1 KiB)
          Interrupt:48 Memory:b0000000-b0010000 

To give you an idea of my home network:

Home Computers -> DD-WRT (192.168.1.) -> Internet Modem (172.)

share|improve this question
    
What is your route table look like once the VPN is connected? What do you get when you do a traceroute to something like 8.8.8.8? Can you still reach the configured DNS servers? –  Zoredache Dec 2 '11 at 20:01
    
Here is the route table: i.imgur.com/Bmw9c.jpg ... I am unable to run a traceroute to 8.8.8.8. Nothing happens. –  Toilet Overflow Dec 2 '11 at 20:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.