SSH to the host and run the command below. This will NAT traffic on port 443 to 8006. You can change these numbers for different ports if needed. iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8006 This will not persist after a reboot. You can install iptables-persistent to keep the […]
Categories