Jump to content
Reminder, starting today you will no longer be able to login to the forum using your display name, to login you must now use your email address. ×

PLEASE HELP! XR700 TO XR700 VPN CONFIG


Recommended Posts

Seems like no matter what i do i can’t keep it connected. I’ve tried the ovpn profile generated by router A on multiple devices and even a little mini wrt based travel router and none of them have any issue retaining connectivity.  I’m thinking it has something to do with the authentication as none of the other working devices require user name and password and accept an upload of the ovpn file. My theory seems to be supported by the vpn log below. Please advise...

 

Tue Sep 17 17:41:54 2019 us=644890 OpenVPN 2.4.3 arm-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Feb 18 2019 Tue Sep 17 17:41:54 2019 us=645001 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.06 Tue Sep 17 17:41:54 2019 us=645162 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Tue Sep 17 17:41:54 2019 us=645196 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Tue Sep 17 17:41:54 2019 us=646667 LZO compression initializing Tue Sep 17 17:41:54 2019 us=646964 Control Channel MTU parms [ L:1622 D:1212 EF:38 EB:0 ET:0 EL:3 ] Tue Sep 17 17:41:54 2019 us=669686 Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ] Tue Sep 17 17:41:54 2019 us=669811 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client' Tue Sep 17 17:41:54 2019 us=669846 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server' Tue Sep 17 17:41:54 2019 us=669900 TCP/UDP: Preserving recently used remote address: [AF_INET]108.41.158.64:12973 Tue Sep 17 17:41:54 2019 us=669972 Socket Buffers: R=[163840->163840] S=[163840->163840] Tue Sep 17 17:41:54 2019 us=670010 UDP link local: (not bound) Tue Sep 17 17:41:54 2019 us=670045 UDP link remote: [AF_INET]108.41.158.64:12973 WRTue Sep 17 17:41:54 2019 us=679285 TLS: Initial packet from [AF_INET]108.41.158.64:12973, sid=07548efe 94e4d74c WTue Sep 17 17:41:54 2019 us=679462 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this WRWRTue Sep 17 17:41:54 2019 us=697115 VERIFY OK: depth=1, C=TW, ST=TW, L=Taipei, O=netgear, OU=netgear, CN=netgear, name=changeme, [email protected] Tue Sep 17 17:41:54 2019 us=697884 VERIFY OK: depth=0, C=TW, ST=TW, L=Taipei, O=netgear, OU=netgear, CN=netgear, name=changeme, [email protected] WRWWRRWRWTue Sep 17 17:41:54 2019 us=737605 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 1024 bit RSA Tue Sep 17 17:41:54 2019 us=737679 [netgear] Peer Connection Initiated with [AF_INET]108.41.158.64:12973 Tue Sep 17 17:41:55 2019 us=876013 SENT CONTROL [netgear]: 'PUSH_REQUEST' (status=1) WRRTue Sep 17 17:41:55 2019 us=885734 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 192.168.1.1,route-gateway 192.168.2.1,topology subnet,ping 10,ping-restart 120,redirect-gateway def1,ifconfig 192.168.2.2 255.255.255.0,peer-id 0,cipher AES-256-GCM' Tue Sep 17 17:41:55 2019 us=885915 OPTIONS IMPORT: timers and/or timeouts modified Tue Sep 17 17:41:55 2019 us=885951 OPTIONS IMPORT: --ifconfig/up options modified Tue Sep 17 17:41:55 2019 us=885979 OPTIONS IMPORT: route options modified Tue Sep 17 17:41:55 2019 us=886007 OPTIONS IMPORT: route-related options modified Tue Sep 17 17:41:55 2019 us=886033 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Tue Sep 17 17:41:55 2019 us=886059 OPTIONS IMPORT: peer-id set Tue Sep 17 17:41:55 2019 us=886087 OPTIONS IMPORT: adjusting link_mtu to 1625 Tue Sep 17 17:41:55 2019 us=886114 OPTIONS IMPORT: data channel crypto options modified Tue Sep 17 17:41:55 2019 us=886143 Data Channel: using negotiated cipher 'AES-256-GCM' Tue Sep 17 17:41:55 2019 us=886188 Data Channel MTU parms [ L:1553 D:1450 EF:53 EB:406 ET:0 EL:3 ] Tue Sep 17 17:41:55 2019 us=886478 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key Tue Sep 17 17:41:55 2019 us=886521 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key Tue Sep 17 17:41:55 2019 us=887130 TUN/TAP device tun0 opened Tue Sep 17 17:41:55 2019 us=887180 TUN/TAP TX queue length set to 100 Tue Sep 17 17:41:55 2019 us=887223 do_ifconfig, tt->did_ifconfig_ipv6_setup=0 Tue Sep 17 17:41:55 2019 us=887279 /sbin/ifconfig tun0 192.168.2.2 netmask 255.255.255.0 mtu 1500 broadcast 192.168.2.255 Tue Sep 17 17:41:55 2019 us=895629 /dumaos/apps/usr/com.netdumasoftware.hybridvpn/openvpn-event.lua openvpnup 5 tun0 1500 1553 192.168.2.2 255.255.255.0 init Tue Sep 17 17:41:55 2019 us=942734 Initialization Sequence Completed WrWrWRwrWrWRwRwRwRwRwRwRwrWrWrWrWrWrWrWRwrWrWrWrWrWrWrWrWrWrWrWrWrWrWrWrWrWrWrWrW

Link to comment
Share on other sites

  • Administrators

Just re-read the topic, what purpose are you trying to achieve by linking the two routers together? I'm not sure if it will be possible if I'm honest. I've adapted your config file but removed the Netgear specific details so it may not work and if it doesn't I don't think there would be a way to do it. Also consider that router A would need to have an Open NAT in order to communicate effectively with router B.

client
dev tun
proto udp
remote bolla-bk.mynetgear.com  12973
resolv-retry infinite
nobind
persist-key
persist-tun
cipher AES-128-CBC
comp-lzo
verb 5

<ca>
-----BEGIN CERTIFICATE-----
MIIDqDCCAxGgAwIBAgIJAOz1OLU6kDwlMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD
VQ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4S9Z3+TP9LJrAu5Y3lGxlxRkLhz/5BYsVXBqHER+MLwkz
rqzZCQJBAI2EsprzPvjDaoaC0PRD1SbnG5EVzuH8ac5bG9S/hxz08tPQIo9NL4R9
rS2Zq+nPyaMf4KgGi+oaiX9AtL5HGdcCQD0XQo/c29N638jA8WvK+r1R+vuly4LH
peAvnnmLFC6Spi4G+Ejw7uebLy/Rs4VlcnMLpORyLBBVNOmwZYwfQEECQHI/8AgA
UBnsBHw1kDCO0/oh7KqlqC8wZ2x2J8GgUMe3gTLQA1tEtHzPkQrM2BOfBZfMh2Zm
95jtEWdKuq185eM=
-----END PRIVATE KEY-----
</key>

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...