「pfSense」- 运行 L2TP Client 服务

问题描述

该笔记将记录:如何使用 pfSense 作为 L2TP Client 连接远程 L2TP Server,以及相关问题解决方案;

解决方案

第一步、创建接口

1)Navigate to the Interfaces tab > Assignments > PPPs and click +Add button.
Link Type: choose L2TP
Link Interface(s): select WAN
Username: paste the Login from the user Office
Password: paste the Password from the user Office
IP/Gateway(em0): Gateway IP or Hostname 需要填写 L2TP Server 地址;
Click Save.

第二步、分配接口

2)Go to the Interface Assignments tab,
select L2TP option for Available network ports and click +Add.
Click the OPT1 label.
Description: print <L2TP-VPN>
IPv4 Configuration Type: select L2TP
Check the Username and Remote IP address fields. iQtBOJP5wcHEQh97DPGBeZMX
Click Save.
Apply Changes.
Check Enable interface and press Save > Apply Changes.

第三步、启用接口

3)Go to the System tab > Routing and select L2TP-VPN for the Default gateway IPv4 option.
Apply Changes

第四步、查看状态

4)查看 L2TP 状态:Status / Interfaces

参考文献

L2TP VPN Client Configuration on pfSense Router