Internet --- eth0-Gateway server -eth1 --- Some server
# firewall-cmd --get-active-zone
public
interfaces: eth0 eth1
# nmcli connection modify eth1 connection.zone internal
# nmcli connection modify eth0 connection.zone external
# firewall-cmd --get-active-zone
external
interfaces: eth0
internal
interfaces: eth1
--Isn't it changed with iptables?
# cat /proc/sys/net/ipv4/ip_forward
1
Recommended Posts