Hi,

Is there a document that describes how to translate common IPFilter
constructs to pf? This would be helpful for people migrating (like me).
Specifically, I'm looking for the pf equivalent of IPFilter's

map $ext_if 192.168.10.0/24 -> 1.2.3.4/32 proxy port 500 ipsec/udp
map $ext_if 192.168.10.0/24 -> 1.2.3.4/32 proxy port 10000 ipsec/tcp
map $ext_if 192.168.10.0/24 -> 1.2.3.4/32 portmap tcp/udp 1025:65000
map $ext_if 192.168.10.0/24 -> 1.2.3.4/32

where 1.2.3.4 is an external IP address. I have read the faq and while
it has taught me a lot about pf, nothing pops out at me regarding this.

Thanks!

Jos

Reply via email to