modif syntaxe config
This commit is contained in:
parent
0aa2063ab6
commit
51c450e3ff
|
@ -138,13 +138,14 @@ Dans le cas où plusieurs réseaux distants doivent être accessibles (plusieurs
|
|||
|
||||
~~~
|
||||
local_network="192.0.2.0/24"
|
||||
|
||||
remote_ip="198.51.100.254"
|
||||
remote_network="{198.51.100.0/24, 198.51.200.0/24}"
|
||||
|
||||
ike dynamic esp from $local_network to $remote_network peer $remote_ip \
|
||||
main auth hmac-sha2-256 enc aes-256 group modp2048 lifetime 86400 \
|
||||
quick auth hmac-sha2-256 enc aes-256 group modp2048 lifetime 7200 \
|
||||
psk "PRE-SHARED KEY"
|
||||
main auth hmac-sha2-256 enc aes-256 group modp2048 lifetime 86400 \
|
||||
quick auth hmac-sha2-256 enc aes-256 group modp2048 lifetime 7200 \
|
||||
psk "PRE-SHARED KEY"
|
||||
~~~
|
||||
|
||||
### Obtenir l'équivalent isakmpd exécuté par ipsec
|
||||
|
|
Loading…
Reference in a new issue