Created
October 9, 2015 10:10
-
-
Save optman/0876cd2b7193a25b6639 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@pi2 ~ $ sudo netstat -tunp | |
Active Internet connections (w/o servers) | |
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name | |
tcp 0 0 192.168.1.2:1723 111.206.27.194:40221 ESTABLISHED 14026/pptpd [111.20 | |
tcp 0 232 192.168.1.2:22 111.206.27.194:62388 ESTABLISHED 13660/sshd: pi [pri | |
tcp 0 0 192.168.1.2:54861 106.185.54.176:1723 ESTABLISHED 13735/pptp | |
pi@pi2 ~ $ sudo 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:8080 0.0.0.0:* LISTEN 1843/uv4l | |
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2274/sshd | |
tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN 2251/pptpd | |
udp 0 0 192.168.1.2:1701 0.0.0.0:* 2262/xl2tpd | |
udp 0 0 0.0.0.0:45248 0.0.0.0:* 1843/uv4l | |
udp 0 0 0.0.0.0:13035 0.0.0.0:* 1601/dhclient | |
udp 0 0 127.0.0.1:500 0.0.0.0:* 8614/pluto | |
udp 0 0 192.168.1.2:500 0.0.0.0:* 8614/pluto | |
udp 0 0 10.0.6.2:500 0.0.0.0:* 8614/pluto | |
udp 0 0 0.0.0.0:53 0.0.0.0:* 2087/chinadns | |
udp 0 0 0.0.0.0:68 0.0.0.0:* 1601/dhclient | |
udp 0 0 0.0.0.0:44879 0.0.0.0:* 2087/chinadns | |
udp 0 0 10.10.10.1:123 0.0.0.0:* 2217/ntpd | |
udp 0 0 10.0.6.5:123 0.0.0.0:* 2217/ntpd | |
udp 0 0 192.168.1.2:123 0.0.0.0:* 2217/ntpd | |
udp 0 0 127.0.0.1:123 0.0.0.0:* 2217/ntpd | |
udp 0 0 0.0.0.0:123 0.0.0.0:* 2217/ntpd | |
udp 0 0 127.0.0.1:4500 0.0.0.0:* 8614/pluto | |
udp 0 0 192.168.1.2:4500 0.0.0.0:* 8614/pluto | |
udp 0 0 10.0.6.2:4500 0.0.0.0:* 8614/pluto | |
udp6 0 0 ::1:500 :::* 8614/pluto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment