Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iptables, ipchains & ipfwadm

Status
Not open for further replies.

cadbilbao

Programmer
Joined
Apr 9, 2001
Messages
233
Location
ES
Hello.

I'm working with RedHat 7.1. It's connected to Internet (eth1) and to my LAN (eth0).

I would like to allow my LAN users access IRC, ping, FTP, ... through my RedHat box.

I heard about iptables, ip-masquerade or ipchains in order to perform this. So I checked this RedHat to know if they were installed.

ipchains -L :
Chain input (policy ACCEPT):
target prot opt source destination ports
ACCEPT all ---f-- anywhere anywhere n/a
acctin all ------ anywhere anywhere n/a
......

iptables:
ip_tables.o: init_module: Device or resource busy
ip_tables.o: insmod /lib/modules/2.4.2-2smp/kernel/net/ipv4/netfilter/ip_tables.o failed
ip_tables.o: insmod ip_tables failed
iptables v1.2.1a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

ipfwadm:
ipchains failed!
If this command worked with the original ipfwadm 2.3, please
submit a bug report to `ipchains@rustcorp.com'. Note that you
now need to be root, even to list the chains (complain to Alan Cox).
...

I would be extremely obliged if anybody could explain the sense of these messages. I suppose that 'ipchains' is running, isn`t? But why iptables and ip-masquerade are installed and giving errors?

Shall I use 'ipchains' to allow my LAN users access several protocols?

Thank you very much in advance. Wishes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top