Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-09-2011, 04:03 PM   #1
LQ Newbie
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Post Firewall infront of router setup?

Hello all, I am new to this site and thoguth I would pose a question off the bat.

I am trying to setup a firewall using Centos 5.5. The machine has 2 NICs, one connecting to the ISP/Modem and the other connected to a DIR-655 wireless router. The nic is connecting to the internet port on the router.

I do not want DHCP on the Firewall machine but on the wireless router.

[ISP/Modem]<--->[machine eth0]<--->[machine eht1]<--->[DIR-655 internet port]
IP from ISP Dynamic

IP's on the DIR-655 LAN will be network lets say.

I have setup routes on the eth0 and
and added to eth1.

I can ping eth0 and eth1 but cannot ping

this setup is not actually connected to the internet so I disabled iptables to try testing the ping and still no good.

Any help would be appreciated.

Old 03-10-2011, 07:06 PM   #2
LQ Newbie
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
okay, so far this is what I have with the setup

Right now I have router1 wireless to a wireless bridge port 1<--->eth0 [firewall] eth1<--->router2 internet port<---><--->LAN Port 3<--->laptop.

router1 LAN = network
bridge = static ip in router1 range
eth0 = dynamic from router1 (current
eth1 = static
router2 internet port = static
router2 LAN = network
laptop on router2 lan port 2 = dynamic

Currently on the firewall i can ping eth0 and eth1 and out eth0 to router1 lan IPs
I cannot ping router2 IP or the laptop

On the laptop I can ping the router2 IP and eht1. I cannot ping eth0 or beyond.
I also set SELinux to permissive and allowed ip forwarding.

dazed and confused.

Last edited by tjwilliams; 03-10-2011 at 07:09 PM.


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
Router/Firewall Setup edooze Linux - Networking 3 08-19-2007 01:44 PM
Home Router Firewall Setup jrtayloriv Linux - Security 4 12-25-2006 06:19 PM
router and firewall setup jibskg Linux - Networking 1 08-23-2004 09:01 AM
firewall setup and MX smtp router gizbourn Linux - Networking 0 02-18-2004 07:03 AM
router/firewall setup please help?! basatum Mandriva 1 09-20-2003 03:53 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:47 AM.

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