mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01:00
IPP2P: update mangle headers
Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
parent
4a44cc787e
commit
cc2ae454a0
@ -194,8 +194,8 @@ tcp 6 269712 ESTABLISHED src=192.168.3.8 dst=206.124.146.177 sport=50584 dp
|
||||
<para>These are implemented in the /etc/shorewall/tcrules and
|
||||
/etc/shorewall/mangle files as follows:</para>
|
||||
|
||||
<programlisting>#ACTION SOURCE DEST PROTO PORT(S) CLIENT USER TEST
|
||||
# PORT(S)
|
||||
<programlisting>#ACTION SOURCE DEST PROTO DPORT SPORT USER TEST
|
||||
|
||||
RESTORE:P - - tcp
|
||||
CONTINUE:P - - tcp - - - !0
|
||||
1:P - - ipp2p ipp2p
|
||||
@ -209,8 +209,8 @@ SAVE:P - - tcp - -
|
||||
<para>One change that I recommend --do your marking in the FORWARD chain
|
||||
rather than in the PREROUTING chain:</para>
|
||||
|
||||
<programlisting>#MARK SOURCE DEST PROTO PORT(S) CLIENT USER TEST
|
||||
# PORT(S)
|
||||
<programlisting>#ACTION SOURCE DEST PROTO DPORT SPORT USER TEST
|
||||
|
||||
RESTORE:F - - tcp
|
||||
CONTINUE:F - - tcp - - - !0
|
||||
1:F - - ipp2p ipp2p
|
||||
|
Loading…
Reference in New Issue
Block a user