LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Iptables Firewall Router Nat Problems (http://www.linuxquestions.org/questions/linux-networking-3/iptables-firewall-router-nat-problems-461299/)

Aps 07-05-2006 04:49 PM

Iptables Firewall Router Nat Problems
 
I'm Having A Problem Getting To The Internet With My Linux Firewall Box. I'm Using Iptables. This Is How The Network Looks

192.168.2.0 192.168.1.0 24.0.0.0
Switch ---- Cisco 2600 ---- Firewall ----- Cable Modem

If I Bypass The Cisco Router And Switch And Connect From The Pc Thru The Firewall I Can Get Online. When I Connect Thr The Switch I Get Timed Out. From The Switch I Can See All The Networks. I Can Ping Both Interfaces On The Firewall, But I Can Ping The Cable Modem. When I Hook A Pc Thru The Firewall I Can Ping The Cable Modem. I Think The Firewall Is Dropping The Traffic Coming From The 192.168.2.0 Network. Any Suggestions

pddm 07-05-2006 10:54 PM

Sorry my question, but I do not understand what you need the router for.
Why the router?

Aps 07-06-2006 04:20 AM

Router
 
I Know I Don't Need The Router But I Still Want To Keep It In Use.

pddm 07-06-2006 09:35 AM

How is the routingtable of the router set?

Aps 07-07-2006 02:51 AM

It shows that my lan network and the network between the router and firewall are directly connected. All other traffic is set to go thru the interface that between the router and firewall. I set a static route to the network between the firewall and the cablemodem

pddm 07-28-2006 03:49 AM

Sorry for my delay on coming back to you.
Could it be that you have a cross-over cable where you should not or a a straight-through where you should not?

The only way connecting the PC to the firewall is using a cross over cable!?


All times are GMT -5. The time now is 02:15 AM.