Hello,
I have two Asus routers and I am trying to create a site-to-site ethernet bridge link between the two routers.
At my parents home, I enabled the Openvpn server on the RT-AC66U router in TAP mode.
I am trying to connect from my house to the server by the RT AC68U in VPN client mode.
My goal is to create a link between the two networks and have full access to them.
When I am trying to connect from my home to the server I always get the following log:
Jan 7 14:21:10 rc_service: httpd 421:notify_rc restart_vpncall
Jan 7 14:21:12 openvpn[8692]: OpenVPN 2.3.2 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Dec 1 2015
Jan 7 14:21:12 openvpn[8692]: Socket Buffers: R=[122880->131072] S=[122880->131072]
Jan 7 14:21:12 openvpn[8730]: UDPv4 link local: [undef]
Jan 7 14:21:12 openvpn[8730]: UDPv4 link remote: [AF_INET]89.143.67.212:1194
Jan 7 14:21:12 openvpn[8730]: TLS: Initial packet from [AF_INET]89.143.67.212:1194, sid=02369915 5090ddb9
Jan 7 14:21:12 openvpn[8730]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Jan 7 14:21:13 openvpn[8730]: VERIFY OK: depth=1, C=TW, ST=TW, L=Taipei, O=ASUS, CN=RT-AC66U, emailAddress=me@myhost.mydomain
Jan 7 14:21:13 openvpn[8730]: VERIFY OK: nsCertType=SERVER
Jan 7 14:21:13 openvpn[8730]: VERIFY OK: depth=0, C=TW, ST=TW, L=Taipei, O=ASUS, CN=RT-AC66U, emailAddress=me@myhost.mydomain
Jan 7 14:21:16 openvpn[8730]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Jan 7 14:21:16 openvpn[8730]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Jan 7 14:21:16 openvpn[8730]: Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Jan 7 14:21:16 openvpn[8730]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Jan 7 14:21:16 openvpn[8730]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Jan 7 14:21:16 openvpn[8730]: [RT-AC66U] Peer Connection Initiated with [AF_INET]89.143.67.212:1194
Jan 7 14:21:19 openvpn[8730]: SENT CONTROL [RT-AC66U]: 'PUSH_REQUEST' (status=1)
Jan 7 14:21:19 openvpn[8730]: PUSH: Received control message: 'PUSH_REPLY,route 0.0.0.0 255.255.255.255 net_gateway,dhcp-option DNS 192.168.4.1,route-gateway 192.168.4.1,redirect-gateway def1,route-gateway dhcp,ping 15,ping-restart 60'
Jan 7 14:21:19 openvpn[8730]: OPTIONS IMPORT: timers and/or timeouts modified
Jan 7 14:21:19 openvpn[8730]: OPTIONS IMPORT: route options modified
Jan 7 14:21:19 openvpn[8730]: OPTIONS IMPORT: route-related options modified
Jan 7 14:21:19 openvpn[8730]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Jan 7 14:21:19 openvpn[8730]: TUN/TAP device tap15 opened
Jan 7 14:21:19 openvpn[8730]: TUN/TAP TX queue length set to 100
Jan 7 14:21:24 kernel: DROP IN=ppp0 OUT= MAC= SRC=212.47.254.233 DST=95.233.93.249 LEN=40 TOS=0x00 PREC=0x00 TTL=243 ID=24721 PROTO=TCP SPT=52642 DPT=21320 SEQ=2954915360 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0
Jan 7 14:21:27 kernel: DROP IN=eth0 OUT= MAC=1c:87:2c:66:3f:10:e0:3f:49:a9:92:50:08:00 SRC=192.168.1.1 DST=192.168.1.22 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=33166 DPT=137 LEN=58
Jan 7 14:21:27 kernel: DROP IN=eth0 OUT= MAC=1c:87:2c:66:3f:10:e0:3f:49:a9:92:50:08:00 SRC=192.168.1.1 DST=192.168.1.22 LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=33166 DPT=137 LEN=58
Jan 7 14:21:38 kernel: DROP IN=ppp0 OUT= MAC= SRC=103.10.4.209 DST=95.233.93.249 LEN=1476 TOS=0x00 PREC=0x00 TTL=242 ID=43774 DF PROTO=TCP SPT=80 DPT=55009 SEQ=1981543036 ACK=1447806993 WINDOW=4637 RES=0x00 ACK URGP=0 OPT (0101080A1C3FF1053337E3AE)
Jan 7 14:21:38 kernel: DROP IN=ppp0 OUT= MAC= SRC=103.10.4.209 DST=95.233.93.249 LEN=1476 TOS=0x00 PREC=0x00 TTL=242 ID=21614 DF PROTO=TCP SPT=80 DPT=55010 SEQ=1976450286 ACK=2627374990 WINDOW=4637 RES=0x00 ACK URGP=0 OPT (0101080A1C3FF1473337E3AB)
Jan 7 14:21:39 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:04:18:d6:ea:88:e8:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0xC0 TTL=1 ID=10348 PROTO=2
Jan 7 14:21:39 openvpn[8730]: /sbin/route add -net 89.143.67.212 netmask 255.255.255.255 gw 192.168.100.1
Jan 7 14:21:39 openvpn[8730]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 192.168.4.1
Jan 7 14:21:39 openvpn[8730]: ERROR: Linux route add command failed: external program exited with error status: 1
Jan 7 14:21:39 openvpn[8730]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 192.168.4.1
Jan 7 14:21:39 openvpn[8730]: ERROR: Linux route add command failed: external program exited with error status: 1
Jan 7 14:21:39 openvpn[8730]: /sbin/route add -net 0.0.0.0 netmask 255.255.255.255 gw 192.168.100.1
Jan 7 14:21:39 openvpn[8730]: Initialization Sequence Completed
The strange thing is that the OpenVPN clients on my mac (viscosity) and android are working like a charm and I can have full access to my parents network.
Thank you!