Use Route OS to establish a GRP tunnel (using L2TP)

Ros lower layer access configuration
1. First, the establishment of the lower layer is required. Create an L2TP server on the ROS server,
write the user name and password respectively, and add them in PPP.

Then create a GRE Tunnel,

Then point the client's network segment route to the GRE Tunnel IP.

Ros client connects to Ros server through L2TP

Obtain a remote IP, establish a GRE Tunnel through local ip and remote ip,

The remote IP of each client is 10.10.30.1 (an IP address on the server side) After the
GRE is established, there is also the Tunnel IP address of the local client: 192.168.99.56/30 GRE VPN interconnection IP address

Write a local IP to 183.3.210.158, which is the ROS server's IP, and the next hop can refer to the operator's ADSL

Write a default IP to the Tunnel IP opposite us, that is, any traffic will go through our tunnel
. Do not choose to assign default route and DNS when configuring pppoe dial-up.

Now take a look at the application of NAT on Ros:

Guess you like

Origin blog.csdn.net/Connor_xie/article/details/95218862