1. remote port scan
nc -zv 127.0.0.1 80
nc -zv 127.0.0.1 22 80 8080
nc -zv 127.0.0.1 22 20-30
2. iptables SNAT sharing Internet
sysctl -w net.ipv4.ip_forward=1
sysctl -p
iptables -X
iptables -t nat -X
iptables -F
iptables -t nat -F
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eno2 -j SNAT --to-source 129.107.208.76
3. ip scan
nmap -sP 10.0.0.*
4. dhcp
hanson@u41@11:52:06:/etc/netctl ls
eno1 examples hooks interfaces
hanson@u41@11:52:07:/etc/netctl cat eno1
Description='A basic dhcp ethernet connection'
Interface=eno1
Connection=ethernet
IP=dhcp
systemctl restart dhcpcd.service
sudo vim /etc/dhcp/dhcpd.conf
sudo vim /etc/bind/zones/db.192.168.0
sudo vim /etc/bind/zones/uta.edu.db
sudo /etc/init.d/isc-dhcp-server restart
sudo /etc/init.d/isc-dhcp-server status