logging for snat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Is it possible to log traffic for a specific postrouting policy that
will be snat to somewhere else from a particular interface?

ie.  iptables -t nat -I nat POSTROUTING -i eth0 -s
192.168.1.0/255.255.255.0 -d 192.168.22.0/255.255.255.0 -p tcp -m tcp -j
SNAT --to-source 192.168.22.215:1-65535

I would like to log the translating address of the above iptables rule.
Please advice if that can be done and how.

Thanks,
Peggy



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux