LBFS Posted September 6, 2020 Share Posted September 6, 2020 Whenever I try to enable my vpn on my R2 it gets stuck on connecting forever. Log below Sun Sep 6 18:00:38 2020 OpenVPN 2.4.7 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] Sun Sep 6 18:00:38 2020 library versions: OpenSSL 1.0.2p 14 Aug 2018, LZO 2.10 Sun Sep 6 18:00:38 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sun Sep 6 18:00:38 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]23.92.127.50:1198 Sun Sep 6 18:00:38 2020 UDP link local: (not bound) Sun Sep 6 18:00:38 2020 UDP link remote: [AF_INET]23.92.127.50:1198 Sun Sep 6 18:00:38 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Sun Sep 6 18:00:39 2020 [66e4498e86ad1f08a27cd965079ef3cc] Peer Connection Initiated with [AF_INET]23.92.127.50:1198 Sun Sep 6 18:00:40 2020 TUN/TAP device tun1 opened Sun Sep 6 18:00:40 2020 /sbin/ifconfig tun1 10.36.11.6 pointopoint 10.36.11.5 mtu 1500 Sun Sep 6 18:00:40 2020 /dumaos/apps/usr/com.netdumasoftware.hybridvpn/openvpn-event.lua openvpnup 6 tun1 1500 1558 10.36.11.6 10.36.11.5 init openvpn-event.lua: Exec 'ip route add default via '10.36.11.5' table 1' failed with 2 Sun Sep 6 18:00:41 2020 Initialization Sequence Completed Link to comment Share on other sites More sharing options...
Administrators Netduma Fraser Posted September 6, 2020 Administrators Share Posted September 6, 2020 Hey, welcome to the forum! What VPN provider are you using? Are you entering the OpenVPN configuration files manually? Link to comment Share on other sites More sharing options...
LBFS Posted September 6, 2020 Author Share Posted September 6, 2020 I am using Private Internet Access. I downloaded the config files from their site and copied them into the setup on the R2 Link to comment Share on other sites More sharing options...
Administrators Netduma Fraser Posted September 6, 2020 Administrators Share Posted September 6, 2020 Just to check, you are entering your PIA username and password in? Could you provide the OpenVPN configuration file you're using please? Link to comment Share on other sites More sharing options...
LBFS Posted September 6, 2020 Author Share Posted September 6, 2020 Yes I am. Here is the config file UK London.ovpn Link to comment Share on other sites More sharing options...
Administrators Netduma Fraser Posted September 6, 2020 Administrators Share Posted September 6, 2020 Try using this config instead and see if it works: client dev tun proto udp remote uk-london.privateinternetaccess.com 1198 resolv-retry infinite nobind persist-key persist-tun cipher aes-128-cbc auth sha1 tls-client remote-cert-tls server auth-user-pass auth-nocache comp-lzo verb 1 reneg-sec 0 ca ca.rsa.2048.crt <ca> -----BEGIN CERTIFICATE----- MIIFqzCCBJOgAwIBAgIJAKZ7D5Yv87qDMA0GCSqGSIb3DQEBDQUAMIHoMQswCQYD VQQGEwJVUzELMAkGA1UECBMCQ0ExEzARBgNVBAcTCkxvc0FuZ2VsZXMxIDAeBgNV BAoTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQLExdQcml2YXRlIElu dGVybmV0IEFjY2VzczEgMB4GA1UEAxMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3Mx IDAeBgNVBCkTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMS8wLQYJKoZIhvcNAQkB FiBzZWN1cmVAcHJpdmF0ZWludGVybmV0YWNjZXNzLmNvbTAeFw0xNDA0MTcxNzM1 MThaFw0zNDA0MTIxNzM1MThaMIHoMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0Ex EzARBgNVBAcTCkxvc0FuZ2VsZXMxIDAeBgNVBAoTF1ByaXZhdGUgSW50ZXJuZXQg QWNjZXNzMSAwHgYDVQQLExdQcml2YXRlIEludGVybmV0IEFjY2VzczEgMB4GA1UE AxMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3MxIDAeBgNVBCkTF1ByaXZhdGUgSW50 ZXJuZXQgQWNjZXNzMS8wLQYJKoZIhvcNAQkBFiBzZWN1cmVAcHJpdmF0ZWludGVy bmV0YWNjZXNzLmNvbTCCASIwDQYJK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YHbn70mIOzfOJFTVqfrptf9jXa9N8Mpy3ayfodz 1wiqdteqFXkTYoSDctgKMiZ6GdocK9nMroQipIQtpnwd4yBDWIyC6Bvlkrq5TQUt YDQ8z9v+DMO6iwyIDRiU -----END CERTIFICATE----- </ca> Link to comment Share on other sites More sharing options...
LBFS Posted September 6, 2020 Author Share Posted September 6, 2020 Still gets stuck on connecting with that config. Here is the log Sun Sep 6 20:42:54 2020 OpenVPN 2.4.7 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] Sun Sep 6 20:42:54 2020 library versions: OpenSSL 1.0.2p 14 Aug 2018, LZO 2.10 Sun Sep 6 20:42:54 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sun Sep 6 20:42:54 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]212.102.52.1:1198 Sun Sep 6 20:42:54 2020 UDP link local: (not bound) Sun Sep 6 20:42:54 2020 UDP link remote: [AF_INET]212.102.52.1:1198 Sun Sep 6 20:42:55 2020 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1558', remote='link-mtu 1542' Sun Sep 6 20:42:55 2020 WARNING: 'cipher' is used inconsistently, local='cipher AES-128-CBC', remote='cipher BF-CBC' Sun Sep 6 20:42:55 2020 [ad84b667e235075bbd8bcd53c79f6472] Peer Connection Initiated with [AF_INET]212.102.52.1:1198 Sun Sep 6 20:42:56 2020 TUN/TAP device tun1 opened Sun Sep 6 20:42:56 2020 /sbin/ifconfig tun1 10.32.21.6 pointopoint 10.32.21.5 mtu 1500 Sun Sep 6 20:42:56 2020 /dumaos/apps/usr/com.netdumasoftware.hybridvpn/openvpn-event.lua openvpnup 7 tun1 1500 1558 10.32.21.6 10.32.21.5 init openvpn-event.lua: Exec 'ip route add default via '10.32.21.5' table 1' failed with 2 Sun Sep 6 20:42:56 2020 Initialization Sequence Completed Link to comment Share on other sites More sharing options...
Administrators Netduma Fraser Posted September 6, 2020 Administrators Share Posted September 6, 2020 Could you ask PIA if they have an OpenVPN configuration file for OpenVPN version 2.3.4 and see if that works please? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.