发布时间: 2023-6-17 文章作者: myluzh 分类名称: RouterOS 朗读文章
/ip ipsec profile set [ find default=yes ] dh-group=modp768 enc-algorithm=aes-128 hash-algorithm=md5 nat-traversal=no add dh-group=modp768 dpd-interval=disable-dpd enc-algorithm=aes-128 hash-algorithm=md5 name=to-cloud-vpc nat-traversal=no /ip ipsec peer add address=119.45.220.104/32 local-address=220.187.180.60 name=to-tencent-vpc profile=to-cloud-vpc /ip ipsec proposal set [ find default=yes ] disabled=yes add enc-algorithms=des name=to-tencent-vpc pfs-group=none /ip ipsec identity add peer=to-tencent-vpc secret=test123 /ip ipsec policy set 0 disabled=yes add dst-address=10.206.0.0/16 peer=to-tencent-vpc proposal=to-tencent-vpc src-address=172.16.0.0/16 tunnel=yes /ip firewall nat add action=accept chain=srcnat dst-address=10.206.0.0/16 src-address=172.16.0.0/16
发表评论