Date: Mon, 11 Jun 2018 16:21:42 +0430 From: Fatemeh Mehdizadeh <mehdizadeh.fatemeh@gmail.com> To: freebsd-pf@freebsd.org Subject: pf nat log does not show source and destination port Message-ID: <CAJjCBpOSf6NkB=3rN-E3wf1vi63gx1ehVqNrpKU0n3XupsUozA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJjCBpOSf6NkB=3rN-E3wf1vi63gx1ehVqNrpKU0n3XupsUozA>
