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:
teastep 2002-10-15 13:54:34 +00:00
parent c1d99fe769
commit 5b84c98eb7

View File

@ -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"