Frequently changing IP addresses

Cameron Simpson cs at zip.com.au
Sat May 8 06:34:47 CEST 2010


Warning: no tinc-related soutions below!

On 07May2010 22:45, Stewart Watson <s.watson at orange.net> wrote:
| I am a user of openVPN and am keen to explore tinc to help with a specific
| problem.
| 
| My example - I have 10 computers all connected to internet via mobile
| broadband and public apns. all wan ip addresses are dynamic and change often
| - there is no machine or point with a static ip. I am not allowed to use any
| third party services like dyndns. I want each computer to continue to be
| able to talk to the other even if they go down one by one. 
| 
| is this even possible and can tinc help maintain connectivity over networks
| where ip addresses are constantly changing, without any static point(s)?

I've never used tinc, but if at least one machine is always on you could
have machine report their new IPs to all the others every time it
changes. I'd use ssh with stricthostkeychecking to ensure I didn't
report to "not my machine". Each machine keeps a table (text file) of
its own and the other machines' IPs, and updates from the "new IP"
report. And that text file can be /etc/hosts.

The only fiddly bit is networks that issue private IPs and NAT
to the outside world. You could derive the IP from the ssh connection,
but it wouldn't reverse. OTOH, ssh has a VPN mode itself.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

TCP/IP: handling tomorrow's loads today.
OSI: handling yesterday's loads someday.
        - Henry Spencer @ U of Toronto Zoology, henry at zoo.toronto.edu


More information about the tinc mailing list