Setting Up VPN between ROS Machines

 

Setting up VPN (Virtual Private Network) between ROS machines

This explanation was found here
Here's a step by step procedure regarding how to set up VPN between different ROS Machines:

cd /usr/share/doc/openvpn/examples/easy-rsa/2.0
source vars
cd /etc/openvpn
openvpn ./server.conf

If it starts up correctly, you can let the system start up the server at boot time. Not sure how you do that on your system, but on Ubuntu you just edit /etc/default/openvpn and uncomment AUTOSTART="all".

client
dev tap
proto udp
remote <ip or domain of your server>
persist-key
persist-tun
nobind
ca ca.crt
cert client.crt
key client.key
resolv-retry infinite
comp-lzo
verb 3