Answer the question
In order to leave comments, you need to log in
Why can openVPN not listen on a port?
Good afternoon! I set up OpenVPN, set it up according to the manual with digital ocean, everything worked fine until today. The client has ceased to cling. We have a white IP, when checking the port it says that it is closed, although forwarding on the router is configured and working. If you scan through nmap inside the network, then it says that 1194 is filtered out. Tried scanning with firewall on and off. OpenVPN itself lies in the hyper-v virtual machine on ubuntu 18.04. The rules in the firewall are written, the service is working. Where to dig? Because of what, work can be disrupted if there were no updates?
sudo systemctl status openvpn
● openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2020-04-11 03:10: 53 UTC; 1 week 6 days ago
Process: 1023 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 1023 (code=exited, status=0/SUCCESS)
netstat -au -pt
(Not all processes could be identified, non- owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:domain 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN -
tcp 0 0 srv_ubuntu:ssh 192.168.10.35:11687 ESTABLISHED -
tcp 0 628 srv_ubuntu:ssh 192.168.10.35:24295 ESTABLISHED -
tcp6 0 0 [::]:ssh [::]:* LISTEN -
udp 0 0 0.0.0.0:openvpn 0.0.0.0:* -
udp 0 0 localhost:domain 0.0.0.0:* -
sudo ufw status
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
1194/udp ALLOW Anywhere
Anywhere ALLOW 192.168.10.1
OpenSSH (v6) ALLOW Anywhere (v6)
1194/udp (v6) ALLOW Anywhere (v6)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question