Recentemente, criei um VPS Ubuntu 16.04 usando o DigitalOcean . Eu instalei o OpenVPN usando este script . Mas nenhum dos meus portos está aberto. Apenas 22 está funcionando. Eu quero abrir 1194 e 443 portas. Por favor, ajude!
root@SanFrancisco-VPN:~# sudo ufw status
Status: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
80 ALLOW Anywhere
443 ALLOW Anywhere
443/tcp ALLOW Anywhere
53 ALLOW Anywhere
22 ALLOW Anywhere
2222 ALLOW Anywhere
4832 ALLOW Anywhere
21/tcp ALLOW Anywhere
6000:6007/tcp ALLOW Anywhere
6000:6007/udp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
53 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
2222 (v6) ALLOW Anywhere (v6)
4832 (v6) ALLOW Anywhere (v6)
21/tcp (v6) ALLOW Anywhere (v6)
6000:6007/tcp (v6) ALLOW Anywhere (v6)
6000:6007/udp (v6) ALLOW Anywhere (v6)
Mas o NMAP fornece o seguinte
root@SanFrancisco-VPN:~# nmap localhost
Starting Nmap 7.01 ( https://nmap.org ) at 2016-11-04 15:25 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000070s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
22/tcp open ssh
Nmap done: 1 IP address (1 host up) scanned in 1.59 seconds
root@SanFrancisco-VPN:~# sudo netstat -ntlp
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:22 0.0.0.0:* LISTEN 1334/sshd
tcp6 0 0 :::22 :::* LISTEN 1334/sshd