tnodir / fort

Fort Firewall for Windows
GNU General Public License v3.0
1.11k stars 97 forks source link

Add a backup and add a user profile #149

Closed kiro5678 closed 6 months ago

kiro5678 commented 6 months ago

I would like to thank the developer for this wonderful program. It outperforms Simplewall, but it lacks some features, such as backing up user settings. The ability to add more than one user profile.

Emi-Emi-Emi commented 6 months ago

Backup settings was already filed by the Dev in https://github.com/tnodir/fort/issues/19 so it is a duplicate. But Fort Firewall stores the files (SQLite Databases) in C:\ProgramData\Fort Firewall:

and the other user settings for hotkeys and window positions and all that are in %localappdata%\Fort Firewall.

So, they are easy to manually backup.

About Profiles, what firewall offers profiles? Because AppGroups can achieve the same and probably be better than any other Firewall, since Fort has wildcard support and child processes and svchost services and all that. But you can easily add all the programs you want with wildcards to an AppGroup, and use the AppGroups Enable state to affect invidual Programs and Wildcard programs if necessary, after that, you use the tray icon or keyboard shortcuts or even by schedule to easily switch between AppGroups like you would with a 'Profile', turn off a group, turn on the other.

tnodir commented 6 months ago

@kiro5678 Can you please describe how do you use profiles in Simplewall?

Where are the profiles in Simplewall's UI?

kiro5678 commented 6 months ago

@kiro5678 Can you please describe how do you use profiles in Simplewall?

There is no user profile in Simplewall

kiro5678 commented 6 months ago

@tnodir The user can switch to any of the user profiles, as the user profile maintains the user configurations. For example, User Profile 1 holds games blocked while User Profile 2 contains user settings to allow games. This is a method similar to chrome. I hope you understand me well

tnodir commented 6 months ago

Backup is #19. Sort of profiles are planned in #2.

tnodir commented 6 months ago

For example, User Profile 1 holds games blocked while User Profile 2 contains user settings to allow games. This is a method similar to chrome.

Hm I don't know, I don't use Chrome.

Did you try the App Groups in Fort?

kiro5678 commented 6 months ago

Yes, I tried that. The way an application groups works is different from a user profile. The user profile keeps all user configurations like application groups, allowed and blocked applications, blocked IP addresses and all user settings. Where the user can create more than one user profile. Please excuse me if there are misspelled words, I am using Google Translate

tnodir commented 6 months ago

The user profile keeps all user configurations like application groups, allowed and blocked applications, blocked IP addresses and all user settings.

Sorry, this is out of plan and requires total redesign.

You can use --profile <PATH> command line argument, but it should be used by Service too. So, not easy for ordinary user.

Also you can use FortFirewall.exe.example.ini in the Fort's installed directory to create FortFirewall.exe.ini and specify profileDir and userDir directories.