私は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 }