2008-12-09 17:50:17 +01:00
|
|
|
#
|
2008-12-13 19:22:42 +01:00
|
|
|
# Shorewall6 version 4 - IPsecnat Macro
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2008-12-13 19:22:42 +01:00
|
|
|
# /usr/share/shorewall6/macro.IPsecnat
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
|
|
|
# This macro (bidirectional) handles IPsec traffic and Nat-Traversal
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
|
|
|
|
# PORT(S) PORT(S) LIMIT GROUP
|
|
|
|
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
|