Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-21-2002, 10:42 PM   #1
LQ Newbie
Registered: Apr 2002
Posts: 2

Rep: Reputation: 0
Question IPChains + port forwarding + redhat 7.2

If this comes across frustrated, please forgive me. The 'upgrade' to 7.2 has hosed everything.

I am trying to forward ports on 2047 and 2048 to an internal host . I have installed ipmasqadm-0.4.2-3.i386.rpm . If I execute the following command, however:

[root@gateway root]# /usr/sbin/ipmasqadm portfw -l
portfw: setsockopt failed: Invalid argument
Could not open "/proc/net/ip_masq/portfw"
Could not open "/proc/net/ip_portfw"
Check if you have enabled portforwarding

Therefore somehow portfw isn't working.

A modprobe doesn't find the ip_masq_portfw.o module, either- i even went so far as to download a copy and throw it into the directory.

I frankly am out of my element now- it worked with redhat 5.1 and I (thought) i was doing the right thing by upgrading- suffice to say it wasn't

Any suggestions?


Old 04-22-2002, 01:29 AM   #2
LQ Newbie
Registered: Jul 2001
Location: Malaysia
Distribution: Redhat, NetBSD, OpenBSD
Posts: 4

Rep: Reputation: 0
ipmasqadm only working on kernel 2.2.x only if i'm not mistaken ( redhat 7.2 uses kernel 2.4.x), btw, you can use iptables to do redirection ( port forward ) since the weakness of ipchains can be found on iptables.
Old 04-22-2002, 04:38 PM   #3
LQ Newbie
Registered: Apr 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Iptables didn't work....

Yeah, I know that isn't very descriptive- but I could not get it to work- kept complaining about things not being present in the kernel. Eventually gave up and re-implemented IPChains....

*sigh* so complicated it hurts. Why linux? :P (j/k)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Port Forwarding RedHat 9 dwest576 Linux - Networking 4 06-29-2003 02:06 PM
IPChains/IPMasqadm Port Forwarding Sonicsone Linux - Networking 8 12-03-2002 01:18 PM
ipchains port forwarding Ratclaws Linux - Security 2 12-04-2001 03:59 AM
Ipchains port forwarding localy yogee Linux - Networking 7 07-16-2001 11:41 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration