Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2015, 10:30 AM   #1
LQ Newbie
Registered: Jan 2014
Location: in the desert with a horse that has no name
Distribution: redhat
Posts: 4

Rep: Reputation: Disabled
Firewall Setup

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 It is plugged into a switch ( that has other three devices plugged in. Each with it's own hard-coded LAN address (Netmask is I have two zones active in the firewall config External (using the static ip from the ISP) and Internal (using the IP addrs of I'm forwarding the following two ports 80 & 443 in both zones. External zone: ports 80 & 443 are forwarded to my switch ( Internal zone: ports 80 & 443 are forwarded to my static IP addrs from my ISP. I have IP masquerading turned on in the External 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 work. I have the same set of DNS values defined on all systems.
They are the three DNS servers assigned by my ISP. I have ipv4 forwarding active on my Linux system. I have masquerading "turned on" in the External zone. The resolv.conf file has the ip addresses of the DNS servers as well as my switch.
However the windows 7 systems and my "smart" TV cannot access the internet.
Anyone who's really familiar with rhel firewall-config GUI and has any suggestions please respond.

Last edited by 2UCowpoke; 01-22-2015 at 10:31 AM.
Old 01-22-2015, 11:44 AM   #2
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 178

Rep: Reputation: 13
Post ur iptable rules
#iptables -L
Old 01-22-2015, 11:53 AM   #3
LQ Newbie
Registered: Jan 2014
Location: in the desert with a horse that has no name
Distribution: redhat
Posts: 4

Original Poster
Rep: Reputation: Disabled
Originally Posted by zafar_dandoti View Post
Post ur iptable rules
#iptables -L
Hi Zafar Thanks for your response. However, in RHEL 7.0 using the firewall-config GUI, the iptables are not used. firewall-config uses a set of xml files
instead. The iptables directory on my RHEL 7.0 Linux machine is empty.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewall Setup (IPTABLES) on a Virtual Server in a LVS Setup justemail Linux - Networking 1 06-24-2009 12:00 AM
pppoe-setup masquerade firewall vs custom firewall matters Slackware 12 03-06-2009 04:50 AM
help with client side NFS-firewall setup and server side NIS-firewall setup niverson Linux - Networking 3 02-02-2004 08:52 AM
Firewall Setup Q nixtech Linux - Networking 1 08-15-2003 08:47 PM
firewall setup Syncrm Linux - General 8 03-25-2002 04:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration