LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   NO-IP in my LAN (https://www.linuxquestions.org/questions/debian-26/no-ip-in-my-lan-464857/)

binary_dreamer 07-17-2006 09:29 AM

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.

camorri 07-17-2006 09:45 AM

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.

binary_dreamer 07-17-2006 09:48 AM

ok i agree to what u said above, but how do i find my IP? as i said it is dynamic

michaelk 07-17-2006 09:56 AM

Several methods to find your IP, here are a couple.
From whatsmyip.com
The configuration page of your router

binary_dreamer 07-17-2006 09:58 AM

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.

Dutch Master 07-17-2006 10:01 AM

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 :)

farslayer 07-17-2006 10:08 AM

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....

ErrorBound 07-19-2006 06:45 PM

ddclient is an excellent alternative to that dynamic dns client.

Edit: unless it's the same one. Didn't really check.

binary_dreamer 07-20-2006 01:37 AM

could you be so kind and say a few things more for ddclient?

ErrorBound 07-20-2006 08:16 AM

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/

WhatsHisName 07-20-2006 10:25 AM

Code:

# apt-get install ddclient
and answer the configuration questions.

binary_dreamer 07-21-2006 06:07 AM

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?

Dutch Master 07-21-2006 06:44 AM

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

binary_dreamer 07-21-2006 06:46 AM

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?

Dutch Master 07-21-2006 06:52 AM

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.