【发布时间】:2010-08-27 08:44:38
【问题描述】:
我正在处理 ipsecconf 命令,通过使用 ipsecconf -a 我们可以将 IPsec 策略添加到文件中每个条目指定的系统中。现在我想要 linux 中的等效命令。
solaris 中 ipsecconf 的例子:
$ipsecconf -a
$ ipsecconf -l (Listing of the internal system policy table)
#INDEX 9
{ rport telnet dir out } ipsec { encr_algs des-cbc(64) encr_auth_algs hmac-md5(128) sa shared }
#INDEX 10
{ rport telnet dir out } ipsec { encr_algs des-cbc(64) encr_auth_algs hmac-md5(128) sa shared }
#INDEX 11
{ rport telnet dir in } ipsec { encr_algs des-cbc(64) encr_auth_algs hmac-md5(128) sa shared }
#INDEX 12
{ rport telnet dir in } ipsec { encr_algs des-cbc(64) encr_auth_algs hmac-md5(128) sa shared }
【问题讨论】:
-
这里有问题吗?这涉及编程?