Portforwarding with ipchains on 2.4 kernel
I need to portforward from the internet to a host behind a Linux
firewall using ipchains. Yes, iptables is preferred, but...
Ascii art:
internet---router------linuxfirewall------host
10.0.0.2 10.10.0.1 10.10.0.10
On the linuxfirewall, I have a virtual if, eth0:1, with IP 10.0.0.9 .
The router already does a 1:1 nat which works.
Of cause, I'll need firewallrules allowing needed traffic from
10.0.0.9 to 10.10.0.10 . Those are in place, AFAIC.
Using ipchains, I guess I'll need ipmasqadm with something like:
ipmasqadm portforward -a -p tcp -l 10.0.0.9 port -r 10.10.0.10 port
Problem is, it seems I do not have ipmasqadm on the system. I may be
missing something in the kernel setup, or need an external package.
Recommandations...?
Regards, /m
|