Two server configurations hosted on Windows server

Scripts to manage certificates or generate config files
Post Reply
desdes
OpenVpn Newbie
Posts: 2
Joined: Tue Jul 09, 2019 9:00 am

Two server configurations hosted on Windows server

Post by desdes » Tue Jul 09, 2019 9:06 am

Good day. How to start the service openvpn with two server configurations hosted on Windows server :?:

User avatar
imjebran
OpenVPN Power User
Posts: 69
Joined: Tue Jul 03, 2012 10:38 am

Re: Two server configurations hosted on Windows server

Post by imjebran » Tue Jul 09, 2019 9:40 am

Hi,

What do you mean by two server configurations? A single configuration could work with all of your Windows servers, you just have to mention different DHCP options (if required).

Do you need a simple configuration?

Regards,
Jebran.

desdes
OpenVpn Newbie
Posts: 2
Joined: Tue Jul 09, 2019 9:00 am

Re: Two server configurations hosted on Windows server

Post by desdes » Tue Jul 09, 2019 10:18 am

yes. if possible, the configuration for server_tun.ovpn and server_tap.povpn will be located on the Windows server and run simultaneously.

User avatar
imjebran
OpenVPN Power User
Posts: 69
Joined: Tue Jul 03, 2012 10:38 am

Re: Two server configurations hosted on Windows server

Post by imjebran » Tue Jul 09, 2019 1:15 pm

This is openvpn with TUN and UDP protocol simple config file.

Code: Select all

 tls-server
port 1194
proto udp
dev tun
;local 10.0.10.1 # Or your desired IP address
topology subnet
client-cert-not-required
username-as-common-name
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"  # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
server 10.10.10.0 255.255.255.0
push "redirect-gateway def1"
cipher AES-256-CBC
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 8.8.4.4"
duplicate-cn
keepalive 10 120
tls-auth keyfile.key 0 # This file is secret
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log-append  openvpn.log
verb 3
management 0.0.0.0 7505
mute 20
route-method exe
script-security 3
auth-user-pass-verify 

Post Reply