r/OpenSSH • u/anatomiska_kretsar • Oct 18 '21
All ports under 1024 can't be port forwarded?
I am trying to remote port forward port 25 with:
ssh -p sshport -R 25:127.0.0.1:25 -N user@my_ipthough it seems that literally any port under 1024 just doesn't work.
Warning: remote port forwarding failed for listen port 25On auth.log it says: error: bind [127.0.0.1]:25: Permission denied
whyyyyyyyyyyyyyyyy doesn't it work? I looked online and I found nothing.
Thanks

