Code: Select all
[config My Company]
client
dev tap
proto udp
remote remote.example.com
resolv-retry infinite
nobind
persist-key
persist-tun
ca mycompany.crt
cert mycompany_client.crt
key mycompany_client.key
verb 3
[config Second VPN]
client
dev tap
proto udp
remote my.friends.house.com
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
verb 3
[config Third VPN]
...
In this instance, OpenVPN would scan the config, verify there are no problems (conflicting server instances on the same port, etc), and spawn a new process for each [config Foo] stanza.