Linux and IP forwarding

I installed a linux machine with a IP masquerading firewall (Suse with 2.2 kernel). I understand the best way to use ip-forwarding is ipportfw but I don't have this program. Can anybody tell me how to get this and how to install. Or is it better to install redhat 6.1??

LVL 2
evertdAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TomdpConnect With a Mentor Commented:
With a 2.2 kernel, you need the ipmasqadm package. Get it at http://juanjox.kernelnotes.org/
Port forwarding is done with "ipmasqadm portfw". Be sure to compile your kernel with ip masquerading support, and to load the portfw module (/sbin/modprobe ip_masq_portfw). Good luck...
0
 
evertdAuthor Commented:
I installed it. But when U yse

ipmasqadm portfw -a -P tcp -L mylocaladdress 80 -R mywwwserver 80

it doesn't work.
0
All Courses

From novice to tech pro — start learning today.