I am working on ipsecconf command ,by using ipsecconf -a we can Add the IPsec policy to the system as specified by each entry in the file.now i want equivalent command in linux.
eg of ipsecconf in solaris:
$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 }
Perhaps ipsec
is the answer you are looking for.
Synopsis
ipsec command [ argument ...]
ipsec --help
ipsec --version
ipsec --versioncode
ipsec --copyright
ipsec --directory
ipsec --confdir
Here's the complete man for that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.