RHEL: How do I log packets that have been forwarded to another IP address via NAT with iptables
Issue
- We have a RHEL7.3 server and we have a requirement from our customer to forward TCP packets going to an IP to another destination IP and at the same time log it.
Environment
- Red Hat Enterprise Linux
- iptables
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.