View Full Version : ssh login trouble from different subnet
zackjz
2005-02-04, 09:56 AM CST
i have ssh set up on fc2 and can log in from the local lan (private ip) or when directly connected via a crossover using public ips. basically it looks like when i'm on the same subnet i can get in fine. then i try remotely and access is denied. its got a clean shot to the internet, no firewall etc. only iptables locally. i used the security gui to allow access to ssh and 5901 (for vnc, i ssh in then turn vnc on then off as necessary.). otherwise config is default. the box is at a remote location and i can have someone get in and make the necessary changes, but i need to get as good an idea as possible why this is happening. iptables is not restricting access based on ip.
Jman
2005-02-04, 08:49 PM CST
You may have allowed ssh through the Fedora firewall, but is there some other firewall? Perhaps at the router connected to the Internet?
thorng
2005-02-05, 01:23 AM CST
Do you have the default gateway setup?
zackjz
2005-02-05, 02:06 PM CST
there's no other firewall. as far as the gateway, i set it, but'll double check and make sure it's right; that's a good suggestion.
zackjz
2005-02-05, 03:22 PM CST
it's not the gateway. a capture shows traffic coming back. putty log says "authentication refused".
thorng
2005-02-07, 12:53 AM CST
then what's /var/log/secure says?
zackjz
2005-02-08, 03:56 PM CST
the gateway was right. the hosting site gave me a .1 gateway and it turned out being the second address in my subnet. i was getting some traffic but not all, it was getting confused. thanks
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.