0

我正在处理 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 }
4

1 回答 1

0

也许ipsec是您正在寻找的答案。

概要

ipsec command [ argument ...]

ipsec --help
ipsec --version
ipsec --versioncode
ipsec --copyright
ipsec --directory
ipsec --confdir 

这是完整的人。

于 2010-08-27T09:03:26.193 回答