Resolved- openvpn client connect to server but no net access

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
proxima213
DD-WRT Novice


Joined: 19 Jan 2017
Posts: 11

PostPosted: Thu Jan 19, 2017 19:29    Post subject: Resolved- openvpn client connect to server but no net access Reply with quote
Hi.
all,

I have two routers as follows


router 1 192.168.0.1 connected to isp
router 2 192.168.1.1 connected to router 1
router 2 has ddwrt (WNDR3700). I have been able to setup the openvpn client on router 2 to connect to a openvpn server.

when the openvpn client is connected to server i loose internet access on router 2. However router 1 is fine.

routing table of router 2 when not connected to vpn server

default 0.0.0.0 192.168.0.1 UG 0 WAN
169.254.0.0 255.255.0.0 * U 0 LAN & WLAN
192.168.0.0 255.255.255.0 * U 0 WAN
192.168.1.0 255.255.255.0 * U 0 LAN & WLAN

routing table of router 2 when connected to vpn server

Destination LAN NET Subnet Mask Gateway Flags Metric Interface
default 128.0.0.0 10.8.0.1 UG 0 tun1
default 0.0.0.0 192.168.0.1 UG 0 WAN
10.8.0.0 255.255.255.0 * U 0 tun1
128.0.0.0 128.0.0.0 10.8.0.1 UG 0 tun1
169.254.0.0 255.255.0.0 * U 0 LAN & WLAN
185.115.131.101 255.255.255.255 192.168.0.1 UGH 0 WAN
192.168.0.0 255.255.255.0 * U 0 WAN
192.168.1.0 255.255.255.0 * U 0 LAN & WLAN


Could someone please help me or point me in the right direction.

Thanks


Last edited by proxima213 on Thu Jan 19, 2017 22:25; edited 1 time in total
Sponsor
proxima213
DD-WRT Novice


Joined: 19 Jan 2017
Posts: 11

PostPosted: Thu Jan 19, 2017 19:53    Post subject: Reply with quote
Hi eibgrad

That is correct, once the vpn client is connected, Lan or wifi clients on router2 are unable to access the internet.

Nat is enabled.

Thanks
proxima213
DD-WRT Novice


Joined: 19 Jan 2017
Posts: 11

PostPosted: Thu Jan 19, 2017 21:17    Post subject: Reply with quote






Quote:

Clientlog:
20170119 21:11:53 W Unrecognized option or missing parameter(s) in /tmp/openvpncl/openvpn.conf:32: block-outside-dns (2.3.12)
20170119 21:11:53 I OpenVPN 2.3.12 mips-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Nov 14 2016
20170119 21:11:53 I library versions: OpenSSL 1.0.2j 26 Sep 2016 LZO 2.09
20170119 21:11:53 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:16
20170119 21:11:53 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20170119 21:11:53 W WARNING: file '/tmp/openvpncl/client.key' is group or others accessible
20170119 21:11:53 W WARNING: file '/tmp/openvpncl/ta.key' is group or others accessible
20170119 21:11:53 I Control Channel Authentication: using '/tmp/openvpncl/ta.key' as a OpenVPN static key file
20170119 21:11:53 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20170119 21:11:53 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20170119 21:11:53 Socket Buffers: R=[172032->172032] S=[172032->172032]
20170119 21:11:53 I UDPv4 link local: [undef]
20170119 21:11:53 I UDPv4 link remote: [AF_INET]185.115.131.101:1194
20170119 21:11:53 TLS: Initial packet from [AF_INET]185.115.131.101:1194 sid=400e0fb8 3f3890d6
20170119 21:11:53 VERIFY OK: depth=1 CN=ChangeMe
20170119 21:11:53 Validating certificate key usage
20170119 21:11:53 NOTE: --mute triggered...
20170119 21:11:56 6 variation(s) on previous 3 message(s) suppressed by --mute
20170119 21:11:56 W WARNING: 'link-mtu' is used inconsistently local='link-mtu 1570' remote='link-mtu 1569'
20170119 21:11:56 W WARNING: 'comp-lzo' is present in local config but missing in remote config local='comp-lzo'
20170119 21:11:56 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
20170119 21:11:56 Data Channel Encrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
20170119 21:11:56 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
20170119 21:11:56 NOTE: --mute triggered...
20170119 21:11:56 2 variation(s) on previous 3 message(s) suppressed by --mute
20170119 21:11:56 I [server] Peer Connection Initiated with [AF_INET]185.115.131.101:1194
20170119 21:11:58 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
20170119 21:11:58 PUSH: Received control message: 'PUSH_REPLY dhcp-option DNS 8.8.8.8 dhcp-option DNS 8.8.4.4 redirect-gateway def1 bypass-dhcp route-gateway 10.8.0.1 topology subnet ping 10 ping-restart 120 ifconfig 10.8.0.4 255.255.255.0'
20170119 21:11:58 OPTIONS IMPORT: timers and/or timeouts modified
20170119 21:11:58 NOTE: --mute triggered...
20170119 21:11:58 4 variation(s) on previous 3 message(s) suppressed by --mute
20170119 21:11:58 I TUN/TAP device tun1 opened
20170119 21:11:58 TUN/TAP TX queue length set to 100
20170119 21:11:58 I do_ifconfig tt->ipv6=1 tt->did_ifconfig_ipv6_setup=0
20170119 21:11:58 I /sbin/ifconfig tun1 10.8.0.4 netmask 255.255.255.0 mtu 1500 broadcast 10.8.0.255
20170119 21:11:58 /sbin/route add -net 185.115.131.101 netmask 255.255.255.255 gw 192.168.0.1
20170119 21:11:58 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
20170119 21:11:58 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
20170119 21:11:59 I Initialization Sequence Completed
20170119 21:12:04 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:12:04 D MANAGEMENT: CMD 'state'
20170119 21:12:04 MANAGEMENT: Client disconnected
20170119 21:12:04 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:12:04 D MANAGEMENT: CMD 'state'
20170119 21:12:04 MANAGEMENT: Client disconnected
20170119 21:12:04 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:12:04 D MANAGEMENT: CMD 'state'
20170119 21:12:04 MANAGEMENT: Client disconnected
20170119 21:12:04 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:12:04 D MANAGEMENT: CMD 'status 2'
20170119 21:12:04 MANAGEMENT: Client disconnected
20170119 21:12:04 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:12:04 D MANAGEMENT: CMD 'log 500'
19700101 00:00:00

ca /tmp/openvpncl/ca.crt cert /tmp/openvpncl/client.crt key /tmp/openvpncl/client.key management 127.0.0.1 16 management-log-cache 100 verb 3 mute 3 syslog writepid /var/run/openvpncl.pid client resolv-retry infinite nobind persist-key persist-tun script-security 2 dev tun1 proto udp cipher aes-128-cbc auth sha256 remote 185.115.131.101 1194 comp-lzo adaptive tun-mtu 1500 mtu-disc yes fast-io tun-ipv6 tls-auth /tmp/openvpncl/ta.key 1 resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server setenv opt block-outside-dns verb 3


Last edited by proxima213 on Thu Jan 19, 2017 21:43; edited 2 times in total
proxima213
DD-WRT Novice


Joined: 19 Jan 2017
Posts: 11

PostPosted: Thu Jan 19, 2017 21:42    Post subject: Reply with quote
sorry. Try again
proxima213
DD-WRT Novice


Joined: 19 Jan 2017
Posts: 11

PostPosted: Thu Jan 19, 2017 21:55    Post subject: Reply with quote
removed everthing from additional config.

Still made no difference re accessing internet.

however the log reads as follows:

Quote:
State
Client: CONNECTED SUCCESS Local Address: 10.8.0.4
Remote Address: 10.8.0.4

Status
VPN Client Stats
TUN/TAP read bytes 1696
TUN/TAP write bytes 0
TCP/UDP read bytes 4900
TCP/UDP write bytes 6750
Auth read bytes 0
pre-compress bytes 1656
post-compress bytes 1696
pre-decompress bytes 0
post-decompress bytes 0

Log
Clientlog:
20170119 21:51:16 I UDPv4 link local: [undef]
20170119 21:51:16 I UDPv4 link remote: [AF_INET]185.115.131.101:1194
20170119 21:51:16 TLS: Initial packet from [AF_INET]185.115.131.101:1194 sid=ed4ab8cc 9997872d
20170119 21:51:16 VERIFY OK: depth=1 CN=ChangeMe
20170119 21:51:16 VERIFY OK: depth=0 CN=server
20170119 21:51:19 W WARNING: 'link-mtu' is used inconsistently local='link-mtu 1570' remote='link-mtu 1569'
20170119 21:51:19 W WARNING: 'comp-lzo' is present in local config but missing in remote config local='comp-lzo'
20170119 21:51:19 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
20170119 21:51:19 Data Channel Encrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
20170119 21:51:19 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
20170119 21:51:19 NOTE: --mute triggered...
20170119 21:51:19 2 variation(s) on previous 3 message(s) suppressed by --mute
20170119 21:51:19 I [server] Peer Connection Initiated with [AF_INET]185.115.131.101:1194
20170119 21:51:21 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
20170119 21:51:21 PUSH: Received control message: 'PUSH_REPLY dhcp-option DNS 8.8.8.8 dhcp-option DNS 8.8.4.4 redirect-gateway def1 bypass-dhcp route-gateway 10.8.0.1 topology subnet ping 10 ping-restart 120 ifconfig 10.8.0.4 255.255.255.0'
20170119 21:51:21 OPTIONS IMPORT: timers and/or timeouts modified
20170119 21:51:21 NOTE: --mute triggered...
20170119 21:51:21 4 variation(s) on previous 3 message(s) suppressed by --mute
20170119 21:51:21 I TUN/TAP device tun1 opened
20170119 21:51:21 TUN/TAP TX queue length set to 100
20170119 21:51:21 I do_ifconfig tt->ipv6=1 tt->did_ifconfig_ipv6_setup=0
20170119 21:51:21 I /sbin/ifconfig tun1 10.8.0.4 netmask 255.255.255.0 mtu 1500 broadcast 10.8.0.255
20170119 21:51:21 /sbin/route add -net 185.115.131.101 netmask 255.255.255.255 gw 192.168.0.1
20170119 21:51:21 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
20170119 21:51:21 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
20170119 21:51:21 I Initialization Sequence Completed
20170119 21:51:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:39 D MANAGEMENT: CMD 'state'
20170119 21:51:39 MANAGEMENT: Client disconnected
20170119 21:51:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:39 D MANAGEMENT: CMD 'state'
20170119 21:51:39 MANAGEMENT: Client disconnected
20170119 21:51:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:39 D MANAGEMENT: CMD 'state'
20170119 21:51:39 MANAGEMENT: Client disconnected
20170119 21:51:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:39 D MANAGEMENT: CMD 'status 2'
20170119 21:51:39 MANAGEMENT: Client disconnected
20170119 21:51:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:40 D MANAGEMENT: CMD 'log 500'
20170119 21:51:40 MANAGEMENT: Client disconnected
20170119 21:51:50 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:50 D MANAGEMENT: CMD 'state'
20170119 21:51:50 MANAGEMENT: Client disconnected
20170119 21:51:50 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:50 D MANAGEMENT: CMD 'state'
20170119 21:51:50 MANAGEMENT: Client disconnected
20170119 21:51:50 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:50 D MANAGEMENT: CMD 'state'
20170119 21:51:50 MANAGEMENT: Client disconnected
20170119 21:51:50 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:50 D MANAGEMENT: CMD 'status 2'
20170119 21:51:50 MANAGEMENT: Client disconnected
20170119 21:51:50 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:50 D MANAGEMENT: CMD 'log 500'
20170119 21:51:50 MANAGEMENT: Client disconnected
20170119 21:51:54 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:54 D MANAGEMENT: CMD 'state'
20170119 21:51:54 MANAGEMENT: Client disconnected
20170119 21:51:54 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:54 D MANAGEMENT: CMD 'state'
20170119 21:51:54 MANAGEMENT: Client disconnected
20170119 21:51:54 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:54 D MANAGEMENT: CMD 'state'
20170119 21:51:54 MANAGEMENT: Client disconnected
20170119 21:51:54 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:54 D MANAGEMENT: CMD 'status 2'
20170119 21:51:54 MANAGEMENT: Client disconnected
20170119 21:51:54 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:54 D MANAGEMENT: CMD 'log 500'
20170119 21:51:54 MANAGEMENT: Client disconnected
20170119 21:51:59 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:59 D MANAGEMENT: CMD 'state'
20170119 21:51:59 MANAGEMENT: Client disconnected
20170119 21:51:59 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:59 D MANAGEMENT: CMD 'state'
20170119 21:51:59 MANAGEMENT: Client disconnected
20170119 21:51:59 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:59 D MANAGEMENT: CMD 'state'
20170119 21:51:59 MANAGEMENT: Client disconnected
20170119 21:51:59 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:59 D MANAGEMENT: CMD 'status 2'
20170119 21:51:59 MANAGEMENT: Client disconnected
20170119 21:51:59 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:51:59 D MANAGEMENT: CMD 'log 500'
20170119 21:51:59 MANAGEMENT: Client disconnected
20170119 21:52:02 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:52:02 D MANAGEMENT: CMD 'state'
20170119 21:52:02 MANAGEMENT: Client disconnected
20170119 21:52:02 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:52:02 D MANAGEMENT: CMD 'state'
20170119 21:52:02 MANAGEMENT: Client disconnected
20170119 21:52:02 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:52:02 D MANAGEMENT: CMD 'state'
20170119 21:52:02 MANAGEMENT: Client disconnected
20170119 21:52:02 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:52:02 D MANAGEMENT: CMD 'status 2'
20170119 21:52:02 MANAGEMENT: Client disconnected
20170119 21:52:02 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 21:52:02 D MANAGEMENT: CMD 'log 500'
19700101 00:00:00

ca /tmp/openvpncl/ca.crt cert /tmp/openvpncl/client.crt key /tmp/openvpncl/client.key management 127.0.0.1 16 management-log-cache 100 verb 3 mute 3 syslog writepid /var/run/openvpncl.pid client resolv-retry infinite nobind persist-key persist-tun script-security 2 dev tun1 proto udp cipher aes-128-cbc auth sha256 remote 185.115.131.101 1194 comp-lzo adaptive tun-mtu 1500 mtu-disc yes fast-io tun-ipv6 tls-auth /tmp/openvpncl/ta.key 1
proxima213
DD-WRT Novice


Joined: 19 Jan 2017
Posts: 11

PostPosted: Thu Jan 19, 2017 22:03    Post subject: Reply with quote
I opened an ssh session with the router and ran some pings

results as follows

Quote:
root@DD-WRT:~#
root@DD-WRT:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=64 time=60.858 ms
64 bytes from 192.168.0.1: seq=1 ttl=64 time=35.935 ms
64 bytes from 192.168.0.1: seq=2 ttl=64 time=37.133 ms
^C
--- 192.168.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 35.935/44.642/60.858 ms
root@DD-WRT:~# ping 10.8.0.4
PING 10.8.0.4 (10.8.0.4): 56 data bytes
64 bytes from 10.8.0.4: seq=0 ttl=64 time=0.413 ms
64 bytes from 10.8.0.4: seq=1 ttl=64 time=0.293 ms
64 bytes from 10.8.0.4: seq=2 ttl=64 time=0.274 ms
^C
--- 10.8.0.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.274/0.326/0.413 ms
root@DD-WRT:~# ping 10.8.0.1
PING 10.8.0.1 (10.8.0.1): 56 data bytes
^C
--- 10.8.0.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
root@DD-WRT:~# ping 185.115.131.101
PING 185.115.131.101 (185.115.131.101): 56 data bytes
64 bytes from 185.115.131.101: seq=0 ttl=52 time=14.858 ms
64 bytes from 185.115.131.101: seq=1 ttl=52 time=14.137 ms
64 bytes from 185.115.131.101: seq=2 ttl=52 time=13.994 ms
64 bytes from 185.115.131.101: seq=3 ttl=52 time=121.813 ms
^C
--- 185.115.131.101 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 13.994/41.200/121.813 ms
root@DD-WRT:~#
proxima213
DD-WRT Novice


Joined: 19 Jan 2017
Posts: 11

PostPosted: Thu Jan 19, 2017 22:18    Post subject: Reply with quote
Who's a clever boy/girl then?

Thankyou, that has now fixed the issue. I can connect to the internet via router 2 using the VPN.

here is the log again

Quote:
State
Client: CONNECTED SUCCESS Local Address: 10.8.0.4
Remote Address: 10.8.0.4

Status
VPN Client Stats
TUN/TAP read bytes 404
TUN/TAP write bytes 0
TCP/UDP read bytes 4819
TCP/UDP write bytes 5267
Auth read bytes 32

Log
Clientlog:
20170119 22:12:47 I OpenVPN 2.3.12 mips-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Nov 14 2016
20170119 22:12:47 I library versions: OpenSSL 1.0.2j 26 Sep 2016 LZO 2.09
20170119 22:12:47 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:16
20170119 22:12:47 W WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
20170119 22:12:47 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20170119 22:12:47 W WARNING: file '/tmp/openvpncl/client.key' is group or others accessible
20170119 22:12:47 W WARNING: file '/tmp/openvpncl/ta.key' is group or others accessible
20170119 22:12:47 I Control Channel Authentication: using '/tmp/openvpncl/ta.key' as a OpenVPN static key file
20170119 22:12:47 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20170119 22:12:47 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20170119 22:12:47 Socket Buffers: R=[172032->172032] S=[172032->172032]
20170119 22:12:47 I UDPv4 link local: [undef]
20170119 22:12:47 I UDPv4 link remote: [AF_INET]185.115.131.101:1194
20170119 22:12:47 TLS: Initial packet from [AF_INET]185.115.131.101:1194 sid=0fdd4a47 41cf7c11
20170119 22:12:47 VERIFY OK: depth=1 CN=ChangeMe
20170119 22:12:47 VERIFY OK: depth=0 CN=server
20170119 22:12:50 NOTE: --mute triggered...
20170119 22:12:50 5 variation(s) on previous 3 message(s) suppressed by --mute
20170119 22:12:50 I [server] Peer Connection Initiated with [AF_INET]185.115.131.101:1194
20170119 22:12:52 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
20170119 22:12:52 PUSH: Received control message: 'PUSH_REPLY dhcp-option DNS 8.8.8.8 dhcp-option DNS 8.8.4.4 redirect-gateway def1 bypass-dhcp route-gateway 10.8.0.1 topology subnet ping 10 ping-restart 120 ifconfig 10.8.0.4 255.255.255.0'
20170119 22:12:52 OPTIONS IMPORT: timers and/or timeouts modified
20170119 22:12:52 NOTE: --mute triggered...
20170119 22:12:52 4 variation(s) on previous 3 message(s) suppressed by --mute
20170119 22:12:52 I TUN/TAP device tun1 opened
20170119 22:12:52 TUN/TAP TX queue length set to 100
20170119 22:12:52 I do_ifconfig tt->ipv6=1 tt->did_ifconfig_ipv6_setup=0
20170119 22:12:52 I /sbin/ifconfig tun1 10.8.0.4 netmask 255.255.255.0 mtu 1500 broadcast 10.8.0.255
20170119 22:12:52 /sbin/route add -net 185.115.131.101 netmask 255.255.255.255 gw 192.168.0.1
20170119 22:12:52 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
20170119 22:12:52 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.8.0.1
20170119 22:12:53 I Initialization Sequence Completed
20170119 22:13:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 22:13:15 D MANAGEMENT: CMD 'state'
20170119 22:13:15 MANAGEMENT: Client disconnected
20170119 22:13:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 22:13:15 D MANAGEMENT: CMD 'state'
20170119 22:13:15 MANAGEMENT: Client disconnected
20170119 22:13:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 22:13:15 D MANAGEMENT: CMD 'state'
20170119 22:13:15 MANAGEMENT: Client disconnected
20170119 22:13:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 22:13:15 D MANAGEMENT: CMD 'status 2'
20170119 22:13:15 MANAGEMENT: Client disconnected
20170119 22:13:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20170119 22:13:15 D MANAGEMENT: CMD 'log 500'
19700101 00:00:00

ca /tmp/openvpncl/ca.crt cert /tmp/openvpncl/client.crt key /tmp/openvpncl/client.key management 127.0.0.1 16 management-log-cache 100 verb 3 mute 3 syslog writepid /var/run/openvpncl.pid client resolv-retry infinite nobind persist-key persist-tun script-security 2 dev tun1 proto udp cipher aes-128-cbc auth sha256 remote 185.115.131.101 1194 tun-mtu 1500 mtu-disc yes fast-io tun-ipv6 tls-auth /tmp/openvpncl/ta.key 1


Once again Thankyou very much. Been struggling with this for days. Thankyou Thankyou
morpheon
DD-WRT Novice


Joined: 09 Jan 2017
Posts: 9

PostPosted: Thu Apr 26, 2018 13:32    Post subject: Reply with quote
I had a very similar problem using a dd-wrt router as an OpenVPN client to an OpenVPN server hosted on a VPS service.

My symptoms were that DD-WRT was showing a successfull connection but "TUN/TAP write bytes 0", no internet access and unsuccessful pings.

I too had LZO Compression enabled on the client (the dd-wrt router) and disabled on the server.

I switched LZO Compression to the "No" drop down option which did not help.

Instead, the problem was fixed when I set it to "Disabled".
logbrewer22
DD-WRT Novice


Joined: 19 Apr 2018
Posts: 2

PostPosted: Fri Jun 01, 2018 19:14    Post subject: OpenVPN with ExpressVPN Success Reply with quote
Thank you! Similar issue using OpenVPN with ExpressVPN Successful Connection but no internet. Changed LZO Compression to Yes and all is working.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum