Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a set of single computers (terminals). Each terminal is connected to Internet via xDSL or Dialup connection. Terminal IPs are dynamic. Terminals would like to communicate to each other via sending messages.
Here I see 2 problems:
1) Provide secure communications over Internet.
2) Terminal addressing. The IPs are dynamic. So, any terminal doesn't know IPs of other terminals.
My understanding is that I need to create VPN for my terminals. It would solve the both problems.

What architecture such VPN should have? What are the BKMs?
I think that I need a separate host in Internet with static IP. It will be my VPN server.
Each terminal will have VPN client software and will connect to that server using the server's static IP. After terminal have connected to the server (to the VPN), it receives predefined IP (or hostname) in that VPN and can communicate with other terminals using the predefined IPs. Is the scheme I proposed correct? Can you point me to any resources which may help me to implement it?
I propose node-to-net connection type for every my terminal. Should I use node-to-node connections, instead?

Thanks for your help!

share|improve this question

migrated from Oct 18 '10 at 11:15

This question came from our site for professional and enthusiast programmers.

Is each individual terminal running Windows? You might find Hamachi the easiest solution:

You could use OpenVPN. The easiest way would be for each of your "terminals" to connect to a central host with a known IP as you say. That central host could then route packets itself. The downside is that communication would be indirect, so there will be some cost to latency and you'll have a bill for bandwidth use on the central host which direct communication would avoid.

A direct peer-to-peer VPN where IPs are swapped so that dynamic hosts can communicate directly is more complicated, especially if the dynamic hosts are behind NAT gateways. Some products integrate this kind of functionality but do not expose it as a general purpose VPN that you can use (eg. Skype, and also my product Synctus). But apart from Hamachi, I'm not aware of any publicly available product that will do this in the general case. Again you could use OpenVPN and some home-brew scripting to manage the IP swap.

share|improve this answer
Thanks for your reply! Each individual terminal will be running Ubuntu. – Zakhar Oct 17 '10 at 16:52
What about using SIP to solve terminal addressing issue? Just imagine that the security is not so important. – Zakhar Oct 21 '10 at 10:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.