4 ms·
I'm guessing something like this would work # Redirect port 8080 to local port 22 iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 8080 -j REDIRECT --to-p
by mrrsm 3y ago
I'm guessing something like this would work
# Redirect port 8080 to local port 22
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 8080 -j REDIRECT --to-port 22