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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
