PF, The OpenBSD Packet Filter: Building The Network You Need: BSDCan, Ottawa, June 10th 2015 | ||
---|---|---|
Prev | Next |
emailserver = "192.0.2.225" pass log proto tcp to $emailserver port $email pass log proto tcp from $emailserver to port smtp
or log to separate pflog interface
pass log (to pflog1) proto tcp to $emailserver port $email pass log (to pflog1) proto tcp from $emailserver to port smtp
Note: 4.7/4.8 log bug for NAT, but you're not using those any more, right?