-   Linux - Networking (
-   -   IPChains + port forwarding + redhat 7.2 (

purduephotog 04-21-2002 10:42 PM

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?



wanvadder 04-22-2002 01:29 AM

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.

purduephotog 04-22-2002 04:38 PM

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)

All times are GMT -5. The time now is 01:22 AM.