notes/ubuntu/networking.md
2020-02-19 23:15:51 -05:00

22 lines
578 B
Markdown

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
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`