Netzwerkverkehr nur für bestimmte Programme in Windows 7 zulassen

19099
Justinas Dūdėnas

Manchmal benutze ich mein Mobiltelefon als WLAN-Router. Wenn mein Windows 7 Home Premium eine Verbindung zu diesem Netzwerk herstellt, verbraucht es sofort viele Daten. Ich muss in diesen Fällen den gesamten Internetverkehr außer Browser und Skype deaktivieren und leicht zurückschalten, wenn ich gewöhnliches WLAN bekomme. Ich dachte, die Windows-Firewall könnte das problemlos, aber es scheint nicht so.

4

2 Antworten auf die Frage

6
Scott Chamberlain

If you want to block all outbound connections do the following:

Type Firewall in the search box in the start menu and select "Windows Firewall with advanced security", in the middle section of the window click `Windows Firewall Properties' enter image description here

From there whatever network your cell phone modem is considered (Public, Domain, or Private) go to that tab and change outbound connections from Allow to Block.

enter image description here

If you need some programs to be able to connect you need to explicitly let them connect by adding a rule to the Outbound Rules.

If you make your cell phone connection fall under the "Public" profile and your home connection as your "Private" profile you will not need to make any changes at all when you switch between your two connections if you only block outbound "public" connections.


If you can identify the program that is using a lot of traffic you can skip all of the above steps and just make a new outbound rule and set it to block that application.

Ausgehende Regeln gelten für alle Konfigurationen. Sie müssen also viele Standardausnahmen für alle Profile ausschalten, wenn Sie alles außer dem Browser blockieren möchten. Justinas Dūdėnas vor 12 Jahren 1
@ JustinasDūdėnas Nein, klicken Sie nicht auf die Regel. Klicken Sie auf "Eigenschaften" und dann auf die Registerkarte "Erweitert". Dort können Sie überprüfen, für welche Profile die Regel gilt. Scott Chamberlain vor 12 Jahren 1
Du hast recht Es dauerte wie 100 Mausklicks, um alle zu reparieren, aber es ist wahrscheinlich nicht schwieriger als das Installieren und Konfigurieren einer anderen Firewall. Dennoch stimme ich zu, dass die Firewall von Windows in Bezug auf Benutzerfreundlichkeit alles andere als perfekt ist. Justinas Dūdėnas vor 12 Jahren 0
@ JustinasDūdėnas [Sie können ein Skript über Powershell erstellen] (http://blogs.technet.com/b/jamesone/archive/2009/02/18/how-to-manage-the-windows-firewall-seinstellungen-mit-powershell .aspx) und Aktualisierungen in Massen. Wenn Sie Windows 8 oder neuer verwenden, ist es sogar noch einfacher (http://technet.microsoft.com/de-de/library/jj554906.aspx). Scott Chamberlain vor 10 Jahren 0
0
user200948

Generally your soulution works like a charm. I've had excacly same issue as poster - wanted to block internet access from applications while using 3G connection. I've spend some time (20 minutes) to add exceptions for some applications to allow traffic through public profile and that did the job. But now.... I'm facing same problem on this f...... Windows 8. Almost everything works excacly the same like for Win7 but Metro (or Modern if you like) apps live their own lives. It seems that all Metro apps are using some common gateway to "get-into" Internet because they don't give a f.... about Firewall rules. While classic applications follow firewall rules, then metro one just have a full access to Internet. They ALL must have one common rule for all metro apps so firewall rules can't separatelly control traffic for each Metro apps separatelly. My biggest fear is that Windows Firewall can block/allow access to ALL metro apps at once following by single rule, but can't block/allow access to particular metro apps separatelly. Am I right?

Für Wi-Fi hat Win-8 eine spezielle Funktion namens "Metered Connection": http://en.kioskea.net/faq/30984-windows-8-set-network-as-metered-connection BTW, dies ist ein Kommentar , keine Antwort, die Sie posten, um streng zu sein. Justinas Dūdėnas vor 10 Jahren 0