Vyos IPsec Server 对接 Huawei 路由器 IPsec Client(GRE Over IPsec)

本文介绍了如何配置Vyos IPsec Server以对接华为AR651W路由器作为IPsec Client,实现GRE Over IPsec连接。设备环境包括Vyos 1.3拥有公网IP,而华为路由器通过DHCP获取IP。感兴趣流为Vyos的100.64.0.1/32与华为的100.64.0.2/32之间的通信。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Vyos IPsec Server 对接 Huawei 路由器 IPsec Client(GRE Over IPsec)

设备环境

Vyos 1.3 ETH0 公网IP
Huawei AR651W G0/0/8 DHCP

IPsec感兴趣流
Vyos_100.64.0.1/32 === Huawei_100.64.0.2/32

Vyos 公网IP IPsec Server 模板

echo '>>>IPSec Server 配置<<<'
set vpn ipsec esp-group esp_proposal1 compression 'disable'
set vpn ipsec esp-group esp_proposal1 lifetime '3600'
set vpn ipsec esp-group esp_proposal1 mode 'tunnel'
set vpn ipsec esp-group esp_proposal1 pfs 'dh-group2'
set vpn ipsec esp-group esp_proposal1 proposal 1 encryption '3des'
set vpn ipsec esp-group esp_proposal1 proposal 1 hash 'sha1'
set vpn ipsec ike-group ike_proposal1 ikev2-reauth 'no'
set vpn ipsec ike-group ike_proposal1 key-exchange 'ikev1'
set vpn i
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值