21.9.18

Linux port/host forwarding

https://www.linuxquestions.org/questions/linux-networking-3/iptables-forward-port-to-another-host-844467/

iptables -t nat -A PREROUTING -p tcp -d $from_host --dport $from_port -j DNAT --to $to_host:$to_port
iptables -A FORWARD -d $to_host -p tcp --dport $to_port -j ACCEPT
iptables -t nat -A POSTROUTING -j MASQUERADE
sysctl net.ipv4.ip_forward=1

16.4.18

Windows local port forwarding

netsh interface portproxy add v4tov4 listenport=p listenaddress=lip connectport=rp connectaddress=rip

11.1.18

Default to runlevel 3 / multi-user target

systemctl enable multi-user.target
systemctl set-default multi-user.target