forked from extern/shorewall_code
Correct example in the TPROXY documentaiton.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5ec72dad6c
commit
1e6578c759
@ -418,10 +418,10 @@ TPROXY(3129) eth1 0.0.0.0/0 tcp 80</programlisting>
|
||||
web server listens on 192.0.2.144; then:</para>
|
||||
|
||||
<programlisting><emphasis role="bold">FORMAT 2</emphasis>
|
||||
#MARK SOURCE DEST PROTO DEST SOURCE
|
||||
# PORT(S) PORT(S)
|
||||
DIVERT eth0 0.0.0.0/0 tcp - 80
|
||||
TPROXY(3129) eth1:!192.0.2.144 0.0.0.0/0 tcp 80</programlisting>
|
||||
#MARK SOURCE DEST PROTO DEST SOURCE
|
||||
# PORT(S) PORT(S)
|
||||
DIVERT eth0 0.0.0.0/0 tcp - 80
|
||||
TPROXY(3129) eth1 !192.0.2.144 tcp 80 -</programlisting>
|
||||
</note>
|
||||
|
||||
<para>/etc/shorewall/rules:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user