Mann, Bradley wrote:
"You mention you are using Solaris - Don't expect a redirect to ever
make it to localhost, it doesn't work."

 -Does this mean that there is not a solution to my problem? I have only
two interfaces on the machine: bge0 and lo0 (loopback). I need an
external machine connecting to port 80 to be redirected to port 8080 on
the machine running the webserver and ipfilter.


http://www.phildev.net/ipf/IPFques.html#ques17

http://www.phildev.net/ipf/IPFprob.html#prob17

The following rule should always fail on Solaris

rdr bge0 0/0 port 80 -> 127.0.0.1 port 8080

as will any other RDR to lo0.

Unless I completely misunderstood your problem I thought I posted you a solution based upon what I setup on my IP Filter firewall. Once you get the RDR statements setup correctly ensure you have no ipf rules which may interfere with your testing. Once you have the RDR working, apply your ipf rules and then if you can no longer reach your server you know that an ipf rule is blocking it.

Larry.

Reply via email to