I have to add that I used also rdr dmfe0 0/0 port 80 -> 192.168.2.2 port 8080
and still I couldn't make it work the way I want. Forgot to mention about the os it's a solaris 8 2/02 with ipf 3.4.25 thanks > > hi, > > i'm trying to setup a web server that will be available only to a > specific group (in my case a class c network) and for the rest of the > world I want to redirect them to a second server (that can be local or > behind my box) > > the way I did in ipnat.rules : > > rdr dmfe0 ! from 10.10.10.0/24 to 10.20.20.20/32 port = 80 -> > 192.168.2.2 port 8080 tcp > > rdr dmfe0 10.10.10.32/32 port 80 -> 192.168.2.2 port 8080 tcp > > now when I have the second rule in place ipnat doesn't consider the > first one and all the traffic is redirected, BUT if I have only the > first rule and I connect from that net I dont't get redirections nor I > see in ipnat -l some rdr. > > > any suggestions will be welcome. > > thanks in advance > > -- > Silviu Dicu > > -- Silviu Dicu Unix Administrator Stylus Strategic Communications Inc. 514-288-8613
