Skip navigation.
Home
A virtual network infrastructure
PlanetLab logo
Powered by PlanetLab

OpenVPNGenerator.rb

OpnVPNGenerator Class

External Methods

printConfig(node)
Generates an OpenVPN configuration file called server.ovpn that is shared by all OpenVPN servers in the topology. The important features are:

  • The MTU of the OpenVPN tunnel is set to a size that avoids fragmentation as packets travel through the PL-VINI/IIAS overlay.
  • Routes to 10.0.0.0/8 and all externally NAT'ed destinations are pushed to each OpenVPN client. This sets up the clients to route packets to these destinations into the overlay.