LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2006, 04:49 PM   #1
Aps
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 07-05-2006, 10:54 PM   #2
pddm
Member
 
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112

Rep: Reputation: 15
Sorry my question, but I do not understand what you need the router for.
Why the router?
 
Old 07-06-2006, 04:20 AM   #3
Aps
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Router

I Know I Don't Need The Router But I Still Want To Keep It In Use.
 
Old 07-06-2006, 09:35 AM   #4
pddm
Member
 
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112

Rep: Reputation: 15
How is the routingtable of the router set?
 
Old 07-07-2006, 02:51 AM   #5
Aps
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 07-28-2006, 03:49 AM   #6
pddm
Member
 
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112

Rep: Reputation: 15
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!?
 
  


Reply



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
NAT, iptables, forwading, firewall w3it Linux - Newbie 7 11-17-2005 02:15 AM
nat & firewall thru iptables jkmartha Linux - Security 5 05-13-2005 07:47 AM
NAT, iptables, firewall, and Windoze AWyant Linux - Newbie 7 09-23-2003 04:30 PM
Iptables firewall with 4 NICs and nat jod Linux - Security 7 08-06-2003 05:14 AM
IPTABLES, NAT & Firewall dsylvester Slackware 1 02-15-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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