Hi all,
I have an OpenVPN server running on a VPS and a client configured on a router. The configuration worked perfectly for a month, but from this morning I can't see anymore the router from the cloud server. This is the openvpn-status.log file:
OpenVPN CLIENT LIST
Updated,Wed Oct 18 11:38:30 2017
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
UNDEF,XX.XXX.XX.XXX:33344,774,4278,Wed Oct 18 11:38:00 2017
UNDEF,XX.XXX.XX.XXX:33219,698,4278,Wed Oct 18 11:37:57 2017
UNDEF,XX.XXX.XX.XXX:33735,698,4734,Wed Oct 18 11:37:40 2017
UNDEF,XX.XXX.XX.XXX:32901,698,2910,Wed Oct 18 11:38:28 2017
UNDEF,XX.XXX.XX.XXX:33670,698,3480,Wed Oct 18 11:38:23 2017
UNDEF,XX.XXX.XX.XXX:33027,698,4734,Wed Oct 18 11:37:37 2017
UNDEF,XX.XXX.XX.XXX:33538,698,4734,Wed Oct 18 11:37:35 2017
UNDEF,XX.XXX.XX.XXX:33603,698,4734,Wed Oct 18 11:37:50 2017
UNDEF,XX.XXX.XX.XXX:32775,698,4734,Wed Oct 18 11:37:30 2017
UNDEF,XX.XXX.XX.XXX:33349,698,4734,Wed Oct 18 11:37:52 2017
UNDEF,XX.XXX.XX.XXX:32833,698,4734,Wed Oct 18 11:37:42 2017
UNDEF,XX.XXX.XX.XXX:33476,698,3822,Wed Oct 18 11:38:18 2017
UNDEF,XX.XXX.XX.XXX:33600,698,4278,Wed Oct 18 11:38:08 2017
UNDEF,XX.XXX.XX.XXX:33153,698,4278,Wed Oct 18 11:38:05 2017
UNDEF,XX.XXX.XX.XXX:33664,698,4734,Wed Oct 18 11:37:55 2017
UNDEF,XX.XXX.XX.XXX:33474,698,4734,Wed Oct 18 11:37:47 2017
UNDEF,XX.XXX.XX.XXX:33217,698,4734,Wed Oct 18 11:37:45 2017
UNDEF,XX.XXX.XX.XXX:33536,698,3708,Wed Oct 18 11:38:20 2017
UNDEF,XX.XXX.XX.XXX:33089,698,3936,Wed Oct 18 11:38:13 2017
UNDEF,XX.XXX.XX.XXX:32960,698,4164,Wed Oct 18 11:38:10 2017
UNDEF,XX.XXX.XX.XXX:33665,698,3024,Wed Oct 18 11:38:25 2017
UNDEF,XX.XXX.XX.XXX:33729,698,4734,Wed Oct 18 11:37:32 2017
UNDEF,XX.XXX.XX.XXX:32963,698,3822,Wed Oct 18 11:38:15 2017
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
GLOBAL STATS
Max bcast/mcast queue length,0
END
Please note that each client in the OpenVPN client list reported in the log has the same IP address and that the ROUTING TABLE is empty.
This is my server config:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir /etc/openvpn/ccd
route 192.168.1.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
user nobody
group nogroup
This is my client configuration file:
client
dev tun
proto udp
remote YYY.YYY.YYY.YYY 1194
remote-random
resolv-retry infinite
nobind
mute-replay-warnings
ca ca.crt
cert client.crt
key client.key
verb 3
What may have happened?
Thanks a lot.
Larry