My SME server is 192.168.0.25 connected to a cable modem on the outside interface.
Internally I connect to a Linksys wireless router at 192.168.1.1. I need to connect from the outside to a server at 192.168.1.200 but can't ping it. I tried using the route command but I must not have done it correctly because I still can't see it from the outside.
I created a port forward for 192.168.1.200 port 5020.
What am I doing wrong? Here is what I put in with the Route Command.
[root@maxserver root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
69.139.17.128 * 255.255.255.128 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default ubr03-a-rtr.chr 0.0.0.0 UG 0 0 0 eth1
-------------->[root@maxserver root]# route add -net 192.168.1.0
-------------->netmask 255.255.255.0 dev eth0
[root@maxserver root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
69.139.17.128 * 255.255.255.128 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default ubr03-a-rtr.chr 0.0.0.0 UG 0 0 0 eth1
[root@maxserver root]#
--- 192.168.1.1 ping statistics ---
390 packets transmitted, 0 received, +156 errors, 100% loss, time 390616ms
[root@maxserver root]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.0.25 : 56(84) bytes of data.
--- 192.168.1.1 ping statistics ---
10 packets transmitted, 0 received, 100% loss, time 9018ms
[root@maxserver root]#