I'm looking for a solution to route port forwarding trough a particular interface:
For insane:
having a zone called "inz08"
I have 2 interfaces in that zone:
Code: Select all
ens33
ens38
Code: Select all
firewalld-cmd --zone=inz08 --add-forward-port=port=2245:proto=tcp:toport=22:toaddr=10.0.0.125
I've gone trough documentation at http://www.firewalld.org/documentation/
But can't find any appropriate syntax to add it, I did try to use
Code: Select all
:interface=ens38
:iface=ens38
:dev=ens38
Please tell me that developers did think about such function and its there