Code in this video_How to Install and Configure OpenVPN Server on Windows

Code in this video_How to Install and Configure OpenVPN Server on Windows

👉 Download OpenVPN : https://openvpn.net/community-downloads/

	./easyrsa clean-all

	./easyrsa init-pki

	./easyrsa build-ca nopass

	./easyrsa build-server-full Server nopass

	./easyrsa gen-dh

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

	./easyrsa build-client-full Client1 nopass

📌 Server profile

port 1194
proto udp
dev tun

ca ca.crt
cert Server.crt
key Server.key
dh dh.pem

server 10.10.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt

keepalive 10 120

push "route 10.10.0.0 255.255.255.0"

push "dhcp-option DNS 8.8.8.8"

push "dhcp-option DNS 8.8.4.4"

push "redirect-gateway def1"

comp-lzo

persist-key
persist-tun

status openvpn-status.log

verb 3

📌 Client profile

client

dev tun

proto udp

remote Your-Public-IP-Address 1194

resolv-retry infinite

nobind

persist-key

persist-tun

ca ca.crt

cert Client1.crt

key Client1.key

comp-lzo

dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4

verb 3

Leave a Reply

Your email address will not be published. Required fields are marked *