Hello again,
...and happy new year!
Meanwhile I got to my home location and installed dd-wrt in the home location router, but now - on my roaming location - can't get it to work...
The server log looks like this:
State
Server: CONNECTED SUCCESS
Local Address: 10.1.1.1
Remote Address:
Status
VPN Server Stats: nclients=1, bytesin=28508, bytesout=7358
Client Remote IP:Port Bytes Received Bytes Sent Connected Since
Archer y.y.y.y:61099 28508 7358 Sun Jan 10 21:04:13 2016
VPN Server Routing Table
Client Virtual Address Real Address Last Ref
Archer 10.1.1.2 y.y.y.y:61099 Sun Jan 10 21:05:44 2016
Log
Serverlog:
20160110 21:03:34 I OpenVPN 2.3.8 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Jan 2 2016
20160110 21:03:34 I library versions: OpenSSL 1.0.2e 3 Dec 2015 LZO 2.09
20160110 21:03:34 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:14
20160110 21:03:34 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20160110 21:03:34 Diffie-Hellman initialized with 1024 bit key
20160110 21:03:34 Socket Buffers: R=[87380->131072] S=[16384->131072]
20160110 21:03:34 I TUN/TAP device tun0 opened
20160110 21:03:34 TUN/TAP TX queue length set to 100
20160110 21:03:34 I do_ifconfig tt->ipv6=1 tt->did_ifconfig_ipv6_setup=0
20160110 21:03:34 I /sbin/ifconfig tun0 10.1.1.1 netmask 255.255.255.0 mtu 1500 broadcast 10.1.1.255
20160110 21:03:34 I Listening for incoming TCP connection on [undef]
20160110 21:03:34 I TCPv4_SERVER link local (bound): [undef]
20160110 21:03:34 I TCPv4_SERVER link remote: [undef]
20160110 21:03:34 MULTI: multi_init called r=256 v=256
20160110 21:03:34 IFCONFIG POOL: base=10.1.1.2 size=252 ipv6=0
20160110 21:03:34 I ifconfig_pool_read() in='Archer 10.1.1.2' TODO: IPv6
20160110 21:03:34 I succeeded -> ifconfig_pool_set()
20160110 21:03:34 IFCONFIG POOL LIST
20160110 21:03:34 Archer 10.1.1.2
20160110 21:03:34 MULTI: TCP INIT maxclients=1024 maxevents=1028
20160110 21:03:34 I Initialization Sequence Completed
20160110 21:03:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:39 D MANAGEMENT: CMD 'state'
20160110 21:03:39 MANAGEMENT: Client disconnected
20160110 21:03:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:39 D MANAGEMENT: CMD 'state'
20160110 21:03:39 MANAGEMENT: Client disconnected
20160110 21:03:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:39 D MANAGEMENT: CMD 'state'
20160110 21:03:39 MANAGEMENT: Client disconnected
20160110 21:03:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:39 MANAGEMENT: Client disconnected
20160110 21:03:39 NOTE: --mute triggered...
20160110 21:03:39 1 variation(s) on previous 3 message(s) suppressed by --mute
20160110 21:03:39 D MANAGEMENT: CMD 'status 2'
20160110 21:03:39 MANAGEMENT: Client disconnected
20160110 21:03:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:39 D MANAGEMENT: CMD 'status 2'
20160110 21:03:39 MANAGEMENT: Client disconnected
20160110 21:03:39 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:39 D MANAGEMENT: CMD 'log 500'
20160110 21:03:39 MANAGEMENT: Client disconnected
20160110 21:03:49 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:49 D MANAGEMENT: CMD 'state'
20160110 21:03:49 MANAGEMENT: Client disconnected
20160110 21:03:49 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:49 D MANAGEMENT: CMD 'state'
20160110 21:03:49 MANAGEMENT: Client disconnected
20160110 21:03:49 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:49 D MANAGEMENT: CMD 'state'
20160110 21:03:49 MANAGEMENT: Client disconnected
20160110 21:03:49 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:49 MANAGEMENT: Client disconnected
20160110 21:03:49 NOTE: --mute triggered...
20160110 21:03:49 1 variation(s) on previous 3 message(s) suppressed by --mute
20160110 21:03:49 D MANAGEMENT: CMD 'status 2'
20160110 21:03:49 MANAGEMENT: Client disconnected
20160110 21:03:49 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:49 D MANAGEMENT: CMD 'status 2'
20160110 21:03:49 MANAGEMENT: Client disconnected
20160110 21:03:49 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20160110 21:03:49 D MANAGEMENT: CMD 'log 500'
19700101 02:00:00
dh /tmp/openvpn/dh.pem ca /tmp/openvpn/ca.crt cert /tmp/openvpn/cert.pem key /tmp/openvpn/key.pem keepalive 10 120 verb 3 mute 3 syslog writepid /var/run/openvpnd.pid management 127.0.0.1 14 management-log-cache 100 topology subnet script-security 2 port 443 proto tcp-server cipher bf-cbc auth sha1 client-connect /tmp/openvpn/clcon.sh client-disconnect /tmp/openvpn/cldiscon.sh client-config-dir /tmp/openvpn/ccd comp-lzo adaptive tls-server ifconfig-pool-persist /tmp/openvpn/ip-pool 86400 client-to-client tcp-nodelay tun-mtu 1500 mtu-disc yes server 10.1.1.0 255.255.255.0 dev tun2 tun-ipv6 push "route 192.168.1.0 255.255.255.0" push "dhcp-option DNS 8.8.8.8" push "redirect-gateway def1" server 10.1.1.0 255.255.255.0 dev tun0 proto tcp keepalive 10 120 dh /tmp/openvpn/dh.pem ca /tmp/openvpn/ca.crt cert /tmp/openvpn/cert.pem key /tmp/openvpn/key.pem
and the client log is:
State
Server: : Local Address: Remote Address: Client: CONNECTED: SUCCESS Local Address: 10.1.1.2 Remote Address: 10.1.1.2
Status
Log
Serverlog Clientlog 20160110 21:04:13 I OpenVPN 2.3.2 mips-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on May 23 2014
20160110 21:04:13 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:16
20160110 21:04:13 W WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
20160110 21:04:13 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20160110 21:04:13 W WARNING: file '/tmp/openvpncl/client.key' is group or others accessible
20160110 21:04:13 Socket Buffers: R=[87380->131072] S=[16384->131072]
20160110 21:04:13 N RESOLVE: Cannot resolve host address: nonononono.mynetgear.com: Name or service not known
20160110 21:04:13 I Attempting to establish TCP connection with [AF_INET]z.z.z.z:443 [nonblock]
20160110 21:04:14 I TCP connection established with [AF_INET]z.z.z.z:443
20160110 21:04:14 I TCPv4_CLIENT link local: [undef]
20160110 21:04:14 I TCPv4_CLIENT link remote: [AF_INET]z.z.z.z:443
20160110 21:04:14 TLS: Initial packet from [AF_INET]z.z.z.z:443 sid=122e3c6f 0ab37fcb
20160110 21:04:15 VERIFY OK: depth=1 C=RO ST=GJ L=Targu-Jiu O=Radu OU=HomeServer CN=HomeServer name=HomeServer emailAddress=
radusendroiu@outlook.com
20160110 21:04:15 VERIFY OK: depth=0 C=RO ST=GJ L=Targu-Jiu O=Radu OU=HomeServer CN=NightHawk name=NightHawk emailAddress=
radusendroiu@outlook.com
20160110 21:04:17 NOTE: --mute triggered...
20160110 21:04:17 5 variation(s) on previous 3 message(s) suppressed by --mute
20160110 21:04:17 I [NightHawk] Peer Connection Initiated with [AF_INET]z.z.z.z:443
20160110 21:04:19 SENT CONTROL [NightHawk]: 'PUSH_REQUEST' (status=1)
20160110 21:04:19 PUSH: Received control message: 'PUSH_REPLY route 192.168.1.0 255.255.255.0 dhcp-option DNS 8.8.8.8 redirect-gateway def1 route-gateway 10.1.1.1 topology subnet ping 10 ping-restart 120 socket-flags TCP_NODELAY ifconfig 10.1.1.2 255.255.255.0'
20160110 21:04:19 OPTIONS IMPORT: timers and/or timeouts modified
20160110 21:04:19 NOTE: --mute triggered...
20160110 21:04:19 1 variation(s) on previous 3 message(s) suppressed by --mute
20160110 21:04:19 Socket flags: TCP_NODELAY=1 succeeded
20160110 21:04:19 OPTIONS IMPORT: --ifconfig/up options modified
20160110 21:04:19 OPTIONS IMPORT: route options modified
20160110 21:04:19 OPTIONS IMPORT: route-related options modified
20160110 21:04:19 NOTE: --mute triggered...
20160110 21:04:19 1 variation(s) on previous 3 message(s) suppressed by --mute
20160110 21:04:19 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=eth0 HWADDR=30:b5:c2:08:c0:9f
20160110 21:04:19 I TUN/TAP device tun1 opened
20160110 21:04:19 TUN/TAP TX queue length set to 100
20160110 21:04:19 I do_ifconfig tt->ipv6=1 tt->did_ifconfig_ipv6_setup=0
20160110 21:04:19 I /sbin/ifconfig tun1 10.1.1.2 netmask 255.255.255.0 mtu 1500 broadcast 10.1.1.255
20160110 21:04:19 /sbin/route add -net z.z.z.z netmask 255.255.255.255 gw 192.168.0.1
20160110 21:04:19 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.1.1.1
20160110 21:04:19 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.1.1.1
20160110 21:04:19 /sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.1.1.1
20160110 21:04:19 I Initialization Sequence Completed
20160110 21:04:28 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:04:28 D MANAGEMENT: CMD 'state'
20160110 21:04:28 MANAGEMENT: Client disconnected
20160110 21:04:28 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:04:28 D MANAGEMENT: CMD 'state'
20160110 21:04:28 MANAGEMENT: Client disconnected
20160110 21:04:28 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:04:28 D MANAGEMENT: CMD 'state'
20160110 21:04:28 MANAGEMENT: Client disconnected
20160110 21:04:28 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:04:28 D MANAGEMENT: CMD 'log 500'
20160110 21:04:28 MANAGEMENT: Client disconnected
20160110 21:14:37 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:14:37 D MANAGEMENT: CMD 'state'
20160110 21:14:37 MANAGEMENT: Client disconnected
20160110 21:14:37 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:14:37 D MANAGEMENT: CMD 'state'
20160110 21:14:37 MANAGEMENT: Client disconnected
20160110 21:14:37 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:14:38 D MANAGEMENT: CMD 'state'
20160110 21:14:38 MANAGEMENT: Client disconnected
20160110 21:14:38 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20160110 21:14:38 D MANAGEMENT: CMD 'log 500'
19700101 00:00:00
...I just can't figure out what is that i'm doing wrong...
any sugestions?