You are here

PortableApps browsers & Windows Firewall with Advanced Settings

6 posts / 0 new
Last post
Infos
Offline
Last seen: 6 years 8 months ago
Joined: 2017-07-02 12:32
PortableApps browsers & Windows Firewall with Advanced Settings

Hi,

I use Windows Firewall with Advanced Settings and I don't know enable connection for PortableApps browsers.

I use task manager to find the exe browser (FirefoxPortable/App/Firefox64/firefox.exe, OperaPortable/App/Opera/46.0.2597.32/opera.exe or K-MeleonPortable/App/K-Meleon/k-meleon.exe) and I create a rule to allow this exe to connect to HPPT & HTTPS (TCP 80 & 443) like a resident browser. But it can't connect.

I think that PortableApps browers use a Windows service to connect, but which one ?

How can I do to allow PortableApps browers to access internet without a general rule to allow TCP ports 80 & 443 ?

PS : Sorry for my bad english.

richo
richo's picture
Offline
Last seen: 3 weeks 3 days ago
Joined: 2007-01-31 22:03
RE: PortableApps browsers & Windows Firewall with Advanced Setti

Make sure that the rules you create are ones that allow, not block/disallow. Usually Windows will ask if you would like to add a new rule if it thinks the app needs it (unless this has been turned off by an administrator)

Delete the rules you made and try using your PortableApps browsers. They will either work or you'll get a firewall prompt. If they just don't work and there is no prompt, an administrator has turned the prompt off.

Infos
Offline
Last seen: 6 years 8 months ago
Joined: 2017-07-02 12:32
This is the same rule that I

This is the same rule that I use for resident browsers. The difference is that portable browsers are still blocked by the firewall.

A solution that isn't no one is to create a rule to open ports TCP 80 and 443. But the problem is that rule isn't selective, it applies to all apps.

I restore default parameter in Windows Firewall and I create a rule for Firefox x64 installed and FirefoxPortable (/App/Firefox64/Firefox.exe), but only the portable browser is blocked. But I'm not this problem in my VMs (Win 7 & Win 10).

ne0t
Offline
Last seen: 6 years 8 months ago
Joined: 2017-07-16 04:42
For Firefox from PortableApps

Does the portable app installed in a drive that doesn't exist when you boot up your pc? for example in a Truecrypt/Veracrypt container (later mounted as a drive) or it's inside an usb drive which is not mounted when pc is booted up.

I found out that Windows Firewall skips rule with 'invalid program' (program that's not there when Windows Firewall started).

I also just found out a simple (and kinda stupid) trick to make Windows Firewall re-load rules..turn Windows Firewall Off, then On (do this after you've mounted the drive or plug in the usb drive).

ne0t
Offline
Last seen: 6 years 8 months ago
Joined: 2017-07-16 04:42
To make it easier and faster

To make it easier and faster to force Windows Firewall reload the rules, make a .BAT file with this line (and make a shortcut + give it a shortcut key) :

netsh advfirewall set currentprofile state on

This command turns on windows firewall (i know it's already turned on, but this trick works, it makes windows firewall reload rules).

It works for me, now i don't need to open Windows Firewall, turn off and on, just need to run the shortcut or press the shortcut key AFTER I mount the drive or plug in the usb.

Infos
Offline
Last seen: 6 years 8 months ago
Joined: 2017-07-02 12:32
Firewall problem with %USERPROFILE% in the path

I find the problem. In my VMs I put apps in C:\App, but in my PC I put them in the user directory.
The problem is %USERPROFILE% in the path of the exe in the rule.
The solution is to type the full path.

Log in or register to post comments