DynDNS & dynamic IP address

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
92,823
Ok, I'm lost.

I setup an account with DynDNS as I want to use SSH & FTP server on my laptop.

I get a dynamic IP address from the ISP assigned to my router. Devices on my local lan have static IP's.

1. What do I have to do on my router, port forwarding etc?
2. What configs do I have to do on my linux box?

The more detail the better thx.
 
K

kingrob

Guest
Most important is to include your DynDNS username + password in the DynDNS section of your router. Not sure what type of router you use, but they all have a DynDNS section.

Then you must create a firewall rule to allow for the SSH port and forward it to a specific IP address on your local network. That should be it.

You dont have to do anything on your linux box, everything is done on the router.
 
Last edited by a moderator:

Anthro

Expert Member
Joined
Jun 13, 2006
Messages
3,560
You dont mention what router you have ?
You would need to forward (virtual server) forward the necessary port assignments for FTP and SSH t the static machine IP
If your router is advanced enough it will already have space in its config for DYNDNS - you just need to plonk your usernamer and password into there, and it will automatically update to the DYNDNS database
 
Last edited:

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
92,823
Most important is to include your DynDNS username + password in the DynDNS section of your router. Not sure what type of router you use, but they all have a DynDNS section.

Then you must create a firewall rule to allow for the SSH port and forward it to a specific IP address on your local network. That should be it.

You dont have to do anything on your linux box, everything is done on the router.

You dont mention what router you have ?
You would need to forward (virtual server) forward the necessary port assignments for FTP and SSH t the static machine IP
If your router is advanced enough it will already have space in its config for DYNDNS - you just need to plonk your usernamer and password into there, and it will automatically update to the DYNDNS database

Unfortunately my Microcom 100 does not have support for DynDNS, virtual server support it does have. The username, password & refresh will have to be done from the linux box but how?
 

The_Unbeliever

Honorary Master
Joined
Apr 19, 2005
Messages
103,196
Unfortunately my Microcom 100 does not have support for DynDNS, virtual server support it does have. The username, password & refresh will have to be done from the linux box but how?

What flavour of Linux is your box running?

You'll only need to set up portforwarding on your router.
 

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
92,823
What flavour of Linux is your box running?

You'll only need to set up portforwarding on your router.

Arch Linux.

I did a bit more browsing and it looks like 'ddclient' is the way to go on linux in conjunction with forwarding of the tcp/udp ports on the router for the services I'm gonna run on the linux box.
 

stroebs

Expert Member
Joined
Jan 15, 2009
Messages
2,109
I used ddclient on my linux when I was playing around with it - Worked perfectly as long as you enter your details in correctly. If you look at your router's virtual server or port forwarding section, you should find a way to forward specific ports to the IP address of your linux box. - MAKE SURE your linux box has a static IP address to your router.
 
Top