I'm looking for a way with firewall-cmd or another command to do the following.
An incoming public interface has multiple ip addresses bound to it. How can I forward ports only for one of the IP addresses?
bond0 - public: 192.168.1.100 local machine SSHD bound here. 192.168.1.200 ---> forward SSH, HTTPS to 192.168.1.53 vm bridge on machine
I can use the
--forward-port when I forward all incoming traffic on a given port, however I would like to do this only for traffic destined to one target IP.
Routing all traffic destined for .200 to the .53 vm would be the alternative, not sure how to accomplish that either.