mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
18 lines
542 B
Plaintext
18 lines
542 B
Plaintext
|
#
|
||
|
# Shorewall version 4 - IPsecnat Macro
|
||
|
#
|
||
|
# /usr/share/shorewall/macro.IPsecnat
|
||
|
#
|
||
|
# This macro handles IPsec traffic and Nat-Traversal
|
||
|
#
|
||
|
###############################################################################
|
||
|
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/
|
||
|
# PORT PORT(S) DEST 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
|