2008-12-07 19:17:26 +01:00
|
|
|
#
|
2016-02-15 17:20:39 +01:00
|
|
|
# Shorewall -- /usr/share/shorewall/macro.IPsecnat
|
2008-12-07 19:17:26 +01:00
|
|
|
#
|
2016-02-15 17:20:39 +01:00
|
|
|
# This macro (bidirectional) handles IPsec traffic and Nat-Traversal
|
2008-12-07 19:17:26 +01:00
|
|
|
#
|
|
|
|
###############################################################################
|
2016-02-15 17:20:39 +01:00
|
|
|
#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER
|
|
|
|
|
2008-12-07 19:17:26 +01: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
|