架构师_程序员_码农网

Retrieve password
Register

QQ登录

Just one step to get started

Search
View:6672|Reply: 4
打印 上一主题 下一主题

The first step in the process is to use Docker to build an IPsec VPN server.

[copy link]
跳转到指定楼层
owner
发表于 2022-3-13 21:08:50| 看该作者回帖奖励|ReverseBrowse|Read Mode
ipsec-vpn-server: Docker image for running an IPsec VPN server with IPsec/L2TP, Cisco IPsec and IKEv2.

Docker repository address: https: //hub.docker.com/r/hwdsl2/ipsec-vpn-server

GitHub address: https: //github.com/hwdsl2/docker-ipsec-vpn-server

Build Openconnect VPN Server Reference:
Building an ocserv vpn proxy on CentOS 7
h ttps:// www.itsvse.com/thread-9409-1-1.html

First, we create a new environment variable vpn.env in the /root directory for the docker container to read, with the following contents:



Create the ipsec-vpn-server application with the following command:

View the container application startup information as follows:



Note: The security group of the cloud server should open 4500 and 500 UDP ports!

To connect to a VPN server using a Windows 10 system, you need to modify the registry once before connecting for the first time in order to resolve the compatibility of the VPN server and/or client with a NAT (e.g. a home router). Run the cmd command as administrator as follows:

Where HKLM stands for HKEY_LOCAL_MACHINE

Note: After modifying the registry, you need to reboot your computer!

Create a new VPN connection as shown below:



Through the Control Panel, find Network and Sharing Center -> Change Adapter Settings and click Allow these protocols. Check the "Polling Handshake Authentication Protocol (CHAP)" and "Microsoft CHAP version 2 (MS-CHAP v2)" checkboxes. As shown below:



Try to connect to the VPN server as shown below:



Test the iPhone cell phone connection to the VPN server as shown below:



For other devices to connect to the VPN server, please refer to: https: //github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients-zh.md




Previous: Elasticsearch automatically clean up the index to release disk space
Next article: [Translate] Asynchronous Programming in .NET, the difference between using ValueTask and Task
The Docker Docking Station is a new and unique Docking Station, and it is a great way to get the most out of the Docker Docking Station, and it is a great way to get the most out of the Docking Station.
sofabed
owner|Posted on 2022-3-14 09:39:04|Only see this author
Registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent New AssumeUDPEncapsulationContextOnSendRule entry


The code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
ugg boots sale
nike air max 90 pas cher
楼主 | 发表于 2022-5-31 21:03:34| 看该作者
The first time I've seen a DNS service built with Docker, I've seen a DNS service built with Docker, and I've seen a DNS service built with Docker.
h ttps:// www.itsvse.com/thread-10321-1-1.html
The first thing you need to know is that you're not going to be able to do anything that you don't want to do.
flooring
Posted on 2023-2-13 11:47:28|Only View Author
I'm not sure if you're going to be able to do this, but I'm sure you'll be able to.
The code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
ugg boots sale
5#
owner|发表于 2023-7-29 11:51:46| 看该作者
IKEv2 mode (no account and password entry required) is a better connection mode than IPsec/L2TP and IPsec/XAuth ("Cisco IPsec").

Modern operating systems support the IKEv2 protocol standard. Internet Key Exchange (IKE or IKEv2) is a network protocol belonging to the IPsec family of protocols for creating Security Associations (SAs). Improvements to IKEv2 over IKE version 1 include, for example, Standard Mobility support through MOBIKE, and increased reliability.

View IKEv2 Configuration File

Make a copy of the mobileconfig file required by your iPhone with the following command:

Then, copy the file into the iPhone file and install the description file as shown below:



Reference: https: //github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/ikev2-howto-zh.md

Code farmer network, only published in the process of practice, encountered technical difficulties, do not mislead others.
You need to log in before you can post back Log in | Register

This version of the integral rules

DISCLAIMER:
All software, programming materials or articles published by Code Farmer are limited to be used for learning and research purposes only; the above contents shall not be used for commercial or illegal purposes, otherwise, all the consequences shall be borne by the users themselves. This site information from the network, copyright dispute has nothing to do with this site. You must completely remove the above content from your computer within 24 hours of downloading. If you like the program, please support the genuine software, buy registration and get better genuine service. If there is any infringement, please contact us by email to deal with it.

Mail To:help@itsvse.com

QQ| ( ICP备14021824号-2 )|Sitemap

GMT+8, 2024-9-19 00:38

Quick ReplyBack to topBack to list