Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Win7 Firewall won't allow SSH or FTP

24 Jun 2009   #1
v1nsai

Ubuntu Linux 64-bit/Windows 7 32-bit
 
 
Win7 Firewall won't allow SSH or FTP

Hello all first post here, I've got an issue that's been driving me crazy. I've installed MobaSSH and the windows firewall absolutely refuses to let it through. I've taken down the firewall and everything works fine, so I know its the firewall. Same problem with a Serv-u FTP server but I'm not as worried about that as I am the SSH server. MobaSSH adds itself as a service, so while it was running I found the process and made sure that it was added to the firewall, I can find nothing else to add to exceptions.

I haven't found much in terms of firewalls for Windows 7, so I would prefer to get this to work instead of switching firewalls, but if someone can recommend a good one thats fine too. Thanks for any input


My System SpecsSystem Spec
.
24 Jun 2009   #2
Generator

XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot
 
 

Incase you havn't tried it:

If you're adding the FTP servers to the firewall rules via pointing it to the actual '.exe' files try adding the FTP port instead or even aswell as.

If that fails, have you tried different port numbers just incase there's some weird conflict going on inside the firewall.
My System SpecsSystem Spec
24 Jun 2009   #3
fseal

Windows 7 x64 Ultimate
 
 

Moba SSH is a server right?

You definately have to hand open ports to allow acess IN through the firewall then. I believe that adding the exe to the firewall list is mainly just to "ok" programs that are local that are trying to connect outward. When inbound, the firewall has no idea what program an incoming request is for, only what port is trying to be opened, so you need to specifically open the SSH inbound port in the firewall.
My System SpecsSystem Spec
.

24 Jun 2009   #4
v1nsai

Ubuntu Linux 64-bit/Windows 7 32-bit
 
 

I guess I figured the firewall would read my thoughts and understand what port I wanted open. Stupid MS. Thanks for the help though, glad it was an easy fix.
My System SpecsSystem Spec
24 Jun 2009   #5
fseal

Windows 7 x64 Ultimate
 
 

Ha.

Actually, now that I think about it, it seems like it certainly COULD know. Netstat knows... hmm.
My System SpecsSystem Spec
21 Apr 2011   #6
jeremyjjbrown

Windows 7 32 Home Premium through 64 Ultimate
 
 
Full Details

I just read this page and though I would write up a complete answer for when someone else reads this.

In order to pass windows firewall with SSH FTP or whatever you need to do the following.

1. set an outgoing rule with the path of the .exe your want to to use.
IE C:\Program Files (x86)\MobaSSHServer\MobaSSH_Server_Home_1.53

2. set an incoming rule with the same path.

3. open the static port the app uses.
IE Telnet and SSH are port 22.

4. If you want to connect from the outside world you will have to set your router to forward the port to the computer that hosts the .exe

5. if your host network and internet connections are configured with DHCP ( the default setting for most Non-Work networks) you need give you computer a static ip in your router settings. You will also need to get a DNS name for your home network so you can find it from the outside world ( dyndns.com is free).

BTW Why are you Windows Engineers morons who can't write a firewall interface that lets you enter all of the setting in one place?
My System SpecsSystem Spec
21 Apr 2011   #7
Shootist

Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by jeremyjjbrown View Post
I just read this page and though I would write up a complete answer for when someone else reads this.

In order to pass windows firewall with SSH FTP or whatever you need to do the following.

1. set an outgoing rule with the path of the .exe your want to to use.
IE C:\Program Files (x86)\MobaSSHServer\MobaSSH_Server_Home_1.53

2. set an incoming rule with the same path.

3. open the static port the app uses.
IE Telnet and SSH are port 22.

4. If you want to connect from the outside world you will have to set your router to forward the port to the computer that hosts the .exe

5. if your host network and internet connections are configured with DHCP ( the default setting for most Non-Work networks) you need give you computer a static ip in your router settings. You will also need to get a DNS name for your home network so you can find it from the outside world ( dyndns.com is free).

BTW Why are you Windows Engineers morons who can't write a firewall interface that lets you enter all of the setting in one place?
Or you could just turn the Windows Firewall off and do all this on your router.
Actually there is no need for a software firewall when your PCs are behind a router.
Not sure why MS has included this in Win 7 and made everyone think they need to use it.
My System SpecsSystem Spec
21 Apr 2011   #8
jeremyjjbrown

Windows 7 32 Home Premium through 64 Ultimate
 
 

Quote:
Not sure why MS has included this in Win 7 and made everyone think they need to use it.
Someone could have their box in the dmz...
My System SpecsSystem Spec
21 Apr 2011   #9
Shootist

Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by jeremyjjbrown View Post
Quote:
Not sure why MS has included this in Win 7 and made everyone think they need to use it.
Someone could have their box in the dmz...
Right and in that case you need a firewall.
My System SpecsSystem Spec
Reply

 Win7 Firewall won't allow SSH or FTP




Thread Tools




Similar help and support threads
Thread Forum
Why Does Win7 Firewall Keep Shutting Down?
I'm using Windows' own Firewall, but it keeps shutting itself off. How do I keep it turned on? On the same general subject...Can someone please tell me which Windows Utilities do I need to take care of all of those security issues. I know, silly question, but I'm a set-it-and-forget-it kinda...
Performance & Maintenance
Is it safe to disable Win7 firewall ?
Hi I've had many woes with my Logitech Duet network music system - lots of "no IP address" and "no valid DHCP.." messages. This was using the SqueezeServer software music server on my Win 7 netbook. I disabled Win 7 Firewall & AVG. This seemed to cure the issue (even after AVG had...
System Security
Win7 through a PIX 506 firewall
I've got a Cisco PIX 506 firewall that only allows traffic to certain sites with my PCs running Win7 on my small office network. I'm sure it's a firewall issue as I've disconnected the firewall and went directly to my ISP (Cox) and had no problems. What settings must I change on my firewall or on...
Network & Sharing
XP Firewall blocks Win7 laptop
I have an XP SP3 desktop and a Windows 7 (32 bit) laptop connected via a Linksys router. If I turn off the XP's Windows firewall, the laptop can access the shared resources on the XP (files, printers), but with it turned on, nothing. Any advice/help is greatly appreciated. RON
Network & Sharing
Win7 Firewall
Hi! i have to block the internet connection of some programs i've installed, i know that with the win7 firewall i can block the .exe of programs with outbound rules, is enough or i have to download another firewall program? Thank you
System Security
Is there a free firewall + antivirus for Win7?
I'm a long time Comodo user, but it appears that the firewall has problems running in Win7, does anyone know of a firewall+AV bundle for Win7? Or at least just a firewall. Cheers
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:58.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App