Dear all,
I have input command ntpd in openvpn server in order to sync time, but i found that i am unavailable to connect in clients and log here:
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Re-using SSL/TLS context
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 LZO compression initialized
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Control Channel MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Local Options String: 'V4,dev-type tap,link-mtu 1574,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 0,cipher DES-EDE3-CBC,auth SHA1,keysize 192,tls-auth,key-method 2,tls-server'
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1574,tun-mtu 1532,proto UDPv4,comp-lzo,keydir 1,cipher DES-EDE3-CBC,auth SHA1,keysize 192,tls-auth,key-method 2,tls-client'
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Local Options hash (VER=V4): 'b45c974d'
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Expected Remote Options hash (VER=V4): 'a67f827a'
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 TLS: Initial packet from 192.168.13.56:4270, sid=352ada36 d2aac964
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 CRL: cannot read: /etc/openvpn/easy-rsa/2.0/keys/crl.pem: Permission denied (errno=13)
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Exiting
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Closing TUN/TAP interface
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 /sbin/ip addr del dev tap0 10.8.0.1/24
Jun 21 12:55:56 OpenVPN01 openvpn[2698]: 192.168.13.56:4270 Linux ip addr del failed: external program exited with error status: 2
Jun 21 12:55:56 OpenVPN01 avahi-daemon[1372]: Interface tap0.IPv4 no longer relevant for mDNS.
Jun 21 12:55:56 OpenVPN01 avahi-daemon[1372]: Leaving mDNS multicast group on interface tap0.IPv4 with address 10.8.0.1.
Jun 21 12:55:56 OpenVPN01 avahi-daemon[1372]: Withdrawing address record for fe80::9044:aaff:fee5:f735 on tap0.
Jun 21 12:55:56 OpenVPN01 avahi-daemon[1372]: Withdrawing address record for 10.8.0.1 on tap0.
Jun 21 12:55:57 OpenVPN01 ntpd[2110]: Deleting interface #8 tap0, fe80::9044:aaff:fee5:f735#123, interface stats: received=0, sent=0, dropped=0, active_time=145 secs
Jun 21 12:55:57 OpenVPN01 ntpd[2110]: Deleting interface #9 tap0, 10.8.0.1#123, interface stats: received=0, sent=0, dropped=0, active_time=145 secs
The tap0 interface has been auto deleted when I connect to openvpn from clients, I tried 'service openvpn restart', the tap0 showed but re-connect from client again, the tap0 still auto delete.
[root@OpenVPN01 openvpn]# ifconfig
eth0 Link encap:Ethernet HWaddr BA:74:AF:CB:9D:37
inet addr:10.1.101.203 Bcast:10.1.101.255 Mask:255.255.255.0
inet6 addr: fe80::b874:afff:fecb:9d37/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2853 errors:0 dropped:0 overruns:0 frame:0
TX packets:1887 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:283857 (277.2 KiB) TX bytes:286728 (280.0 KiB)
Interrupt:18
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1152 (1.1 KiB) TX bytes:1152 (1.1 KiB)
tap0 Link encap:Ethernet HWaddr EE:F2:D0:E0:30:C5 <<<< Why Auto Delete??
inet addr:10.8.0.1 Bcast:10.8.0.255 Mask:255.255.255.0
inet6 addr: fe80::ecf2:d0ff:fee0:30c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:3127 (3.0 KiB)
how could I solve his problems?