NO-IP in my LAN
i got a small network. the LAN consists of some computers that have static internal IP. all connect to a dsl modem/router that sees the internet through a dynamic dsl line. i would like to offer some services, from pc 192.168.1.66, like:
-ftp -vnc i heard for NO-IP but i do not see anywhere clients for linux. does anyone got any ideas on how to make that? it is not a matter of speed and performance due to the dsl line. as long as it works it will be ok. |
I have never used the service, there is a linux client on their site. Here is the link:
http://www.no-ip.com/downloads.php?page=linux At one point I set up port forwarding on my router. I had access to one internal ip address, ( my linux box ) and ran ssh over that link. If you try this code, post back the results. |
ok i agree to what u said above, but how do i find my IP? as i said it is dynamic
|
Several methods to find your IP, here are a couple.
From whatsmyip.com The configuration page of your router |
ok i agree. but that means that i have to check everytime my IP. it is not convenient and the bottom line is what's the point? i want to set it up once for all.
|
Another method, with the benefit of checking your online security ;)
http://www.grc.com by Steve Gibson, internet security guru. Click to the Shields Up page and let it check your firewall. You'll be notified with the IP you have :) |
The whole point of running the Dynamic DNS Client on your machine is so your machine can update your Internet IP address automatically to the NO-IP DNS servers. You really don't need to know what your internet IP is because the Dynamic DNS client takes care of that for you....
|
ddclient is an excellent alternative to that dynamic dns client.
Edit: unless it's the same one. Didn't really check. |
could you be so kind and say a few things more for ddclient?
|
ddclient serves the same purpose as the other client that is mentioned somewhere. It runs as a daemon, and connects to your account at NO-IP or whatever (I use DynDNS) every once in a while to update your account as your IP changes. It seems to work really well. A good feature is it's ability to get your IP from an external server (web-update option, I think), which is needed if you are behind a router. Otherwise the client will report your LAN IP (192.168.1.66) instead of your WAN IP.
http://ddclient.sourceforge.net/ |
Code:
# apt-get install ddclient |
ok i got my system setup and i can serve some web pages from my machine. now comes another issue. is there any way to take control of the machine through ssh for example? if yes, how?
|
Off course you can use SSH to control the Apache config, but a far better way is using Webmin. It uses SSH, but still you have a web-based config tool. Debian has Webmin packages, but installing from source gives you the latest: http://www.webmin.com
|
actually i am talking to control the system and not the apache itself. could you tell me how to set it up to use shh with ddclient?
|
Webmin gives you the option to execute cli commands via it's webinterface. Using ddclient it doesn't matter what IP the machine has, Webmin is basicly a webpage, served by the same Apache-server you use for serving your pages to the world. So you enter the 'fixed' IP adress given to you by ddclient, add the portnumber (default: 10000) and log in :)
|
All times are GMT -5. The time now is 03:22 PM. |