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 am having a DSL modem and provider has enabled NAT on the modem I have the external IP address and internal address I am runing my SSH server on my internal IP address now the problem I am having is when I connect to the ssh server
ssh my.external.ipaddress
and doesn't connect to the internal ssh server
I don't know what to do with this I called the provider asking him could i disable the NAT from the modem and use the address on one of NIC card. but they say that it would not work could some one help me with. and plus I don't have any firewall on my DSL modem.
first port of call would be to check out http://portfoward.com to get your router to forward an extneral port on the router into the ssh server. that's really all that's required other than a possible firewall change on some routers, depending how they work.
hmm, odd http://www.portforward.com works though. hate it when dns and webservers do that... i can't tell you exactly what to do as i don't know what router you have, hence the link.
Exactly how to forward a port is device-dependent. Your router manual (or asdl modem manual) should tell you. If you know how to access the controls in the router/modem then you might be able to just figure it out.
Beyond that you need to check the settings in your sshd_config to make sure the daemon isn't restricting addresses that can access it to the LAN only.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.