<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META content="MSHTML 5.50.4916.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>echo " External Interface: $EXTIF"<BR><BR>echo "
Internal Interface: $INTIF"<BR><BR>eth0 being the adsl link eth1 being the first
internal net. i want to =<BR>add something like initif=3Deth2 as well to put
masq onto both internal =<BR>nets ??? any ideas<SPAN
class=783295403-18112002><FONT color=#0000ff> </FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783295403-18112002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=783295403-18112002><FONT
color=#0000ff>You just need to ensure that the address range 192.168.2.0/24 is
included in the range of source addresses for MASQ. It's a pity you
chode 192.168.1.x and 192.168.2.x, as these don't aggregare as well as
192.168.0.x and 192.168.1.x</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783295403-18112002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=783295403-18112002><FONT
color=#0000ff>For the ranges you've got, duplicate the iptables line
which ends in -j MASQ, and change the source address of the second
one (-s 192.168.2.0/24).</FONT></SPAN></FONT></DIV>
<DIV><SPAN class=783295403-18112002></SPAN><FONT face=Arial><FONT size=2><SPAN
class=783295403-18112002><FONT
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=783295403-18112002><FONT
color=#0000ff>Hope that makes sense. Don't have iptables in front of me
atm...</FONT></SPAN></DIV></FONT></FONT></BODY></HTML>
<BR>
<P><FONT SIZE=2>---<BR>
Outgoing mail has been scanned for Viruses<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.417 / Virus Database: 233 - Release Date: 8/11/2002<BR>
</FONT> </P>
<BR>
<P><FONT SIZE=2 FACE="Arial">This correspondence is for the named person's use only. It may contain confidential or legally privileged information or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Any opinions expressed in this message are those of the individual sender.</FONT></P>
<BR>