<!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.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, and yes I am emailing from Outlook, sorry to
all who care. <BR><BR>I have done this before and it has been a year or so since
I have done it and I am having trouble with masqerading.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a linux machine with 2 nic cards, one
external and one my internal to my network IP's 192.168.0.0. I am using
IPCHAINS to masqerade and I must be missing something because it is not working,
I can ping both cards from my internal network but cannot get out to the net.
This is what I have done on the firewall box:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1. echo 1 >
/proc/sys/net/ipv4/ip_forward</FONT></DIV>
<DIV><FONT face=Arial size=2>2. ipchains -A forward -i eth0 (external nic) -s
192.168.0.0/24 -j MASQ</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do I need to do something with the output and input
chains? That is the only thing I can think that I may be missing. I have
re-looked, and not hard, through the IPCHAINS HOW-TO but did not find what I was
looking for. Thanks for any help.</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Erick</FONT></DIV></BODY></HTML>