Solved

IPMasqadm Setup

Posted on 2001-09-12
6
262 Views
Last Modified: 2008-03-10
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_directory] Error 1

Im running RedHat 6.0 2.2.15

Any help would be appreciated.
0
Comment
Question by:escheider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:ifincham
ID: 6481669
Hi,

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.i386.rpm

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



0
 
LVL 4

Author Comment

by:escheider
ID: 6482791
Here is the output I get when I type your command:


[root@firewall xxxx]# rpm -Uvh kernel-headers-2.2.5-15.i386.rpm
error: package kernel-headers-2.2.5-15 is already installed
[root@firewall xxxx]#

Any other thoughts?
0
 
LVL 5

Expert Comment

by:BlackDiamond
ID: 6483667
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.
0
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 
LVL 4

Author Comment

by:escheider
ID: 6483705
I am using ipchains, but need ipmasqadm to do port forwarding (at least I think its a requirement).

E
0
 
LVL 5

Accepted Solution

by:
BlackDiamond earned 30 total points
ID: 6483795
sorry, saw ipfwadm in the other comment and that is what clicked. :->

Go grab and install an rpm.  No need to go through the hassle of building it from scratch.  You can find one here:
http://rpmfind.net/linux/rpm2html/search.php?query=ipmasqadm

Just run "rpm -Uvh packagename.rpm" when you get the one you need.


0
 
LVL 4

Author Comment

by:escheider
ID: 6488135
RPM did the job.  Thanks alot..i was gettin pissed there for awhile.

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question