Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I don't understand why I cannot connect from Win 98 to Red Hat 9 using putty(ssh).
According to nmap on RH box:
[root@localhost sbin]# nmap 192.168.1.100
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (192.168.1.100):
(The 1593 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
79/tcp open finger
80/tcp open http
111/tcp open sunrpc
139/tcp open netbios-ssn
443/tcp open https
3306/tcp open mysql
6000/tcp open X11
SSH port # 22 is open.
Linux IP: inet addr:192.168.1.100
Both Linux and Windows boxes are under LinkSys router.
Windows Ethernat Ip is: 192.168.1.101.
So From Windows 98 I'm trying to connect using Putty. I entered the IP address: 192.168.1.100 and choosed Port 22 for connection.
After 1 min, I received error message that the connection can not be establishe
Why I cannot connect to Linux box? Any help will be appreciate.
Just for giggles try telneting to port 22 from the windows box (telnet hostname 22).
If you are running nmap from the linux computer then that doesn't mean that it'll accept something from a different computer. Still sounds like a firewall problem to me. Run nmap from the machine you are sshing to (or just telnet to that port)
You will need something like
iptables -A INPUT -p ALL -i eth1 -s 192.168.0.0/24 -j ACCEPT
in your firewall script (with whatever IP's your using for your LAN).
Or just /etc/init.d/iptables stop and see if it works.
Don't waste your time w/ those individual firewalls. Install OpenBSD on an old box as your network's firewall and let the most secure operating system in the world take care of you
iptables will work just fine but I can't help pimping OpenBSD. It's designed w/ security in mind from the ground up and is far easier to get running IMHO. All you have to do is read the OpenBSD FAQ and the man pages and you will be up and running. Linux is great for the desktop and you can secure it w/ some effort but OpenBSD is built w/ security in mind w/ everything turned off by default. So you only turn on what you need. Also, pf is FAR easier to use than iptables.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.