2010-08-27 81 views
0

我正在使用ipsecconf命令,通过使用ipsecconf -a我们可以将IPsec策略添加到系统,如文件中的每个条目所指定的。现在,我需要在linux中使用等效命令。从solaris移植到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 } 
+2

这里有问题吗?这涉及编程? – nos 2010-08-27 08:46:12

回答

0

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

简介

ipsec command [ argument ...] 

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

Here's完整的男人了点。

+0

上面是solaris,在linux下没有ipsec的手册页...我需要在linux – user424897 2010-08-27 09:12:02

+0

先生,'above'是Linux而不是Solaris。你的Linux系统中可能没有ipsec的二进制文件,这就是为什么你没有得到它。 – pavanlimo 2010-08-27 09:38:27