Access to Local Area Network Linux PC from a Vista PC
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Access to Local Area Network Linux PC from a Vista PC
I have a number of PCs running on a local area network.
One runs Vista and one runs Red Hat 9 Linux (Yes I know it is old but the applications only run on this version).
I also remotely access an RH9 server offsite.
Using Putty and CuteFTP8 and web cgi files I am able to get into and run and change applications on the remote RH9 server.
I can also login directly to my local RH9 PC and do what I like that way.
However I can not get access through Putty or Cute or web cgi to my RH9 PC from the Vista PC. Although the application client runs perfectly against the local version of the application database on my Linux PC.
The message from Putty is (after a long delay) "Network error : Connection timed out".
Cute FTP fails with a similar message.
Do I need to do something on my modem/router to allow the connection (allow ports or something?) or do I need to do something on the RH9 PC?
If this is some basic security change I need to make to the PC I would appreciate some pointers on where to look and what to do.
Hi, Red Hat 9 is quite old... but I am guessing the port is probably blocked via firewall. See if you have iptables running, iptables -nvL and copy the output here in code tags, (iptables is in /sbin if you are not running with a user who has /sbin in their $PATH). What will be looked into, is if port 22 is open or closed. I believe FTP uses 21, SCP and SFTP use 22 tho.
Last edited by r3sistance; 03-19-2009 at 12:21 PM.
Assuming the local RH9 Linux PC is blocking access how can I identify the port that I should be using or alternatively authorise a port to allow access? For example the remote Linux server allows access via port 22. It would be nice if I could do the same. Then I can type in the local PC IP address and the port and I am in.
Is there somewhere I can look that explains this in English or if simple enough can someone explain it here?
iptables -F INPUT
iptables -A INPUT -p tcp --dport 22 -s '192.168.1.103' -j ACCEPT
service iptables save
Where the IP address is the local IP address allocated by the modem/router and 22 is the portno I wanted access to.
Now I can use Putty to login into the Linix RH9 PC.
I could not get the IP range working or the REJECT command but I am happy and can proceed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.