strongswan 配置文件 /etc/ipsec.conf 速查手册1

  • 配置选项 auto = ignore | add | route | start

英文文档:
https://wiki.strongswan.org/projects/strongswan/wiki/ConnSection

auto = ignore | add | route | start

what operation, if any, should be done automatically at IPsec startup.

auto=add loads a connection without starting it.
auto=route loads a connection and installs kernel traps. If traffic is detected between leftsubnet and rightsubnet, a connection is established.
auto=start loads a connection and brings it up immediately.
auto=ignore ignores the connection. This is equal to deleting a connection from the config file. Relevant only locally, other end need not agree on it.

译文1

选项 含义
auto=add 进程启动时仅读取连接配置参数, 不主动发起连接。适用于服务器端等待客户端主动发起连接请求的情况。
auto=route 直到左右两端子网的任意主机向对方发起访问请求时才会创建 IPsec 连接。
auto=start 进程主动时立即建立 IPsec 安全连接。
auto=ignore 该条配置将被忽略。

配置选项 esp = <cipher suites>

comma-separated list of ESP encryption/authentication algorithms to be used for the connection, e.g:

esp=aes128-sha256

Th

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值