\# Auto-generated by vpnmaker on #{gen_host} #{Time.now.to_s} \# See http://github.com/pc/vpnmaker mode server tls-server local #{host} port #{port} proto udp dev tun0 server #{base_ip[:net]} #{base_ip[:mask]} \ \# subnets.each do - subnets.each do |net| route #{net[:net]} #{net[:mask]} push route #{net[:mask]} #{net[:mask]} \ \# bridgednets.each do - bridgednets.each do |net| push route #{net[:net]} #{net[:mask]} \ user #{user} group #{group} - if type == :default #{dh} #{ca} #{cert} #{key} #{crl} #{ta} - else dh #{root}/keys/dh.pem ca #{root}/keys/ca.crt cert #{root}/keys/server.crt key #{root}/keys/server.key crl-verify #{root}/keys/crl.pem keepalive 10 120 log #{log} persist-tun persist-key tls-auth #{root}/keys/ta.key 0 :plain