RHEL7 Fedora as Network Router and Gateway
Hardware Requirements: 2 Ethernet Network Cards: 1 for WAN; 1 for LAN Optional Wireless Router for wifi Software Requirements: NIC Configuration Files sysctl Kernel Parameters Firewall Configuration dhcpd Server For the sake of clarity the two network cards will be called ifcfg-wan (WAN) and ifcfg-lan (LAN); make the necessary changes for your environment accordingly, e.g. eth0, ens1, enp0s77, etc., as I will not outline how to make naming changes for hardware devices. The configuration files for the relevant network adapters/cards are located in /etc/sysconfig/network-scripts/ifcfg-wan and /etc/sysconfig/network-scripts/ifcfg-lan files . First, make sure all the interfaces are "down" and the ethernet cables are unplugged from both adapters. Assuming you're not using NetworkManager this can be accomplished on the commandline with "ifdown wan" and/or "ifdown lan". Next, check the system's network activity for open por