I was wondering if was able to port forward on Linksys from one port to another.
Basically I want all traffic coming in on port 222 to forward to port 22 on a machine in the internal network. Right now all I see in the router is the ability for forward port 22 on the router to port 22 on a machine in the internal network.
I have two machines that have ssh and the external facing port 22 is already forwarded to port 22 on one machine. I want to set up port 222 on the router without having to change any of the ssh config files on the second machine.
Can I do this?
Port Forwarding on Linksys Routers
Moderator: Thanas
Re: Port Forwarding on Linksys Routers
I believe you're looking for "Port Triggering" on a linksys device. If you're using a router from the WRT54G line and the firmware is updated, it should be under: "Applications and Gaming" > "Port Triggering" The menu is pretty self-explanatory. From there, you would need to setup a port forward for the forwarded port, not the original, to forward to the machine. At least this is supposed to work in theory.
Re: Port Forwarding on Linksys Routers
AFAIK, port triggering is only for automatically setting up forwarding based on outgoing connections.
What he wants is putting 2222 into source port and 22 into destination port in the regular NAT settings, and yes that's possible on most routers. Don't know how nerfed the firmware is since the first thing I do is reflash it.
What he wants is putting 2222 into source port and 22 into destination port in the regular NAT settings, and yes that's possible on most routers. Don't know how nerfed the firmware is since the first thing I do is reflash it.
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Re: Port Forwarding on Linksys Routers
Did not change the firmware, but it doesn't look like it's letting me set the internal port more than once
- Starglider
- Miles Dyson
- Posts: 8709
- Joined: 2007-04-05 09:44pm
- Location: Isle of Dogs
- Contact:
Re: Port Forwarding on Linksys Routers
Why is changing the SSH config files a big deal? You know you can have sshd listen on multiple ports if you want to, e.g. 22 and 222 for internal and external access? Just put multiple port directives in the config file.