[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipchains problem



"Rodrigo Haces Rozada" <rodrigo@haces.com.mx> writes:

> I know that this have nothing to do with this list, but i'm not suscribed to
> any other so here it is, I have a router machine connected to internet via
> DSL, its internal ip is 192.168.0.1, i need every internet package that
> arrives to port 221 go directly to the local machine with ip 192.168.0.12
> port 22, i need to use ipchains cause i have an old kernell, can anyone help
> me with this?
ipchains  (the tool) could not do that.

would do that.

ipmasqadm portfw -a -P tcp -L 192.168.0.1 221 -R 192.168.0.12 22

should do.

with iptables it's  much easier ;-)

Arne




Reply to: