SSH from outside local subnet

Hello all,

I guess I’ve missed something in opening my suse box up for SSH.

IP of server is 10.10.10.4/24

I can SSH to it from 10.10.10.2/24 but not from 10.20.20.2

I’ve done
iptables -X
iptables -F

iptables-save

This is what I see from iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

In my hosts.allow I added:

sshd : ALL : ALLOW

Anyone have any ideas why I can’t ssh from another network? Just to note, I can reach the box with pings from the 10.20.20.0 network, I’m just newbie with linux :slight_smile:

And what about the router between those two networks?

IMO also to be considered and perhaps more to the point since both are private networks have you constructed routing tables for each network to “see” the other(one or both are not the Default Gateway of the other)?

Tony

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Right… start with basic tests. Can you ping? Can you get there via
other TCP or UDP-based services? Did this ever work? Can you access
anything else on the box? Does a LAN trace on the destination side even
see packets from the source side? When you try to SSH (or ping, or
netcat, or whatever) what error comes back?

Good luck.

On 01/31/2011 11:36 AM, tsu2 wrote:
>
> IMO also to be considered and perhaps more to the point since both are
> private networks have you constructed routing tables for each network to
> “see” the other(one or both are not the Default Gateway of the other)?
>
> Tony
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNRwJaAAoJEF+XTK08PnB5S2IQAI4m9o2k93+ravZGJR3wFxHj
VtBIjFD4dNOm/lcMuuOEEckVQuj9t38Lr/Wq4j0q0fVvtI9xKM3ZL/2JfjnHCEXZ
g7o4vniOnrqcNg7iX8ylyHw9F+rnd2YaDMxYexykeQvhUdZdxFdDIXqPRd+W5Asu
7NIC4jkqiQuLy5vjN3bR4KRsjFug2728rC3kpzJXN6HH1911EMI+13+ClwvBAcUb
ZlqE7bXU8GlOYHqd1Qvz0S4y/IVM1wr0rjIA+PBuLlZQF8k/RG6iog90FD+zDyfT
zsBTRaoSA5LlmPwqOxzfjun/Dk3aCcidBc2BoOTJzylWfPiSxCGd9OBfkApiqVZ4
TGJGHnr5mEMstmHEY2lXyDmWGPUsFhL/wlDtNtxKXthX94EurMrIlqAs4Nme3Wvt
QBSp8xDwtWP01Eck6YulZ4jAHF27PJfXQJEvGoaJIET5ZztfWUU0eF2mOOG7tGdr
2clfFjeoiw8fOf7yiYygxv5dJszkBcy4+qP8r4T/u0pTRZBIju+ONUp9yj+MLWYA
C9TUiEdCY5tWeBwDT4F1v3R2aOTW3AmU3gQzTxX/jxn1KrXo0chOTTOSIWpmyyk/
5VK6REnYbj68FtxBI7v5/rkmKS2UIbrbijTGLdsAGLNb6WgfSIpWDmoI6fGPsA5K
+j5i3+Pr1Al3z6EUMnNd
=XfR4
-----END PGP SIGNATURE-----