Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a little problem in my hands:
I need to allow incoming ssh connections on port 7070 (for example) , 'coz my isp blocks ports below 1024 , and I need to have ssh running on port 22 on my internal network. I tried port fowarding in my linksys router , trying to route external port 7070 to my port 22 , but it didnt work. Do I need to run two sshd (one for each port) or can I simply do port fowarding in my router?
(I need to make this thing work , 'coz I'm setting up a cvs repository to do my university assignments with my classmates)
It should work by just forwarding it on your router. On some routers/firewalls you will need to open a port to accept connections as well as forwarding it.
like dorian said, you can run sshd on port 7070 for external connections, you could also have it run on port 22 as well (it can run on both at the same time)
Originally posted by Robert0380 like dorian said, you can run sshd on port 7070 for external connections, you could also have it run on port 22 as well (it can run on both at the same time)
How can I run it on both ports? I believe that this is the best option available for me.... and I didnt figure how to do it ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.