Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • RHEL 7.0 Firewall IP Masquerading and Port Forwarding

    Posted on

    I have an Intel x86_64 system running rhel 7.0
    I want to use this system as a Firewall.
    The system has two NICs. one NIC is defined with the static IP address from my ISP.
    The other NIC is also static i.e. no dhcp, and is assigned a LAN addrs of 192.168.10.6
    It is plugged into a switch (192.168.10.1) that has other two devices plugged in.
    Each with it's own hard-coded LAN address (Netmask is 255.255.255.0)
    I have two zones active in the firewall config External (using the static ip from the ISP)
    and Internal (using the IP addrs of 192.168.10.6)
    I'm forwarding the following two ports 80 & 443 in both zones.
    External zone: ports 80 & 443 are forwarded to my switch (192.168.10.1)
    Internal zone: ports 80 & 443 are forwarded to my static IP addrs from my ISP.
    I have IP masquerading turned on in both zones.

    However none of the other workstations (Windows 7 professional) and my "smart" TV (netflix access)
    are able to access the internet. Again I'm NOT using any dhcp, all IP addresses are hard coded.
    I can ping any LAN address from any LAN node. The Linux FW machine can access the internet.
    I've read thru the RHEL 7.0 Security guide regarding setting up the firewall and I believe I have all the elements defined
    properly ... It just doesn't seem to work. Does anyone know of any diagnostic routines that I can use to see if the IP masquerading and port forwarding
    is actually occurring?

    Thanks

    Guy

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat