I want to log destination IP addresses in my Ubuntu router. I have two network cards
eth0 - 10.0.101.254
eth1 - 10.0.101.253
10.0.101.254 is the GW for all hosts on my network.
The router works perfectly, but I want to log all destination addresses on outgoing traffic through the router. How can I set this up with iptables? Or is there another way to log this?