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 に答える