Internet --- eth0-Gateway server -eth1 --- Une sorte de serveur
# 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
# cat /proc/sys/net/ipv4/ip_forward
1
Recommended Posts