Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##### клиент
- root@gw-sister:~# cat /var/log/openvpn.log
- Thu Oct 23 08:02:31 2014 OpenVPN 2.2.2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Mar 14 2013
- Thu Oct 23 08:02:31 2014 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
- Thu Oct 23 08:02:31 2014 LZO compression initialized
- Thu Oct 23 08:02:31 2014 Attempting to establish TCP connection with 37.195.80.12:443 [nonblock]
- Thu Oct 23 08:02:32 2014 TCP connection established with 37.195.80.12:443
- Thu Oct 23 08:02:32 2014 TCPv4_CLIENT link local: [undef]
- Thu Oct 23 08:02:32 2014 TCPv4_CLIENT link remote: 37.195.80.12:443
- Thu Oct 23 08:02:35 2014 [server] Peer Connection Initiated with 37.195.80.12:443
- Thu Oct 23 08:02:37 2014 TUN/TAP device tap0 opened
- Thu Oct 23 08:02:37 2014 /sbin/ifconfig tap0 192.168.222.19 netmask 255.255.255.0 mtu 1500 broadcast 192.168.222.255
- Thu Oct 23 08:02:37 2014 Initialization Sequence Completed
- ###### при рестарте на тороне клиента
- root@gw-sister:~# /etc/init.d/openvpn restart
- ###### логи сервера
- [root@gw-home ccd]# tail -f /var/log/openvpn/openvpn-log.log
- Thu Oct 23 13:39:14 2014 sister/95.167.144.45:60349 Connection reset, restarting [0]
- Thu Oct 23 13:39:14 2014 sister/95.167.144.45:60349 SIGUSR1[soft,connection-reset] received, client-instance restarting
- Thu Oct 23 13:39:15 2014 TCP connection established with [AF_INET]95.167.144.45:60350
- Thu Oct 23 13:39:16 2014 95.167.144.45:60350 TLS: Initial packet from [AF_INET]95.167.144.45:60350, sid=aba36da5 7fe48e18
- Thu Oct 23 13:39:18 2014 95.167.144.45:60350 VERIFY OK: depth=1, C=RU, ST=NSK, L=NOVOSIBIRSK, O=XAXA, CN=XAXA CA, emailAddress=admin@xaxatyxa.ru
- Thu Oct 23 13:39:18 2014 95.167.144.45:60350 VERIFY OK: depth=0, C=RU, ST=NSK, L=NOVOSIBIRSK, O=XAXA, CN=sister, emailAddress=admin@xaxatyxa.ru
- Thu Oct 23 13:39:19 2014 95.167.144.45:60350 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
- Thu Oct 23 13:39:19 2014 95.167.144.45:60350 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
- Thu Oct 23 13:39:19 2014 95.167.144.45:60350 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
- Thu Oct 23 13:39:19 2014 95.167.144.45:60350 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
- Thu Oct 23 13:39:19 2014 95.167.144.45:60350 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
- Thu Oct 23 13:39:19 2014 95.167.144.45:60350 [sister] Peer Connection Initiated with [AF_INET]95.167.144.45:60350
- Thu Oct 23 13:39:19 2014 sister/95.167.144.45:60350 OPTIONS IMPORT: reading client specific options from: /etc/openvpn/ccd/sister
- Thu Oct 23 13:39:21 2014 sister/95.167.144.45:60350 PUSH: Received control message: 'PUSH_REQUEST'
- Thu Oct 23 13:39:21 2014 sister/95.167.144.45:60350 send_push_reply(): safe_cap=940
- Thu Oct 23 13:39:21 2014 sister/95.167.144.45:60350 SENT CONTROL [sister]: 'PUSH_REPLY,route 192.168.222.0 255.255.255.0,route-gateway 192.168.222.1,route 192.168.17.0 255.255.255.0 192.168.222.1,route 192.168.111.0 255.255.255.0 192.168.222.111,route 192.168.112.0 255.255.255.0 192.168.222.112,route 192.168.113.0 255.255.255.0 192.168.222.113,route 192.168.114.0 255.255.255.0 192.168.222.114,route 192.168.115.0 255.255.255.0 192.168.222.115,ifconfig 192.168.222.19 255.255.255.0' (status=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement