2010-08-27 142 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