2020-01-12 21:28:28 -05:00
|
|
|
scanning services that are running:
|
|
|
|
|
|
|
|
sudo nmap -T Aggressive -A -v 127.0.0.1 -p 1-10000
|
|
|
|
|
|
|
|
sudo netstat --tcp --udp --listening --program
|
|
|
|
|
2020-02-18 15:15:06 -05:00
|
|
|
lists programs with port numbers: `sudo netstat -tup`
|
|
|
|
|
2020-01-12 21:28:28 -05:00
|
|
|
sudo lsof +M -i4 -i6
|
|
|
|
|
|
|
|
let's encrypt certbot instructions for apache:
|
2020-02-12 09:54:38 -05:00
|
|
|
https://certbot.eff.org/lets-encrypt/ubuntubionic-apache
|
|
|
|
|
|
|
|
|
|
|
|
ip setup:
|
2020-02-19 23:15:51 -05:00
|
|
|
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`
|