Results 1 to 1 of 1
Hello, I have a fedora box with IP Masquerading setup. I used the instructions on tldp.org ( http://tldp.org/HOWTO/IP-Masquerade-...-examples.html ) to set it up. The problem is that I can't ssh ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-14-2007 #1
- Join Date
- Mar 2007
routing problem between two linux server
Hello, I have a fedora box with IP Masquerading setup. I used the instructions on tldp.org (http://tldp.org/HOWTO/IP-Masquerade-...-examples.html) 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
192.168.0.11 via 192.168.0.1 dev eth0
192.168.0.0/24 via 192.168.0.1 dev eth0
external_IP/24 dev eth1 proto kernel scope link src ISP_address
169.254.0.0/16 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
192.168.0.11 192.168.0.1 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0 0 eth0
external_IP 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 ISP_gateway 0.0.0.0 UG 0 0 0 eth1
what's wrong with my routing table? Please help.