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 want to access and run some programs in the terminal on my office Linux machine from my home through Internet. I use Fedora 10. However the internet connection at office has dynamic IP.
Is it possible to access remotely a terminal on machine which has Dynamic IP addresses? How?
If you're worried about determining its IP, sign up with one of the free Dynamic DNS services and set your server to run a script (often provided) that updates its IP with the services, every time the network interface comes up.
If you're worried about determining its IP, sign up with one of the free Dynamic DNS services and set your server to run a script (often provided) that updates its IP with the services, every time the network interface comes up.
Thanks for your answer. Yes I was worried about how it will keep track of changing IP address. Let me try.
If your office Linux machine connects directly to the Internet (scary, security-wise) then AlucardZero's suggestion is the best.
If your office LAN connects to the Internet via a modem/router:
There is a better option; many Internet connection routers can be configured to update a dynamic DNS service when they get a new address; this would update faster than periodically running a script.
You will also need to configure it to port-forward incoming terminal packets (ssh?) to your computer
The best choice is to have a dyndns allowing you to access your computer remotely. It will provide you the IP as static, even when you are indeed using a dynamic IP. The good on it, is that you don't need to pay for a static IP.
The best choice is to have a dyndns allowing you to access your computer remotely. It will provide you the IP as static, even when you are indeed using a dynamic IP. The good on it, is that you don't need to pay for a static IP.
Well I opened an account at DynDNS and got a hostname myname.ath. when I am opening this I am directed to my router, where we set various parameters of the router.
I dont have any idea what next should be done. I would really appreciate if you could tell me the next steps that I have to follow. I have seen many articles on internet and I am getting lost in it. Your directions will help me in getting the work done quickly.
On my accessible Linux box, I set up SSH as securely as I could (See my blog post(s) on the subject) then got myself a dyndns account. Port 22 is forwarded by my router to my Linux box and my router is configured to update dyndns every time the ip changes. It's pretty much as simple as that.
Well I opened an account at DynDNS and got a hostname myname.ath. when I am opening this I am directed to my router, where we set various parameters of the router.
I dont have any idea what next should be done. I would really appreciate if you could tell me the next steps that I have to follow.
How are you "opening this"? How are you connected to the Internet when doing so? What command or graphical utility are you using?
What do you mean "I am directed to my router, where we set various parameters of the router"? If you mean you access your router over the Internet and can then configure it, that is very insecure and it would be a good idea to configure the router so it is not possible.
What sort of router is it? What is its IP address on your LAN?
If you want us to spoon feed you with instructions on how to set up your system, you will have to spoon feed us with information about your system and what you are doing. We are not psychic!
On my accessible Linux box, I set up SSH as securely as I could (See my blog post(s) on the subject) then got myself a dyndns account. Port 22 is forwarded by my router to my Linux box and my router is configured to update dyndns every time the ip changes. It's pretty much as simple as that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.