mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 12:13:29 +02:00
Fix last section of two-interface doc
This commit is contained in:
parent
cb13c02731
commit
2316162d86
@ -1202,12 +1202,25 @@ loc wlan0 detect maclist</programlisting>
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>You need to add an entry to the
|
<para>You may need to add an entry to the
|
||||||
<filename>/etc/shorewall/masq</filename> file to masquerade traffic
|
<filename>/etc/shorewall/masq</filename> file to masquerade traffic
|
||||||
from the wireless network to the Internet. If your Internet interface
|
from the wireless network to the Internet. If you file looks like
|
||||||
is <filename class="devicefile">eth0</filename> and your wireless
|
this:</para>
|
||||||
interface is <filename class="devicefile">wlan0</filename>, the entry
|
|
||||||
would be:</para>
|
<programlisting>#INTERFACE SOURCE ADDRESS PROTO PORT(S) IPSEC MARK
|
||||||
|
eth0 10.0.0.0/8,\
|
||||||
|
169.254.0.0/16,\
|
||||||
|
172.16.0.0/12,\
|
||||||
|
192.168.0.0/16
|
||||||
|
</programlisting>
|
||||||
|
|
||||||
|
<para>then you do <emphasis role="bold">not</emphasis> need to change
|
||||||
|
the contents.</para>
|
||||||
|
|
||||||
|
<para>Otherwise, if your Internet interface is <filename
|
||||||
|
class="devicefile">eth0</filename> and your wireless interface is
|
||||||
|
<filename class="devicefile">wlan0</filename>, the entry would
|
||||||
|
be:</para>
|
||||||
|
|
||||||
<programlisting>#INTERFACE SOURCE ADDRESS
|
<programlisting>#INTERFACE SOURCE ADDRESS
|
||||||
eth0 10.10.11.0/24</programlisting>
|
eth0 10.10.11.0/24</programlisting>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user