2007-07-09 22:43:12 +02:00
|
|
|
#
|
|
|
|
# Shorewall version 4 - IPsecnat Macro
|
|
|
|
#
|
|
|
|
# /usr/share/shorewall/macro.IPsecnat
|
|
|
|
#
|
2007-07-10 16:12:55 +02:00
|
|
|
# This macro (bidirectional) handles IPsec traffic and Nat-Traversal
|
2007-07-09 22:43:12 +02:00
|
|
|
#
|
|
|
|
###############################################################################
|
2007-11-16 00:24:54 +01:00
|
|
|
#ACTION SOURCE PROTO DEST SOURCE RATE USER/
|
|
|
|
# PORT PORT(S) LIMIT GROUP
|
2007-07-09 22:43:12 +02:00
|
|
|
PARAM - - udp 500 # IKE
|
|
|
|
PARAM - - udp 4500 # NAT-T
|
|
|
|
PARAM - - 50 # ESP
|
|
|
|
PARAM DEST SOURCE udp 500 # IKE
|
|
|
|
PARAM DEST SOURCE udp 4500 # NAT-T
|
|
|
|
PARAM DEST SOURCE 50 # ESP
|
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|