Hello, I have and old centos DNS server as a filter, all the traffic to port 53 is captured and redirected to the server, no matter what DNS has the clients configured, migrating now to openSUSE Leap 15.3, the old server has this two rules on iptables:
-A PREROUTING -i ens160 -p udp -m udp --dport 53 -j DNAT --to-destination 192.168.0.2:53
-A PREROUTING -i ens160 -p tcp -m tcp --dport 53 -j DNAT --to-destination 192.168.0.2:53
but, how can I add these rules on firewalld???
VampirD:
Hello, I have and old centos DNS server as a filter, all the traffic to port 53 is captured and redirected to the server, no matter what DNS has the clients configured, migrating now to openSUSE Leap 15.3, the old server has this two rules on iptables:
-A PREROUTING -i ens160 -p udp -m udp --dport 53 -j DNAT --to-destination 192.168.0.2:53
-A PREROUTING -i ens160 -p tcp -m tcp --dport 53 -j DNAT --to-destination 192.168.0.2:53
but, how can I add these rules on firewalld???
Direct rules documentation…
https://firewalld.org/documentation/man-pages/firewalld.direct.html