mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 02:41:01 +01:00
Add revert isakmp rule through IPSEC tunnel
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@296 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c1d99fe769
commit
5b84c98eb7
@ -1155,6 +1155,7 @@ setup_tunnels() # $1 = name of tunnels file
|
||||
if [ -n "$2" ]; then
|
||||
if validate_zone $2; then
|
||||
addrule ${FW}2${2} -p udp --sport 500 --dport 500 $options
|
||||
addrule ${2}2${FW} -p udp --sport 500 --dport 500 $options
|
||||
else
|
||||
error_message "Warning: Invalid gateway zone ($2)" \
|
||||
" -- Tunnel \"$tunnel\" may encounter keying problems"
|
||||
|
Loading…
Reference in New Issue
Block a user