escheider
asked on
IPMasqadm Setup
Hello experts:
Im trying to setup ipmasqadm on my linux box for port forwarding, but I am running into difficulties. My kernel has been compliled correctly, but after I ftp ipmasqadm to my box and try to 'make' it, I run into problems: Here is the error that I get:
[root@firewall ipmasqadm-0.4.2]# make
make: *** [check_kernel_headers_dire ctory] Error 1
Im running RedHat 6.0 2.2.15
Any help would be appreciated.
Im trying to setup ipmasqadm on my linux box for port forwarding, but I am running into difficulties. My kernel has been compliled correctly, but after I ftp ipmasqadm to my box and try to 'make' it, I run into problems: Here is the error that I get:
[root@firewall ipmasqadm-0.4.2]# make
make: *** [check_kernel_headers_dire
Im running RedHat 6.0 2.2.15
Any help would be appreciated.
ASKER
Here is the output I get when I type your command:
[root@firewall xxxx]# rpm -Uvh kernel-headers-2.2.5-15.i3 86.rpm
error: package kernel-headers-2.2.5-15 is already installed
[root@firewall xxxx]#
Any other thoughts?
[root@firewall xxxx]# rpm -Uvh kernel-headers-2.2.5-15.i3
error: package kernel-headers-2.2.5-15 is already installed
[root@firewall xxxx]#
Any other thoughts?
eschieder,
As ifincham already pointed out, you should use ipchains with a 2.2 kernel. It is probably already installed (I can't remember if it was default from 6.0 or 6.1 on), but it is probably there.
As ifincham already pointed out, you should use ipchains with a 2.2 kernel. It is probably already installed (I can't remember if it was default from 6.0 or 6.1 on), but it is probably there.
ASKER
I am using ipchains, but need ipmasqadm to do port forwarding (at least I think its a requirement).
E
E
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
RPM did the job. Thanks alot..i was gettin pissed there for awhile.
Ipfwadm has been replaced by ipchains which in itself has now been bettered by iptables. So, you might consider trying ipchains at least. The ipchains that shipped with rh6.0 can be obtained from here --> http://www.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/linux/6.0/en/os/i386/RedHat/RPMS/ipchains-1.3.8-3.i386.rpm.
For you specific question, it just sounds as if you are trying to compile a program without having the linux kernel headers file (C language .h files) installed on your machine. For a vanilla RH6, these are here --> http://www.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/linux/6.0/en/os/i386/RedHat/RPMS/kernel-headers-2.2.5-15.i386.rpm.
Just download somewhere and install with :
rpm -Uvh kernel-headers-2.2.5-15.i3
I've a suspicion Redhat used to put the kernel-headers soemwhere non-standard in which case you'd have to find out where and make a symlink to satisfy ipmasqadm.
Rgds