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 have two computers at home, one sharing the conection to internet (Windows XP with Firewall activated) and another one with Slackware10 Linux with the SSH server.
I would like to connect from university or other places trough SSH to my Linux machine, but obviously the petition goes through the Windows machine first.
After having read some articles and stuff about NAT firewalls and port-forwarding I activated the port 22 in the Windows Firewall to be redirected to my Linux machine but when I make any kind of petition I just get "connection refused" error.
After reading more stuff I think the problem may be with my Linux machine because I have done everything possible with that firewall to activate 22 port.
May be you should post your firewall rules on your Linux box.. Can you connect to your Linux box via SSH from your windows box? If no, then there is a blocking rule in your Linux box' firewall configuration; if yes then the problem is in your windows firewall's port forwarding configuration.
Using 192.168.0.2:22 I can connect but if I try to use 200.116.xxx.xxx I get the refused connection, so the problem might be in Windows? Anything to do?
Then i think problem is in windows box. You can use `tcpdump' in your Linux box and analize the packets (port number, destination and source IP, for example) related with SSH to see if there is any traffic coming from your windows box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.