titan:/usr/src/linux-2.4.18.PRISTINE# ls -l net/ipv4/netfilter/ipchains_core.c
-rw-r--r-- 1 root root 50368 Apr 29 10:44 net/ipv4/netfilter/ipchains_core.c
titan:/usr/src/linux-2.4.18.PRISTINE# ipchains -L -n
Chain input (policy ACCEPT):
target prot opt source destination ports
ACCEPT udp ------ 172.17.4.1 0.0.0.0/0 53 -> 1025:65535
ACCEPT udp ------ 172.17.4.7 0.0.0.0/0 53 -> 1025:65535
icmp icmp ------ 0.0.0.0/0 0.0.0.0/0 * -> *
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):
Chain icmp (1 references):
target prot opt source destination ports
ACCEPT all ------ 0.0.0.0/0 0.0.0.0/0 n/a
titan:/usr/src/linux-2.4.18.PRISTINE# uname -r
2.4.18
Hope that helps.
-- Paul Clements SteelEye Technology Paul.Clements@SteelEye.com
On Wed, 22 May 2002, Kirk wrote:
> Does iptables have or allow IP Masqurading? This is really what I'm trying > to do as I have a network behind my linux server (acting as a router) and > need to forward packets from 192.168.0.x to my WAN port on the same Linux > server. I had this working with ipchains until the upgrade to 2.4.18. > > Thanks, > Kirk > > > ----- Original Message ----- > From: "Ambrish Verma" <averma@marantinetworks.com> > To: <kirk@scriptdoggie.com> > Sent: Wednesday, May 22, 2002 12:15 PM > Subject: Re: ipfwadm problems > > > In the new kernels ipchains is not included by default (probably if you put > some effort you can include it.). > There is an alternate for ipchains is available called iptables, with which > you should be able to do most of the things you expect from ipchains. > > -- > Ambrish > > > "Kirk" <kirk@scriptdoggie.com> wrote in message > news:011101c201bd$91ccccc0$320e10ac@irvine.hnc.com... > > I'm trying to issue an "ipfwadm" to create ipchains and am getting: > > > > > Generic IP Firewall Chains not in this kernel > > > > Looking for help with re-compiling the 2.4.18-2 (latest from CD's 7.3 > > install). Can someone point me in the right direction? > > > > Thanks > > > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/