mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Add mention of macros in the rules file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2579 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
de870d769a
commit
6251280295
@ -2330,7 +2330,7 @@ setup_tunnels() # $1 = name of tunnels file
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
addrule2 $inchain -p $protocol $(source_ip_range $1) --sport $p -j ACCEPT
|
addrule2 $inchain -p $protocol $(source_ip_range $1) --sport $p -j ACCEPT
|
||||||
addrule2 $outchain -p $protocol $(dest_ip_range $1) --dport $p -j ACCEPT
|
addrule2 $outchain -p $protocol $(dest_ip_range $1) --dport $p -j ACCEPT
|
||||||
|
|
||||||
progress_message " OPENVPN client tunnel to $1:$protocol:$p defined."
|
progress_message " OPENVPN client tunnel to $1:$protocol:$p defined."
|
||||||
}
|
}
|
||||||
|
@ -111,6 +111,9 @@
|
|||||||
# /etc/shorewall/actions or in
|
# /etc/shorewall/actions or in
|
||||||
# /usr/share/shorewall/actions.std.
|
# /usr/share/shorewall/actions.std.
|
||||||
#
|
#
|
||||||
|
# <macro> -- The name of a macro defined in a
|
||||||
|
# file named macro.<macro-name>.
|
||||||
|
#
|
||||||
# The ACTION may optionally be followed
|
# The ACTION may optionally be followed
|
||||||
# by ":" and a syslog log level (e.g, REJECT:info or
|
# by ":" and a syslog log level (e.g, REJECT:info or
|
||||||
# DNAT:debug). This causes the packet to be
|
# DNAT:debug). This causes the packet to be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user