Comment

Comment by mrrsm

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

parent mrrsm 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton