Re: Setting up a Linksys WRT54G router for SSH port forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/04/2010 07:08 PM, Sam Sharpe wrote:
On 5 October 2010 00:02, Jim <binarynut@xxxxxxxxxxx> wrote:
ÂFedora 12 on both computers
That's irrelevant. This isn't a Fedora problem, this is a basic
networking problem.

I have two computers setting behind this Linksys WRT54G router and I
want to connect to both of them by SSH remote across the Internet. Â ÂI
have the internet IP for this router.

      
I have Googled the Internet and found out how to setup one on port 22 ,
but not Two computers using SSH port 22
You can't do this, which is why Google isn't giving you any hits.
Think about it...

If you connect remotely to port 22 on the internet ip of the router,
how would it know which server you were intending to connect to?
Routers are very clever these days, but I haven't seen any with ESP.

You need to run SSH on a different port on one of these machines and
forward that port on the router to that machine.

--
Sam
Â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.

To set iptable rules , how would I do that for port 2222 ?
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux