Redirect with IPFilter on Solaris 9
- From: Andreas Höschler <ahoesch@xxxxxxxxxxxx>
- Date: Mon, 23 Oct 2006 11:13:55 +0200
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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: Solaris 10, Samba, XP Write Delays
- Next by Date: SUMMARY: running ssh in crontab
- Previous by thread: Solaris 10, Samba, XP Write Delays
- Next by thread: SUMMARY: running ssh in crontab
- Index(es):
Relevant Pages
|
|