Privileged ports can only be forwarded by root (how to resolve this issue)
I've opened ftp server in my local LAN (I've got home router with USB hard drive). It allows to open access only on FTP port 21. But I don't want to open unsecure FTP to the world, thus I use SSH tunneling - I connect to my PC by SSH with redirecting local port 21 to <router IP>:21. And my PC says: "Privileged ports can only be forwarded by root." I think, there is a solution:connecting ssh by root, but it is unsecure to open root access. Is there a way to redirect privileged ports on non-root ssh connection?
Last edited by maxhen; 10-25-2011 at 09:38 AM.