pf nat log does not show source and destination port
Fatemeh Mehdizadeh
mehdizadeh.fatemeh at gmail.com
Mon Jun 11 11:51:43 UTC 2018
Hi all,
I'm using pf to create nat. I'm on FreeBSD9.2. I want enable logs for
nat translations, so
in pf.cpnf:
table <mytable> { 20.20.20.2,20.20.20.3,20.20.20.4,20.20.20.5 }
nat log on 'eth0' from { 10.10.10.0/24} to any -> <mytable>
round-robin sticky-address
After ping request I have a log:
# tcpdump -t -r pflog
IP 20.20.20.3 > 20.20.20.1: ICMP echo request, id 4147, seq 0, length 64
The problem is that I want my log shows the source port and
destination port and NOT show id, seq and length.
Thanks for your help
More information about the freebsd-pf
mailing list