Would those currently using my router/firewall code with RedHat please
upload the massively updated (and tested under 7.2, 7.3, 8.0 and the current
Phoebe beta) version now at
Serious
Business:*nix stuff:IPTables, Reply #2 on: 2002-05-26 13:41:01Note that you will need to edit the lines at 231 onwards which look like
this:
IPT_IF_EXT="eth0"
IPT_NET_EXT=("x.y.z.a/mask" "x.y.z.b/mask" "x.y.z.c/mask" "x.y.z.d/mask")
IPT_IF_INT=("eth1" "eth2" "eth3" "eth4" )
IPT_NET_INT=("10.1.0.0/24" "10.1.1.0/24" "10.1.2.0/24" "10.1.3.0/24" )
IPT_BCST_INT=("10.1.0.255" "10.1.1.255" "10.1.2.255" "10.1.3.255" )
IPT_ADR_SNAT="x.y.z.a"
in order to reflect your external and internal IP address/addresses. A
sample configuration for somebody with one external IP address 1.2.3.4/24
and one internal network on 192.168.0.0/24 might look like:
IPT_IF_EXT="eth0"
IPT_NET_EXT=("1.2.3.4/24")
IPT_IF_INT=("eth1")
IPT_NET_INT=("192.168.0.0/24")
IPT_BCST_INT=("192.168.0.255")
IPT_ADR_SNAT="1.2.3.4"
But as the included example shows, it is running perfectly in much more
complex multi-port/homed environments.
Thanks
Hermit
Comments and replies to my
hermit@lucifer.com address thank-you.
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail---
To unsubscribe from the Virus list go to <
http://www.lucifer.com/cgi-bin/virus-l>