On Fri, Jan 16, 2009 at 9:10 AM, Niklas Therning <[email protected]> wrote: > Fred Moore wrote: > This is what I do > > iptables -t nat -A PREROUTING -p tcp -m tcp --dport 21 -j REDIRECT > --to-ports 60021 > > This simply fowards all traffic on port 21 to port 60021. No need for my > Java app to run as root or setuid or anything like that.
Would you be able to add this to our wiki, I think it would be valuable to a lot of users. I can also do it myself but I'm not much of an iptables expert :-) /niklas
