Yeah, actually the first time I typed the ipchains command yesterday it asked
me to use echo 1> /proc/sys/net/ipv4/ip_forward. It didn't a week ago but
when I'd use cat /proc/sys/net/ipv4/ip_forward it would list 1 already.
The DrakConf radio button said "Firewall Daemon" and I clicked it to active and
that was it.
My netstat -rn looks like this right now with everything working:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
216.126.160.226 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 216.126.160.226 0.0.0.0 UG 0 0 0 ppp0
-Mjo
On Sat, 18 Nov 2000, Kenneth E. Lussier wrote:
> Mjo wrote:
> > The O'Reilly example used someone with 192.168.1.0 as the router ip, and used
> > ipchains -A forward -s 192.168.1.0/24 -d 0/0 -j MASQ . I suppose the first
> > time I could have transposed the 0 & 1 if that would have made it work which
> > wouldn't make sense to me but hey.
>
> Sorry about that... I typed it wrong due to force of habbit. I
> transposed the 1 & 0 in my response.
>
> > I'm really glad it's working again but I'd like to understand what happened.
> > I'm putting Mandrake 7.2 onto another partition to play with it before I commit
> > to it (I was definitely too hasty in whiping out 7.1 yesterday). I plan on
> > trying out the ipchains again there and seeing if I can't get it right again
> > manually.
>
> I'm not sure what happened, since I have no idea what Drakconf is or
> what it does. What was the radio button that you had to select? Off the
> top of my head, something that might have been wrong is a setting in
> /proc/sys/net/ipv4. On a lot of distros that I have seen, even if you
> have forward_ipv4=yes in your network file, you still need to `cat 1 >
> /proc/sys/net/ipv4/ip_forward` before any forwarding rules will work.
>
> Kenny
>
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************
--
Martha Jo McCarthy
[EMAIL PROTECTED] (alternate: [EMAIL PROTECTED])
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************