Redirect with IPFilter on Solaris 9

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Mon Oct 23 2006 - 05:13:55 EDT


Dear managers,

I am trying to realize port forwarding with IPFIlter on a machine with
one external (public ipaddress) and one internal (192.168.1.1)
interface. I would like to telnet into a machine in the LAN by using

        telnet <public ipaddress of ipfilter machine> <someport>

For this I added (hme0 is the external interface of the Solaris machine)

        rdr hme0 0/0 port <someport> -> 192.168.1.11 port 23 tcp

to /etc/opt/ipf/ipnat.conf and reloaded the rules with
/etc/init.d/ipfboot reload. When I try to connect I get

        telnet <public ipaddress of ipfilter machine> <someport>

Trying <public ipaddress of ipfilter machine>...
telnet: connect to address <public ipaddress of ipfilter machine>:
Connection refused

All google results tell me that my rule should work, but it doesn't.
What am I missing?

Thanks a lot!

Regards,

   Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:03 EDT