How do I use Windows Firewall allow an application inbound/outbound access to ONLY a single IP?
up vote
2
down vote
favorite
How do I set up the built in windows firewall in a way that follows this logic...
Allow ALL traffic to/from [Application] to/from [IP]
Deny all OTHER traffic to/from [Application]
.
Essentially, a whitelist of IPs, but ONLY for that specific application.
I know I could do this with a global deny + an allow for the one application. But then everything else would be denied and I can't have that.
windows networking firewall
add a comment |
up vote
2
down vote
favorite
How do I set up the built in windows firewall in a way that follows this logic...
Allow ALL traffic to/from [Application] to/from [IP]
Deny all OTHER traffic to/from [Application]
.
Essentially, a whitelist of IPs, but ONLY for that specific application.
I know I could do this with a global deny + an allow for the one application. But then everything else would be denied and I can't have that.
windows networking firewall
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
How do I set up the built in windows firewall in a way that follows this logic...
Allow ALL traffic to/from [Application] to/from [IP]
Deny all OTHER traffic to/from [Application]
.
Essentially, a whitelist of IPs, but ONLY for that specific application.
I know I could do this with a global deny + an allow for the one application. But then everything else would be denied and I can't have that.
windows networking firewall
How do I set up the built in windows firewall in a way that follows this logic...
Allow ALL traffic to/from [Application] to/from [IP]
Deny all OTHER traffic to/from [Application]
.
Essentially, a whitelist of IPs, but ONLY for that specific application.
I know I could do this with a global deny + an allow for the one application. But then everything else would be denied and I can't have that.
windows networking firewall
windows networking firewall
edited Dec 4 at 21:00
asked Dec 4 at 20:24
Overwatch
133
133
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Here is my idea:
Using Windows Defender Firewall with Advanced Security, you may create a Custom
rule pertaining to the program in question.
When you arrive in the New Rule wizard to the Scope section,
choose for remote IP addresses the option of "These IP addresses", click "Add...",
choose "This IP address range", and give a range of 0.0.0.1
and up to
the allowed address minus one. Create the rule as blocking.
Repeat this for creating another rule for this program that blocks
the address range of from the allowed address plus one
and up to 255.255.255.253
.
Now only that IP address should be allowed for this program.
Yeah. This is how I ended up doing it. But you got your answer in before I could get back here to answer it myself. So you get the Internet Points.
– Overwatch
Dec 4 at 21:57
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1380831%2fhow-do-i-use-windows-firewall-allow-an-application-inbound-outbound-access-to-on%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Here is my idea:
Using Windows Defender Firewall with Advanced Security, you may create a Custom
rule pertaining to the program in question.
When you arrive in the New Rule wizard to the Scope section,
choose for remote IP addresses the option of "These IP addresses", click "Add...",
choose "This IP address range", and give a range of 0.0.0.1
and up to
the allowed address minus one. Create the rule as blocking.
Repeat this for creating another rule for this program that blocks
the address range of from the allowed address plus one
and up to 255.255.255.253
.
Now only that IP address should be allowed for this program.
Yeah. This is how I ended up doing it. But you got your answer in before I could get back here to answer it myself. So you get the Internet Points.
– Overwatch
Dec 4 at 21:57
add a comment |
up vote
0
down vote
accepted
Here is my idea:
Using Windows Defender Firewall with Advanced Security, you may create a Custom
rule pertaining to the program in question.
When you arrive in the New Rule wizard to the Scope section,
choose for remote IP addresses the option of "These IP addresses", click "Add...",
choose "This IP address range", and give a range of 0.0.0.1
and up to
the allowed address minus one. Create the rule as blocking.
Repeat this for creating another rule for this program that blocks
the address range of from the allowed address plus one
and up to 255.255.255.253
.
Now only that IP address should be allowed for this program.
Yeah. This is how I ended up doing it. But you got your answer in before I could get back here to answer it myself. So you get the Internet Points.
– Overwatch
Dec 4 at 21:57
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Here is my idea:
Using Windows Defender Firewall with Advanced Security, you may create a Custom
rule pertaining to the program in question.
When you arrive in the New Rule wizard to the Scope section,
choose for remote IP addresses the option of "These IP addresses", click "Add...",
choose "This IP address range", and give a range of 0.0.0.1
and up to
the allowed address minus one. Create the rule as blocking.
Repeat this for creating another rule for this program that blocks
the address range of from the allowed address plus one
and up to 255.255.255.253
.
Now only that IP address should be allowed for this program.
Here is my idea:
Using Windows Defender Firewall with Advanced Security, you may create a Custom
rule pertaining to the program in question.
When you arrive in the New Rule wizard to the Scope section,
choose for remote IP addresses the option of "These IP addresses", click "Add...",
choose "This IP address range", and give a range of 0.0.0.1
and up to
the allowed address minus one. Create the rule as blocking.
Repeat this for creating another rule for this program that blocks
the address range of from the allowed address plus one
and up to 255.255.255.253
.
Now only that IP address should be allowed for this program.
answered Dec 4 at 21:39
harrymc
252k11259559
252k11259559
Yeah. This is how I ended up doing it. But you got your answer in before I could get back here to answer it myself. So you get the Internet Points.
– Overwatch
Dec 4 at 21:57
add a comment |
Yeah. This is how I ended up doing it. But you got your answer in before I could get back here to answer it myself. So you get the Internet Points.
– Overwatch
Dec 4 at 21:57
Yeah. This is how I ended up doing it. But you got your answer in before I could get back here to answer it myself. So you get the Internet Points.
– Overwatch
Dec 4 at 21:57
Yeah. This is how I ended up doing it. But you got your answer in before I could get back here to answer it myself. So you get the Internet Points.
– Overwatch
Dec 4 at 21:57
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1380831%2fhow-do-i-use-windows-firewall-allow-an-application-inbound-outbound-access-to-on%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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