notes/ubuntu/networking.md
2023-01-12 17:33:50 -05:00

745 B

scanning services that are running:

sudo nmap -T Aggressive -A -v 127.0.0.1 -p 1-10000

sudo netstat --tcp --udp --listening --program

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 ".*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

ip setup: https://help.ubuntu.com/lts/serverguide/network-configuration.html

network interfaces

ip link lists all interfaces multipass setup some dummy interfaces and left them there. to delete did ip link delete mpqemubr0-dummy