Setting up a Linksys WRT54G router for SSH port forwarding
Raman Gupta
rocketraman at fastmail.fm
Mon Oct 4 23:24:49 UTC 2010
On 10/04/2010 07:18 PM, Jim wrote:
> So I /assume I would have to do it this way, in router ,
> ssh 22 2222 both 192.168.1.101 enable and go
> into /etc/ssh/sshd_config on 192.168.1.101 (computer #2) and set port
> to 2222.
You can leave both Fedora machines on port 22. Its the incoming router
port that needs to change for the second machine i.e.
router port 22, forward to machine 1, port 22
router port 2222, forward to machine 2, port 22
Cheers,
Raman
More information about the users
mailing list