Windows: Only allow programs through firewall if connection is secureWindows Firewall: How to create a rule...

Replacing matching entries in one column of a file by another column from a different file

Java Casting: Java 11 throws LambdaConversionException while 1.8 does not

dbcc cleantable batch size explanation

What would happen to a modern skyscraper if it rains micro blackholes?

Why doesn't H₄O²⁺ exist?

What's that red-plus icon near a text?

How does one intimidate enemies without having the capacity for violence?

Today is the Center

Maximum likelihood parameters deviate from posterior distributions

Character reincarnated...as a snail

Alternative to sending password over mail?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Why can't we play rap on piano?

Why can't I see bouncing of a switch on an oscilloscope?

Arrow those variables!

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Why does Kotter return in Welcome Back Kotter?

Did Shadowfax go to Valinor?

Rock identification in KY

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

Can I ask the recruiters in my resume to put the reason why I am rejected?

Is it unprofessional to ask if a job posting on GlassDoor is real?

How can bays and straits be determined in a procedurally generated map?

How much of data wrangling is a data scientist's job?



Windows: Only allow programs through firewall if connection is secure


Windows Firewall: How to create a rule that allows a program through a specific remote VPN connection?Mikrotik Firewall rule: block all connection except to VPN serverHow to block all applications from accessing a connection in Windows 7 firewall?Windows 7 Firewall blocks incoming connection even though there is an “allow” ruleWindows Firewall with secure connection - ipsecwindows 10 VPN connection failHow to adjust rules priority of Windows Firewall?Windows 7 Firewall outbound allow rule for CryptSvc not matchingOS X connection through Windows Host Firewall with connection securityFirewall and VPN issue on Windows






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have setup an encrypted L2TP/IPsec connection using the built in settings in Windows 10. I only want to allow certain applications (i.e., Chrome) to be able to access the network if I am connected to the VPN server. Windows firewall has an option to only allow a connection for a specific program if it is secure.



However this approach has net me varying results. Chrome does not work at all when its rule is enabled and other program's rules do not seem to block their connections at all. I have used a packet viewer and I am pretty sure the connection is correctly encrypted so I'm guessing this is not the correct way to configure the firewall.



How can I restrict certain programs access to the internet if I am not connected to the VPN server?










share|improve this question









New contributor




Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Did you still allow DNS?

    – Seth
    18 hours ago











  • Wouldn't allowing DNS ruin the point of a VPN? Is there a way you can set a custom DNS server in the rules?

    – Oh Dear
    9 hours ago


















0















I have setup an encrypted L2TP/IPsec connection using the built in settings in Windows 10. I only want to allow certain applications (i.e., Chrome) to be able to access the network if I am connected to the VPN server. Windows firewall has an option to only allow a connection for a specific program if it is secure.



However this approach has net me varying results. Chrome does not work at all when its rule is enabled and other program's rules do not seem to block their connections at all. I have used a packet viewer and I am pretty sure the connection is correctly encrypted so I'm guessing this is not the correct way to configure the firewall.



How can I restrict certain programs access to the internet if I am not connected to the VPN server?










share|improve this question









New contributor




Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Did you still allow DNS?

    – Seth
    18 hours ago











  • Wouldn't allowing DNS ruin the point of a VPN? Is there a way you can set a custom DNS server in the rules?

    – Oh Dear
    9 hours ago














0












0








0








I have setup an encrypted L2TP/IPsec connection using the built in settings in Windows 10. I only want to allow certain applications (i.e., Chrome) to be able to access the network if I am connected to the VPN server. Windows firewall has an option to only allow a connection for a specific program if it is secure.



However this approach has net me varying results. Chrome does not work at all when its rule is enabled and other program's rules do not seem to block their connections at all. I have used a packet viewer and I am pretty sure the connection is correctly encrypted so I'm guessing this is not the correct way to configure the firewall.



How can I restrict certain programs access to the internet if I am not connected to the VPN server?










share|improve this question









New contributor




Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have setup an encrypted L2TP/IPsec connection using the built in settings in Windows 10. I only want to allow certain applications (i.e., Chrome) to be able to access the network if I am connected to the VPN server. Windows firewall has an option to only allow a connection for a specific program if it is secure.



However this approach has net me varying results. Chrome does not work at all when its rule is enabled and other program's rules do not seem to block their connections at all. I have used a packet viewer and I am pretty sure the connection is correctly encrypted so I'm guessing this is not the correct way to configure the firewall.



How can I restrict certain programs access to the internet if I am not connected to the VPN server?







windows vpn windows-firewall






share|improve this question









New contributor




Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 9 hours ago







Oh Dear













New contributor




Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 21 hours ago









Oh DearOh Dear

11




11




New contributor




Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Oh Dear is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Did you still allow DNS?

    – Seth
    18 hours ago











  • Wouldn't allowing DNS ruin the point of a VPN? Is there a way you can set a custom DNS server in the rules?

    – Oh Dear
    9 hours ago



















  • Did you still allow DNS?

    – Seth
    18 hours ago











  • Wouldn't allowing DNS ruin the point of a VPN? Is there a way you can set a custom DNS server in the rules?

    – Oh Dear
    9 hours ago

















Did you still allow DNS?

– Seth
18 hours ago





Did you still allow DNS?

– Seth
18 hours ago













Wouldn't allowing DNS ruin the point of a VPN? Is there a way you can set a custom DNS server in the rules?

– Oh Dear
9 hours ago





Wouldn't allowing DNS ruin the point of a VPN? Is there a way you can set a custom DNS server in the rules?

– Oh Dear
9 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Oh Dear is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421732%2fwindows-only-allow-programs-through-firewall-if-connection-is-secure%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Oh Dear is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Oh Dear is a new contributor. Be nice, and check out our Code of Conduct.













Oh Dear is a new contributor. Be nice, and check out our Code of Conduct.












Oh Dear is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421732%2fwindows-only-allow-programs-through-firewall-if-connection-is-secure%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...