networking - I can't open ports on Ubuntu 16.04 VPS - Ask Ubuntu
i made ubuntu 16.04 vps using digitalocean. installed openvpn using this script. none of ports open. 22 working. want open 1194 , 443 ports. please, help!
root@sanfrancisco-vpn:~# sudo ufw status status: active action -- ------ ---- 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)
but nmap gives following
root@sanfrancisco-vpn:~# nmap localhost starting nmap 7.01 ( https://nmap.org ) @ 2016-11-04 15:25 utc nmap scan report localhost (127.0.0.1) host (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
Comments
Post a Comment