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.
Testing remote administration via ssh on Internet
======================================
I have one broadband with dynamic IP and also a 56K modem also with dynamic address from the same ISP. Can I test remote-admin/setup via SSH/Internet on two Linux PCs, one connected to broadband and another to 56K modem.
If YES, then HOW to make it because both with dynamic IP
Well first you need to know the IP number. You can't just blindly try to telnet or ssh to a computer. Secondly, you'll need to make sure the firewall (if you have one) permits incoming connections. Thirdly, you'll need to make sure /etc/hosts.allow and /etc/hosts.deny are set up OK. In hosts.deny you should have the line ALL :ALL. In allow you should specify only the IPs coming from your ISP as being allowed (and anyone else you wish to let in). That way your computer is more secure.
Originally posted by adz Well first you need to know the IP number. You can't just blindly try to telnet or ssh to a computer. Secondly, you'll need to make sure the firewall (if you have one) permits incoming connections. Thirdly, you'll need to make sure /etc/hosts.allow and /etc/hosts.deny are set up OK. In hosts.deny you should have the line ALL :ALL. In allow you should specify only the IPs coming from your ISP as being allowed (and anyone else you wish to let in). That way your computer is more secure.
Hi,
Thanks for your advice.
First I will connect both PCs to Internet via ADSL and 56K modems respective. Then I will to locate IP of each PC with "ifconfig". Afterwards I will continue to configure relevant files, etc.
In addition to what's already been mentioned, I use the free DynDNS service and ddclient to make sure the computer registers a name when it goes online. That way I don't have to worry about IP addresses.
Originally posted by adz One thing. Are both the computers on the same LAN? If so then the internet IPs are irrelevant. If not then disregard the previous statement.
Hi,
One is dialup, 56K modem. Another is broadband via ADSL modem, provided by the same ISP
Originally posted by hw-tph In addition to what's already been mentioned, I use the free DynDNS service and ddclient to make sure the computer registers a name when it goes online. That way I don't have to worry about IP addresses.
H�an
Hi,
Thank for your advice which is rather interesting.
If you scroll down a bit on that page you will find a program with they pretty dull and boring name "ddclient" which works well with Linux. That's what I have been using for a couple of years now and I have never had any problems with it.
Originally posted by hw-tph If you scroll down a bit on that page you will find a program with they pretty dull and boring name "ddclient" which works well with Linux. That's what I have been using for a couple of years now and I have never had any problems with it.
H�an
Hi,
I found "ddclient Â_ v3.6.3" there but the link seemed broken, clicking it without response
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.