Hi,

I send a previous mail about this yet, but i really can't fix the problem. I
readed a book recomended on openbsd site: building firewall with pf and
openbsd, and as i can understand rdr rules are very simple.

That's what i do on pf.conf:

pf.conf:

ext_if="rl1"
ext_carp_if="carp1"
int_if="rl2"
int_carp_if="carp0"
pf_if="rl0"

nat on $ext_if from <lan_hosts> to any -> ($ext_carp_if)

rdr on $ext_if inet proto tcp from any to ($ext_carp_if) port 22 ->
192.168.0.200 port 22
rdr on $ext_if inet proto tcp from any to ($ext_carp_if) port 80 ->
192.168.0.200 port 80

pass out all
pass in all

but http conections and ssh won't be redirected. If i setup httpd in
firewall then i can see firewall apache daemon, but not apache on
192.168.0.200

Can anyone help me please?

Thanks.

Reply via email to