πŸ’»β†”οΈπŸ–₯️ Setting Up an OpenVPN Connection (Configuring Server & Client) in 2021



πŸ’»β†”οΈπŸ–₯️ Setting Up an OpenVPN Connection (Configuring Server & Client) in 2021

πŸ’»β†”οΈπŸ–₯️ Setting Up an OpenVPN Connection (Configuring Server & Client) in 2021

πŸ‘ Watch how to set up an OpenVPN server for Windows and configure an OpenVPN client, and how to organize data exchange channels between remote offices. Sometimes people need to establish a link between remote computers without spending extra money on equipment and software. In doing that, a well-known free program OpenVPN can help a lot, as it provides free implementation of the VPN – virtual private network technology.

In our channel, you can already find a video on how to create a VPN server with standard Windows tools and how to connect to such server from another PC. You will find the link in the description: https://www.youtube.com/watch?v=YH2nmDOYoz0.

Content:
0:00 – Intro;
1:31 – OpenVPN setup
2:25 – Run command line
7:29 – Formation of client keys
8:55 – Creating a server and client configuration file
13:07 – Create file without extension
16:41 – Enabling Routing and Remote Access Service
17:27 – Configuring firewalls and antiviruses on the client and on the server for the smooth passage of packets
17:58 – Launch OpenVPN Gui or Client.ovpn.

How To Fix Broken File Type Associations in Windows 10: https://hetmanrecovery.com/recovery_news/how-to-recover-file-associations-in-windows-10.htm

OpenVPN official website: https://openvpn.net/index.php/open-source/downloads.html.

How to Run Command Prompt as Administrator in Windows 10, 8 or 7 – https://www.youtube.com/watch?v=E-9uRvsMQmk.

How to Display and Change File Extensions in Windows 7, 8 and 10 – https://www.youtube.com/watch?v=8Az0qyyZTJs.

How to Setup Port Forwarding – https://www.youtube.com/watch?v=YH2nmDOYoz0.

How to reserv an IP address to a computer – https://www.youtube.com/watch?v=2-gFrpI0GxU.

Configuration file for server:
proto tcp4-server
dev tun
tls-server
tls-auth “C:\Program Files\OpenVPN\easy-rsa\keys\ta.key” 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca “C:\Program Files\OpenVPN\easy-rsa\keys\ca.crt”
cert “C:\Program Files\OpenVPN\easy-rsa\keys\ServerVPN.crt”
key “C:\Program Files\OpenVPN\easy-rsa\keys\ServerVPN.key”
dh “C:\Program Files\OpenVPN\easy-rsa\keys\dh4096.pem”
server 10.10.10.0 255.255.255.0
client-to-client
keepalive 10 120
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
client-config-dir “C:\Program Files\OpenVPN\config”
verb 3
route-delay 5
route-method exe
push “route 192.168.0.0 255.255.255.0”
route 192.168.182.0 255.255.255.0

Additional configuration file for server:
ifconfig-push 10.10.10.5 10.10.10.6
iroute 192.168.182.0 255.255.255.0
# disable

Configuration file for client:
remote 176.122.115.66
client
port 12345
proto tcp4-client
dev tun
tls-client
tls-auth “C:\Program Files\OpenVPN\config\ta.key” 1
remote-cert-tls server
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450

ca “C:\Program Files\OpenVPN\config\ca.crt”
cert “C:\Program Files\OpenVPN\config\ClientVPN.crt”
key “C:\Program Files\OpenVPN\config\ClientVPN.key”

cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
verb 3
mute 20

That’s all. As you can see, a VPN connection with OpenVPN is created. Computers can access each other in both directions.
Hit the Like button and subscribe to Hetman Software channel. Ask questions in your comments. Thank you for watching. Good luck.

Other videos: #Windows10, #VPN, #Server, #Client, #OpenVPN.

Playlist: Tuning and Adjusting Windows 10: Restore Points, Resetting Passwords, Backup, Defragmentation, Compatibility Mode – https://www.youtube.com/playlist?list=PLWfvrWYvsWiIIvLGyaCgBbwreA08y_ycT.

Comments are closed.