Got a new setup with ipf, and most of it works smoothly. But I'm trying to let internal hosts access the webserver in dmz, which doesnt work at all, so I tried binding an alias ip to the xl0 interface, which is the one the clients connect to, and redirect that to the webserver in dmz, but no luck. I really think I tried everything to make it work, and seems like its one of the ipfrules being bad or missing. As seen in the active sessions the rdr'ing is working.
aaa.bbb.0.0/16 is internal network (xl0) ccc.ddd.0.0/24 is dmz (fxp1) eee.fff.ggg.hhh is public ip (fxp0) Ipfrules : Block in log on fxp0 all Block in log on fxp1 all Block in log on xl0 all pass in quick on xl0 proto tcp from aaa.bbb.0.0/16 to any flags S keep state pass in quick on xl0 proto udp from aaa.bbb.0.0/16 to any keep state pass in quick on fxp0 proto tcp from any to ccc.ddd.0.4 port = 80 flags S keep state pass in quick on fxp0 proto tcp from any to ccc.ddd.0.3 port = 25 flags S keep state pass in quick on fxp0 proto tcp from any to ccc.ddd.0.3 port = 443 flags S keep state pass in quick on fxp1 proto tcp from any to any port = 80 flags S keep state pass in quick on fxp1 proto tcp from ccc.ddd.0.3 to any port = 443 flags S keep state pass in quick on fxp1 proto tcp from ccc.ddd.0.3 to any port = 25 flags S keep state pass in quick on fxp1 proto tcp from ccc.ddd.0.4 to any port = 80 flags S keep state Ipnatrules : ipnat -l List of active MAP/Redirect filters: map fxp0 aaa.bbb.0.0/16 -> eee.fff.ggg.hhh/32 proxy port 7070 raudio/tcp map fxp0 aaa.bbb.0.0/16 -> eee.fff.ggg.hhh/32 proxy port 554 raudio/tcp map fxp0 aaa.bbb.0.0/16 -> eee.fff.ggg.hhh/32 proxy port ftp ftp/tcp map fxp0 aaa.bbb.0.0/16 -> eee.fff.ggg.hhh/32 map fxp0 ccc.ddd.0/24 -> eee.fff.ggg.hhh/32 map fxp0 aaa.bbb.0.0/16 -> eee.fff.ggg.hhh/32 portmap tcp/udp 40000:60000 rdr xl0 aaa.bbb.1.2/32 port 80 -> ccc.ddd..4 port 80 tcp rdr fxp0 eee.fff.ggg.hhh/32 port 0 -> ccc.ddd.0.3 port 0 gre rdr fxp0 eee.fff.ggg.hhh/32 port 80 -> ccc.ddd.0.4 port 80 tcp rdr fxp0 eee.fff.ggg.hhh/32 port 25 -> ccc.ddd.0.3 port 25 tcp rdr fxp0 eee.fff.ggg.hhh/32 port 443 -> ccc.ddd.0.3 port 443 tcp List of active sessions: RDR ccc.ddd.0.4 80 <- -> aaa.bbb.1.2 80 [aaa.bbb.x.x 2305] ipf -V ipf: IP Filter: v3.4.25 (336) Kernel: IP Filter: v3.4.25 Running: yes Log Flags: 0 = none set Default: pass all, Logging: available Active list: 0 Hope this is sufficient information, and hopefully someone here will be able to help /Sune
