当前位置:网站首页>Deploy L2TP in VPN (Part 2)
Deploy L2TP in VPN (Part 2)
2022-06-24 07:31:00 【Chen Bucheng I】
If some options are not found , Write it directly to the end of the file . After preservation , perform : sysctl -p
2.iptables Rule settings need iptables To forward external requests .sysctl The solution is , A user through ppp After connecting to the server , How does his request map inside the server , therefore , No, iptables, The user configures through the above , You can log in and connect to L2TP VPN 了 , But it's very likely that you can't access the Internet on the connection , Because the external request has not been forwarded , Configure the following to forward . iptables -I INPUT -p udp -m multiport --dports 500,4500,1701 -j ACCEPTiptables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPTiptables -I FORWARD -s 192.168.2.0/23 -j ACCEPTiptables -t nat -A POSTROUTING -s 192.168.2.0/23 -j SNAT --to-source xxx.xx.xx.xxiptables save
among 192.168.2.0/23 Is the assigned client address range customizable ,xxx.xx.xx.xx Is the mapped Internet address systemctl restart iptables
3、 ... and . Client connection
1. Meet these conditions
- Make sure that the local router does not vpn The intranet segment of the server In a segment , Otherwise conflict
- windows A pure system must be used
- Make sure you are not currently using the agent software , No wall climbing VPN
2.. Open the network sharing center –> Set up a connection or network – Connect to the workspace
3. Click to use my internet Connect – Enter the address information
4. Enter the username and password – establish
5. Click change adapter settings – Right click VPN, Select Properties
6. Click Security Settings vpn type
6. Click Advanced settings to set the shared secret key
7. Click OK to connect
边栏推荐
- Learning to use BACnet gateway of building control system is not so difficult
- [frame rate doubling] development and implementation of FPGA based video frame rate doubling system Verilog
- Win11分磁盘怎么分?Win11系统怎么分磁盘?
- PCL 计算多边形的面积
- [learn FPGA programming from scratch -41]: vision chapter - Moore's era and Moore's law and the arrival of the post Moore Era
- 蓝牙耳机怎么连接电脑使用,win10电脑如何连接蓝牙耳机
- Win11 points how to divide disks? How to divide disks in win11 system?
- JVM debugging tool -jmap
- 20 not to be missed ES6 tips
- bjdctf_ 2020_ babystack
猜你喜欢

Leetcode probability interview shock series 11~15

电脑如何打开软键盘,教大家Win10如何打开软键盘的方法
![(cve-2020-11978) command injection vulnerability recurrence in airflow DAG [vulhub range]](/img/33/d601a6f92b1b73798dceb027263223.png)
(cve-2020-11978) command injection vulnerability recurrence in airflow DAG [vulhub range]
![[image fusion] image fusion based on NSST and PCNN with matlab code](/img/b4/61a5adde0d0bfc5a339ef8ab948d43.png)
[image fusion] image fusion based on NSST and PCNN with matlab code

MySQL - three tables (student, course, score) to query the name, number and score of students whose course is mathematics

取模软件 模拟显示验证取模数据正确性 逆向 把点阵数组bin文件转显示
╯︵ ┻━┻](/img/26/6986a8ae6c00eb2431a082dc0ff978.png)
[DDCTF2018](╯°□°)╯︵ ┻━┻

Tutorial on simple use of Modbus to BACnet gateway

Analog display of the module taking software verifies the correctness of the module taking data, and reversely converts the bin file of the lattice array to display
![[tips] use the deep learning toolbox of MATLAB deepnetworkdesigner to quickly design](/img/74/f615191715a9ac58a8546f8d1e8f8d.png)
[tips] use the deep learning toolbox of MATLAB deepnetworkdesigner to quickly design
随机推荐
Mysql---三张表(student,课程,分数) 查询课程为数学的学生姓名,编号,成绩
Software performance test analysis and tuning practice path - JMeter's performance pressure test analysis and tuning of RPC Services - manuscript excerpts
利用微搭低代码实现级联选择
JVM debugging tool -jmap
Camera calibration (calibration purpose and principle)
Spark stage and shuffle for daily data processing
Analog display of the module taking software verifies the correctness of the module taking data, and reversely converts the bin file of the lattice array to display
[image fusion] multi focus and multi spectral image fusion based on pixel saliency and wavelet transform with matlab code
[pointnet] matlab simulation of 3D point cloud target classification and recognition based on pointnet
How can genetic testing help patients fight disease?
Unexpected token u in JSON at position 0
get_started_3dsctf_2016
【图像融合】基于NSST结合PCNN实现图像融合附matlab代码
PIP install XXX on the terminal but no module named XXX on pycharm
Accessing user interface settings using systemparametersinfo
[image feature extraction] image feature extraction based on pulse coupled neural network (PCNN) including Matlab source code
超宽带脉冲定位方案,UWB精准定位技术,无线室内定位应用
[MySQL usage Script] clone data tables, save query data to data tables, and create temporary tables
[image fusion] image fusion based on directional discrete cosine transform and principal component analysis with matlab code
The first common node of two linked lists_ The entry of the link in the linked list (Sword finger offer)