ipmasqadm portfw does not work

hello everybody,

perhaps this is a newbye question (or problem) but I just can't
enable PORTFW on REDHAT 6.0 (kernel 2.2.5 and then upgrade to 2.2.12) .

The machine has 2 network cards

Accomplished tasks were:
- kernel recompilation with all necessary options enabled (masquerading, portfw ... - not modules)
- ip_forwarding enabled (set to 1)
- creation of rc.firewall script as:

/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s -j MASQ
/usr/sbin/ipmasqadm portfw -f
/usr/sbin/ipmasqadm portfw -a -P tcp -L OUTSIDE_ADDRESS 80 -R 80

I mention that there are no errors when script is executed !

I do not have any machine outside of the firewall (this is another private network) but telneting from the firewall on
the IP of the external card (OUTSIDE_ADDRESS) no redirection happens.

Thank you in advance.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Got the same prob.... use redir to do the trick

i`m using redir to forward a telnet connection from a real ip adress to an internal ip address throught an SSH session (telnet to a vms)

Hope that help
dragossAuthor Commented:
Yes it helps. Thanks a lot.
^^ humm where are my points :P

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dragossAuthor Commented:
I solved also the problem with portfw autofw . You have to access the external network card from outside (and not from the firewall box). I wonder if anyone knows if you can resolve sqlnet (Oracle) over this arrangement. ?? which are the communication ports beside 1521, 1526.......
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.