seignior 发表于 2016-7-19 17:28:18

求ros配置预共享密匙l2tp client

求ros配置预共享密匙l2tp client

之前没配置过l2tp,搞了半天,翻baidu都是说配置服务端而且是要去密匙的...

cspm333 发表于 2016-7-21 00:49:02

本帖最后由 cspm333 于 2016-7-21 11:36 编辑

您是說l2tp over ipsec嗎?
假設:
Remote address:1.1.1.1 (192.168.1.0/24)
Localaddress:2.2.2.2 (192.168.2.0/24)

/interface l2tp-client
add allow=mschap2 connect-to=1.1.1.1 mrru=1600 name=l2tp-out1 password=vpn profile=default user=vpn

/ip ipsec peer
add address=1.1.1.1/32 dpd-interval=disable-dpd enc-algorithm=3des local-address=2.2.2.2 secret=vpn send-initial-contact=no

/ip ipsec policy
add dst-address=192.168.1.0/24 protocol=udp sa-dst-address=1.1.1.1 sa-src-address=2.2.2.2 src-address=192.168.2.0/24
页: [1]
查看完整版本: 求ros配置预共享密匙l2tp client