| Firewalling with OpenBSD's PF packet filter: EuroBSDCon 2007, København, September 12th 2007 | ||
|---|---|---|
| Prev | Next | |
In /etc/pf.conf, add:
air_if = "ath0"
and
nat on $ext_if from $air_if:network to any -> ($ext_if) static-port
Similar for ftp-proxy config, and include $air_if in your pass rules.