Hi Logan,
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 11:32 PM
> To: [EMAIL PROTECTED]
> Subject: personal (ipchains) firewall question
>
>
> If this is highly off topic for this list, my appologies.
>
> I run a personal ipchains based firewall at home, and have
> recently developed a need to pipe all traffic from one single
> host on the internet to one single host within my network. I
> am wondering if anyone knows how this could be done, with
> ipchains or ipmasqadm. Thanks
If you would want an internal machine to do any service via linux, you can
make
use of ipchains. Do this also, echo "1" > /proc/sys/net/ipv4/ip_forward but
when you do this, make sure you put it in your rc.local. Or if you're using
redhat, say TRUE to FORWARDING in /etc/sysconfig/networks. By the way, you
also have to recompile your kernel to support IPMASQUERADING. I guess,
it's precompiled with the default kernel.
If you would want your internal machine to be seen outside, PUBLIC, you
must recompile your kernel too with IP-Forwarding support. And that's the
time you're going to use ipmasqadm.
Use
- redir if it's 2.0.x kernel
- ipmasqadm if it's 2.2.x kernel
- i don't know with 2.4.x kernel
---hope this helps
Neil
_______________________________________________
Firewalls mailing list
[EMAIL PROTECTED]
http://lists.gnac.net/mailman/listinfo/firewalls