Ive got a client routerboard dialing to the server routerboard (pptp) with a dynamic IP, it keeps changing every 24hours, so I need a method to update the client routerboard, so that everything will be running forever, but I wanna do this all without using any of the dynamic IP services out there, I need my own dedicated service, to give me the peace of mind that it will work forever and to have more control.
run an l2tp client (server at the other end) for managment, and connect to this. Then you’ll get an managment ip, regardless of the dynamic ip provided.
mkay, so you want me that add that ontop of the current system thats already configured as a pptp client board that connects to the pptp server board with dynamic IP?
I assumed that one of them did not change IP. in that case, make an terminator, with same configuration, have a device with a non switching IP.
its also possible using some kind of dynamic dns provider, and make a script that will return IP from dns. but still may be dissconnects. Its not easy to maintain a datastream if both devices always change ip.
hectic, yea.. im going to first try out your first method
my setup is: the server router board is on a ADSL with a dynamic IP, and the client is on a 3G connection, mobile internet, and the IP of this network is private, and not accessible, and shared among 10000000000+ users, no joke.
well, thats the best idea ever, but.. the problem is, both clients will have to get updated once the server IP changed, and the server will just be a mirror for data, and thats going to be super slow and expensive if you add alot of clients later on.
and I really dont trust the dynamic dns/ip boys, because imagine this, one day, that company closed or goes offline for a long time and then you might have 200 clients configured to use their service, hahahah woow hectic times then
If you’re concerned about using a 3rd party that’s been around for years, the alternative is to fork out $250 and run the dynamic DNS server yourself! http://www.dyndnsservices.com/
I’m sure there are probably some open source options to but this was the first one I found with support for any device that works with DynDNS.
It’s completely trivial to write a script that uploads just the ip to a web server of your choosing. Then have the server make whatever changes you need using API/ssh/whatever.
If you’re concerned about using a 3rd party that’s been around for years, the alternative is to fork out $250 and run the dynamic DNS server yourself! http://www.dyndnsservices.com/
I’m sure there are probably some open source options to but this was the first one I found with support for any device that works with DynDNS.
I’m using No-Ip, works good for me, but still
It’s completely trivial to write a script that uploads just the ip to a web server of your choosing. Then have the server make whatever changes you need using API/ssh/whatever.
thats something I’m keen to have …the routerboard can even email its new IP to a mail server lol.. (oh wait, my emails get lost sometimes)
…but I think the best option would be to make the router upload its new IP on some SQL database with its unique “client code” or even excel file, lol, and access it via FTP
But I’ve got a lot of idea’s and 0% knowledge of scripting
OK! folks, I’ve got a idea, for a ghetto dynamic IP setup, but no dns involved
the server routerboard, checks it IP on for example :ether1 ..god only knows how, tracert? and when it detected a change of IP, it uploads the IP address to a ftp server to some file thingy
everyone have access to a ftp server, if you have a website, I have 2 websites running for years and 1 VPS (thats about to expire)
the client routerboard, connects to the ftp site, and reads the file thingy to see if its necessary to change the IP address of the field, say for example, radius server to connect to field
Will it be difficult to do it? I’m just super curious because I love messing around with this systems, but cant write script to save my life.