Odp: Prawidłowa konfiguracja OpenVPN
Log
logread | grep openvpn
root@Gargoyle:~# logread | grep openvpn
Thu Jan 19 17:25:20 2017 daemon.notice openvpn(custom_config)[632]: kowal/81.219.71.64:64303 [kowal] Inactivity timeout (--ping-restart), restarting
Thu Jan 19 17:25:20 2017 daemon.notice openvpn(custom_config)[632]: kowal/81.219.71.64:64303 SIGUSR1[soft,ping-restart] received, client-instance restarting
Thu Jan 19 17:32:14 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 TLS: Initial packet from [AF_INET]94.254.144.180:30696, sid=dd12bf4b d37f82ad
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 VERIFY OK: depth=1, C=??, ST=UnknownProvince, L=UnknownCity, O=UnknownOrg, OU=UnknownOrgUnit, CN=hxfkjkdvlmmttkc, name=hxfkjkdvlmmttkc, emailAddress=hxfkjkdvlmmttkc@ftrkinqvhqfjmgd.com
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 VERIFY OK: depth=0, C=??, ST=UnknownProvince, L=UnknownCity, O=UnknownOrg, OU=UnknownOrgUnit, CN=kowal, name=kowal, emailAddress=kowal@.com
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: 94.254.144.180:30696 [kowal] Peer Connection Initiated with [AF_INET]94.254.144.180:30696
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: kowal/94.254.144.180:30696 OPTIONS IMPORT: reading client specific options from: /etc/openvpn/ccd/kowal
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: kowal/94.254.144.180:30696 MULTI: Learn: 10.8.0.2 -> kowal/94.254.144.180:30696
Thu Jan 19 17:32:15 2017 daemon.notice openvpn(custom_config)[632]: kowal/94.254.144.180:30696 MULTI: primary virtual IP for kowal/94.254.144.180:30696: 10.8.0.2
Thu Jan 19 17:32:17 2017 daemon.notice openvpn(custom_config)[632]: kowal/94.254.144.180:30696 PUSH: Received control message: 'PUSH_REQUEST'
Thu Jan 19 17:32:17 2017 daemon.notice openvpn(custom_config)[632]: kowal/94.254.144.180:30696 send_push_reply(): safe_cap=940
Thu Jan 19 17:32:17 2017 daemon.notice openvpn(custom_config)[632]: kowal/94.254.144.180:30696 SENT CONTROL [kowal]: 'PUSH_REPLY,topology subnet,route-gateway 10.8.0.1,ping 25,ping-restart 180,route 192.168.1.0 255.255.255.0 10.8.0.1,ifconfig 10.8.0.2 255.255.255.0' (status=1)
root@Gargoyle:~#