Home > multi_server_openvpn

multi_server_openvpn

Multi_server_openvpn is a project mainly written in ..., it's free.

Helps you create a VPN with multiple servers connected to each other

multi_server_openvpn helps you create a VPN with multiple servers connected to each other.

Requirements on each server:

  • Debian Lenny
  • Ruby
  • OpenVPN

How it works :

  • login as root on the first server

  • cd /etc/openvpn

  • install the software: git clone http://github.com/piglop/multi_server_openvpn

  • cd multi_server_openvpn

  • copy vars.sample and edit it: cp vars.sample vars nano vars

  • copy servers.yml.sample and edit it: cp servers.yml.sample servers.yml nano servers.yml

  • create keys (one for each "name" of servers.yml): for i in s1 s2; do ./create_keys $i; done

  • check the server.conf and client.conf

  • create OpenVPN config files : ./install

  • edit /etc/network/interfaces as told.

  • start the bridge: ifup vpn

  • restart OpenVPN /etc/init.d/openvpn restart

  • deploy on other servers: ./deploy s2.example.com

Previous:test