Two server configurations hosted on Windows server
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jul 09, 2019 9:00 am
Two server configurations hosted on Windows server
Good day. How to start the service openvpn with two server configurations hosted on Windows server
- imjebran
- OpenVPN Power User
- Posts: 75
- Joined: Tue Jul 03, 2012 10:38 am
Re: Two server configurations hosted on Windows server
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.
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.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jul 09, 2019 9:00 am
Re: Two server configurations hosted on Windows server
yes. if possible, the configuration for server_tun.ovpn and server_tap.povpn will be located on the Windows server and run simultaneously.
- imjebran
- OpenVPN Power User
- Posts: 75
- Joined: Tue Jul 03, 2012 10:38 am
Re: Two server configurations hosted on Windows server
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