Opening KVM ports

dad311

Member
Jul 20, 2009
41
1
6
I built a new Proxmox machine using version 4.4 I seem to be having issues with opening ports in a Ubuntu 16.04 KVM. I have an Openvpn server up and running, but clients can not connect. ufw shows all ports(s) closed, but I can ssh into the machine. Anything "extra" need to be done to open ports on a KVM machine? thx.



sudo ufw status
[sudo] password for darrell: .
Status: active

To Action From
-- ------ ----
1195/udp ALLOW Anywhere
OpenSSH ALLOW Anywhere
1195/udp (v6) ALLOW Anywhere (v6)
OpenSSH (v6) ALLOW Anywhere (v6)


$ nmap 192.168.100.135

Starting Nmap 7.01 ( https://nmap.org ) at 2017-01-02 15:47 EST
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.09 seconds
 
So, if im reading this correctly UDP 1195 is not open??

netstat -tunlp

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp6 0 0 :::5355 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
udp 0 0 0.0.0.0:5355 0.0.0.0:* -
udp 0 0 0.0.0.0:10000 0.0.0.0:* -
udp 0 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp6 0 0 :::5355 :::* -
 
Last edited:
This problem was resolved. Have a few reboots and restarting openvpn a few time, the problem disappeared. Go figure.....