Remotely Accessing Linux Machine with Dynamic IP
Hi
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? Thanks and regards, Heshsham |
Yes, the same way as with any other IP??
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. |
Quote:
Thanks once again |
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:
|
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.
- see http://www.dyndns.com/services/dns/dyndns/ddns.html About remote access, the best and safe option is to use RDP over VPN. http://www.linuxforums.org/forum/lin...rough-vpn.html Hope this help. |
Quote:
I want to first do remote access through SSH. The following commands tell me whether I have SSH running or not: [root@Heshsham ~]# ps -e |grep ssh 2056 ? 00:00:00 sshd 2566 ? 00:00:00 ssh-agent 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. Thanks once again |
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.
|
Quote:
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! |
Quote:
|
Quote:
However, here's a link to a 'tutorial' I put on the Mepis Community site. |
All times are GMT -5. The time now is 12:43 AM. |