Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a measurement campaign in a field, until now we had the following network structure enter image description here

The distance was 400m between the two points so the most easy solution was to use a Wifi pont to point bridge connection. The PC with the 192.168.0.10 IP act as a server, and run a software which controls the other PC. In this network structure all PC had the same subnet and it was easy to establish TCP/UDP(Broadcasting, unicasting) connections.

From now on the distance between the two point is 20km, so the wifi solution is not working any more. In this case we have the following network structure: enter image description here

My question is how can I establish a point to point connection through internet, to get the same structure as in the first image? For example where I still can broadcast and unicast through UDP etc.

Edited

I know only the VPN server IP, so from the PC with the 13x.xxx.xxx.xxx IP can connect to the VPN server, therefore that PC will be in the same subnet(192.168.1.0/24). For example, there will be eth0 with 13x.xxx.xxx.xxx IP and tun0 with 192.168.1.22, in this case can I run a VPNServer on that PC so the PC with the 192.168.1.21 IP can establish a VPN Bridge connection?

share|improve this question
3  
setup a site to site vpn ? –  Iain Apr 4 '13 at 12:41
    
It looks like what you want is to set your VPN for layer 2 bridging... except that your VPN server is in a different network entirely (192.168.1.x). –  DerfK Apr 4 '13 at 13:27
    
I don't have access to the VPN server, so I can't modify the settings,but I can connect to this VPN server –  run Apr 4 '13 at 13:43
2  
Um, what? You don't have access to the VPN server... so your job would be, what, exactly? –  HopelessN00b Apr 4 '13 at 14:52
    
Yes, because this is an university network, they are providing only the access to the VPN server. –  run Apr 4 '13 at 15:10

1 Answer 1

up vote 3 down vote accepted

You should get site 2 a permanent, reliable internet connection and use a permanent site to site VPN. You'll need a router each side capable of doing so, though.

share|improve this answer

Your Answer

 
discard

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.