Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-14-2007, 10:59 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
Routing issue with two linux with firewall

Hello, I have a fedora box with IP Masquerading setup. I used the instructions on to set it up. The problem is that I can't ssh from my firewall box to any internal linux box. my firewall is configured eth0 as internal and eth1 as external and just using basic iptables ruleset from the tutorial. When I try to ssh to my internal box 192.168.0.x from the external box I get " ssh: connect to host 192.168.0.x port 22: No route to host". I can ping the ip fine. My routing table looks like this:
[root@oracle rc.d]# ip route show via dev eth0 via dev eth0
external_IP/24 dev eth1 proto kernel scope link src ISP_address dev eth0 scope link
default via ISP_gateway dev eth1

[root@oracle rc.d]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface UGH 0 0 0 eth0 UG 0 0 0 eth0
external_IP U 0 0 0 eth1 U 0 0 0 eth0 ISP_gateway UG 0 0 0 eth1

what's wrong with my routing table? Please help.
BTW: the natting works fine, I can ssh to the firewall box on both interface fine. just can't ssh/telnet from the firewall to anywhere else.
Old 04-06-2007, 05:41 PM   #2
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30

Change the firewall rules.


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
Routing or firewall issue svandena Linux - Networking 6 11-14-2006 09:34 AM
Firewall routing by hostname - possible? jread Linux - Networking 3 09-16-2005 11:34 AM
Firewall Routing trent000 SUSE / openSUSE 1 07-19-2005 11:17 AM
masquerading / routing /firewall issue? VultureCulture Linux - Networking 2 10-04-2002 11:47 AM

All times are GMT -5. The time now is 05:50 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