DynDNS & dynamic IP address

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
98,691
Reaction score
31,367
Location
Niflheimr
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.
 
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:
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:
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?
 
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.
 
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.
 
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
Sign up to the MyBroadband newsletter
X