Steps to configure L2TP VPN server in Linux RouterOS

Source: Internet
Author: User
Tags routeros winbox
Description
RouterOS Server ip:172.31.101.80
RouterOS version: RouterOS V6.15
Demand:
To configure the PPTP VPN server on the RouterOS server, the PPTP VPN Client dial-in network segment is: 172.31.101.60-
172.31.101.79
Operation Steps:
First, login RouterOS server
Use Winbox to login here RouterOS
Winbox Download: Http://download2.mikrotik.com/routeros/winbox/3.0beta3/winbox.exe
As shown in the following illustration:
Enter server IP, account and password
Point Connect Login
After the login is successful, the following illustration shows:
Second, establish the client dial network segment address pool
Ip-pool
Point + number
Name:l2tp-pool
addresses:172.31.101.60-172.31.101.79
Click OK
Third, configure L2TP VPN
1, Ppp-profiles
Point + number
Name:l2tp-profile
Local address:172.31.101.80
Remote Address:l2tp-pool
DNS server:8.8.8.8
8.8.4.4
Ok
2. PPP-INTERFACE-L2TP Server
System Yun-wei Www.111cn.net warm reminder: qihang01 original Content © Copyright, reproduced please specify the source and the original link
Tick Enabled
Default Profile:l2tp-profile
Ok
3, Ppp-interface
Point + number, select L2TP Server Binding
Name:l2tp-in1
Ok
Create a client-dial user
Ppp-secrets
Point + number
Name: User
Password: 123456
Service: L2TP
Profile: l2tp-profile
Ok
V. Use VPN Client dialing
RouterOS here is in the intranet, only configured an intranet IP, you can udp:500 IP, udp:4500,
udp:1701 ports are mapped to RouterOS intranet IP for use.
If the RouterOS has both intranet and extranet IP, you can dial it directly using the IP of the external network.
At this point, RouterOS configures the L2TP VPN server tutorial complete.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.