diff --git a/ubuntu/network.md b/ubuntu/network.md deleted file mode 100644 index e69de29..0000000 diff --git a/ubuntu/networking.md b/ubuntu/networking.md index 8dab8e1..f28ccd9 100644 --- a/ubuntu/networking.md +++ b/ubuntu/networking.md @@ -9,7 +9,7 @@ lists programs with port numbers: `sudo netstat -tup` sudo lsof +M -i4 -i6 # list all established connection that are not internal only" -sudo sockstat | grep "ESTAB" | grep -v "127.0.0.1.*127.0.0.1" | grep -v "192.168.1.110.*192.168.1.110" +sudo sockstat | grep "ESTAB" | grep -v ".*192\.168\.1\.110.*192\.168\.1\.110.*" | grep -v ".*127\.0\.0\.1.*127\.0\.0\.1.*" let's encrypt certbot instructions for apache: https://certbot.eff.org/lets-encrypt/ubuntubionic-apache