firewall problem on local network?

Archived topics about LMDE 1
Forum rules
Level 2
Level 2
Posts: 79
Joined: Thu Oct 27, 2011 8:14 am

firewall problem on local network?

Postby DougB » Tue Mar 06, 2012 2:58 pm

I have several machines running LMDE Update Pack 3 on a local ethernet network connected through a router with fixed IP addresses.
Recently I added a laptop. I can ping between any of the machines, ssh and rsync from the laptop to the others; but when I try to ssh from any of them to the laptop I get the error:

Code: Select all

ssh: connect to host <laptop hostname> port 22: Connection refused.

Firewall is all greyed out (Enabled, Incoming - Deny, Outgoing - Deny)

What do I do to enable ssh and rsync'ing for other PCs to the laptop?


User avatar
Level 24
Level 24
Posts: 21382
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: firewall problem on local network?

Postby xenopeek » Tue Mar 06, 2012 3:41 pm

Moved here by moderator

Level 1
Level 1
Posts: 3
Joined: Fri Mar 02, 2012 9:36 pm

Re: firewall problem on local network?

Postby mathew_nicholls » Sat Mar 10, 2012 8:21 pm

I have the same problem. I cant even SSH to the loopback

Level 5
Level 5
Posts: 679
Joined: Fri Jun 25, 2010 4:44 am

Re: firewall problem on local network?

Postby Inkit » Sat Mar 10, 2012 10:33 pm

It looks to me like your laptops firewall is refusing the connection. You have to set up a rule to allow connections from the host machine.
I don't use the native ufw firewall, but use firestarter and all you do is try to ssh to the laptop from the host. Firestarter blocks it and throws up an error in events. Just right click on the ip address that is blocked (it will be the host machines so you can cross verify) and choose allow connections from host. The next time you ssh, you should be able to connect.
Since firestarter is just a gui front end for iptables I am assuming that the process is the same for ufw too. It's just that I'm not familiar with it so I don't know.

Return to “Archive”