At 14:16 15/01/2003 +0000, you wrote:
Hi Folks,
I have a Watchguard firebox II which is based on a 2.2 kernel. With this box,
I can define IP addresses within the subnet of the public I/F and have that
traffic forwarded to a host within my DMZ.
For example the public I/F of the firewall is 213.38.87.130, but I have
configured the box so that incoming traffic for 213.38.87.132 gets forwarded
to 10.5.1.2 on the DMZ's (eth1) subnet.
I would like to do a similar thing on another box running a standard RH
installation. Has anyone got any ideas how I can do that?
You'll need to use iptables to portforward to the internal box.
e.g.
/sbin/iptables -A PREROUTING -t nat -d $EXTERNAL_FIREWALL_IP -j DNAT --to $INTERNAL_SERVER_IP
or something like that.
You could place the command in /etc/rc.d/rc.local.
It would probably be wise to only portforward specific ports.........
hih
nick@nexnix
-- Gary StainburnThis email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list