NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
lambcutlet
Jan 25, 2022Aspirant
Port redirection
Hi, How to I achieve a port redirect within the ReadyNAS unit?
Before my broadband router upgrade, I port forwarded an external port to port 22 on the ReadyNAS for remote SSH access. This worked well. However the new router provided by the broadband supplier has blocked the use of port forwarding an external port to internal port 22. So I thought i could perform a port redirect on the ReadyNAS unit.
For example, I was thinking if I port forward something like port 60000 external to 60000 internal on the router. Then on the ReadyNAS redirect port 60000 to 22.
I see port redirection can be performed on linux using iptables with a command like this
# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 22 -j REDIRECT --to-port 60000
Now ReadyNAS doesn't use iptables, as far as i can tell.
So I'm asking does any one know if this can be done?
You'd have a easier time telling sshd to listen on another port like 60000 then just port forwarding to that port.
https://www.simplified.guide/ssh/run-multiple-ports
Steps 5 and 6 are unnecessary from this page.
2 Replies
Replies have been turned off for this discussion
- kohdeeNETGEAR Expert
You'd have a easier time telling sshd to listen on another port like 60000 then just port forwarding to that port.
https://www.simplified.guide/ssh/run-multiple-ports
Steps 5 and 6 are unnecessary from this page.
- lambcutletAspirant
Hi Kohdee,
thanks for replying, changes have been made and its now working. :smileyvery-happy:
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!