How to open a specific port in Moutain Lion Firewall
I cant seem to find how to open a specific port in the ML firewall? I know you can give applications permisiion, but thats no good to me. Is there a way I can specify a specific port?
macos firewall
add a comment |
I cant seem to find how to open a specific port in the ML firewall? I know you can give applications permisiion, but thats no good to me. Is there a way I can specify a specific port?
macos firewall
2
Can you explain what you're trying to achieve, and why allowing an application permissions doesn't solve it? If you don't have a program listening on that port, opening it in the firewall doesn't do any good; if you do have a program listening, just allow that program in the firewall.
– Gordon Davisson
Sep 7 '12 at 16:22
I know it's an old question. Nonetheless I don't understand the downvote. The Op clearly asked what he was trying to achive: opening a port on the internal firewall. There are many reasons for this without the need of a specific application.
– cyphorious
Aug 29 '13 at 14:32
add a comment |
I cant seem to find how to open a specific port in the ML firewall? I know you can give applications permisiion, but thats no good to me. Is there a way I can specify a specific port?
macos firewall
I cant seem to find how to open a specific port in the ML firewall? I know you can give applications permisiion, but thats no good to me. Is there a way I can specify a specific port?
macos firewall
macos firewall
edited Jan 13 '16 at 8:33
Hennes
58.8k792141
58.8k792141
asked Sep 7 '12 at 13:40
geminiCoder
1271213
1271213
2
Can you explain what you're trying to achieve, and why allowing an application permissions doesn't solve it? If you don't have a program listening on that port, opening it in the firewall doesn't do any good; if you do have a program listening, just allow that program in the firewall.
– Gordon Davisson
Sep 7 '12 at 16:22
I know it's an old question. Nonetheless I don't understand the downvote. The Op clearly asked what he was trying to achive: opening a port on the internal firewall. There are many reasons for this without the need of a specific application.
– cyphorious
Aug 29 '13 at 14:32
add a comment |
2
Can you explain what you're trying to achieve, and why allowing an application permissions doesn't solve it? If you don't have a program listening on that port, opening it in the firewall doesn't do any good; if you do have a program listening, just allow that program in the firewall.
– Gordon Davisson
Sep 7 '12 at 16:22
I know it's an old question. Nonetheless I don't understand the downvote. The Op clearly asked what he was trying to achive: opening a port on the internal firewall. There are many reasons for this without the need of a specific application.
– cyphorious
Aug 29 '13 at 14:32
2
2
Can you explain what you're trying to achieve, and why allowing an application permissions doesn't solve it? If you don't have a program listening on that port, opening it in the firewall doesn't do any good; if you do have a program listening, just allow that program in the firewall.
– Gordon Davisson
Sep 7 '12 at 16:22
Can you explain what you're trying to achieve, and why allowing an application permissions doesn't solve it? If you don't have a program listening on that port, opening it in the firewall doesn't do any good; if you do have a program listening, just allow that program in the firewall.
– Gordon Davisson
Sep 7 '12 at 16:22
I know it's an old question. Nonetheless I don't understand the downvote. The Op clearly asked what he was trying to achive: opening a port on the internal firewall. There are many reasons for this without the need of a specific application.
– cyphorious
Aug 29 '13 at 14:32
I know it's an old question. Nonetheless I don't understand the downvote. The Op clearly asked what he was trying to achive: opening a port on the internal firewall. There are many reasons for this without the need of a specific application.
– cyphorious
Aug 29 '13 at 14:32
add a comment |
2 Answers
2
active
oldest
votes
This explains how to open a port by using the terminal. Otherwise you will need to download a program such as IceFloor or WaterRoof if you want a GUI.
1
That opens a port in the ipfw firewall, which is already wide open by default. In order to do anything useful, you have to be dealing with the application firewall (alf aka socketfilterfw aka a bunch of other names).
– Gordon Davisson
Sep 7 '12 at 16:20
add a comment |
There are two firewalls. The application firewall, and network layer firewall. The network firewall can be interacted with ipfw like this:
sudo ipfw list
sudo ipfw add [rule number] allow tcp from any to any dst-port [port]
You can interact with the application level firewall like this:
- Open System Preferences.
- Click the Security or Security & Privacy icon.
- Select the Firewall tab.
- Click the lock icon in the preference pane, then enter an administrator name and password.
- Click the Firewall Options button
- Click the Add Application (+) button. Select the app you want to allow incoming connection privileges for.
- Click Add.
- Click OK.
https://support.apple.com/en-ca/HT201642
Enjoy.
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%2f471276%2fhow-to-open-a-specific-port-in-moutain-lion-firewall%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This explains how to open a port by using the terminal. Otherwise you will need to download a program such as IceFloor or WaterRoof if you want a GUI.
1
That opens a port in the ipfw firewall, which is already wide open by default. In order to do anything useful, you have to be dealing with the application firewall (alf aka socketfilterfw aka a bunch of other names).
– Gordon Davisson
Sep 7 '12 at 16:20
add a comment |
This explains how to open a port by using the terminal. Otherwise you will need to download a program such as IceFloor or WaterRoof if you want a GUI.
1
That opens a port in the ipfw firewall, which is already wide open by default. In order to do anything useful, you have to be dealing with the application firewall (alf aka socketfilterfw aka a bunch of other names).
– Gordon Davisson
Sep 7 '12 at 16:20
add a comment |
This explains how to open a port by using the terminal. Otherwise you will need to download a program such as IceFloor or WaterRoof if you want a GUI.
This explains how to open a port by using the terminal. Otherwise you will need to download a program such as IceFloor or WaterRoof if you want a GUI.
edited Apr 13 '17 at 12:45
Community♦
1
1
answered Sep 7 '12 at 13:51
user142485
1,66511115
1,66511115
1
That opens a port in the ipfw firewall, which is already wide open by default. In order to do anything useful, you have to be dealing with the application firewall (alf aka socketfilterfw aka a bunch of other names).
– Gordon Davisson
Sep 7 '12 at 16:20
add a comment |
1
That opens a port in the ipfw firewall, which is already wide open by default. In order to do anything useful, you have to be dealing with the application firewall (alf aka socketfilterfw aka a bunch of other names).
– Gordon Davisson
Sep 7 '12 at 16:20
1
1
That opens a port in the ipfw firewall, which is already wide open by default. In order to do anything useful, you have to be dealing with the application firewall (alf aka socketfilterfw aka a bunch of other names).
– Gordon Davisson
Sep 7 '12 at 16:20
That opens a port in the ipfw firewall, which is already wide open by default. In order to do anything useful, you have to be dealing with the application firewall (alf aka socketfilterfw aka a bunch of other names).
– Gordon Davisson
Sep 7 '12 at 16:20
add a comment |
There are two firewalls. The application firewall, and network layer firewall. The network firewall can be interacted with ipfw like this:
sudo ipfw list
sudo ipfw add [rule number] allow tcp from any to any dst-port [port]
You can interact with the application level firewall like this:
- Open System Preferences.
- Click the Security or Security & Privacy icon.
- Select the Firewall tab.
- Click the lock icon in the preference pane, then enter an administrator name and password.
- Click the Firewall Options button
- Click the Add Application (+) button. Select the app you want to allow incoming connection privileges for.
- Click Add.
- Click OK.
https://support.apple.com/en-ca/HT201642
Enjoy.
add a comment |
There are two firewalls. The application firewall, and network layer firewall. The network firewall can be interacted with ipfw like this:
sudo ipfw list
sudo ipfw add [rule number] allow tcp from any to any dst-port [port]
You can interact with the application level firewall like this:
- Open System Preferences.
- Click the Security or Security & Privacy icon.
- Select the Firewall tab.
- Click the lock icon in the preference pane, then enter an administrator name and password.
- Click the Firewall Options button
- Click the Add Application (+) button. Select the app you want to allow incoming connection privileges for.
- Click Add.
- Click OK.
https://support.apple.com/en-ca/HT201642
Enjoy.
add a comment |
There are two firewalls. The application firewall, and network layer firewall. The network firewall can be interacted with ipfw like this:
sudo ipfw list
sudo ipfw add [rule number] allow tcp from any to any dst-port [port]
You can interact with the application level firewall like this:
- Open System Preferences.
- Click the Security or Security & Privacy icon.
- Select the Firewall tab.
- Click the lock icon in the preference pane, then enter an administrator name and password.
- Click the Firewall Options button
- Click the Add Application (+) button. Select the app you want to allow incoming connection privileges for.
- Click Add.
- Click OK.
https://support.apple.com/en-ca/HT201642
Enjoy.
There are two firewalls. The application firewall, and network layer firewall. The network firewall can be interacted with ipfw like this:
sudo ipfw list
sudo ipfw add [rule number] allow tcp from any to any dst-port [port]
You can interact with the application level firewall like this:
- Open System Preferences.
- Click the Security or Security & Privacy icon.
- Select the Firewall tab.
- Click the lock icon in the preference pane, then enter an administrator name and password.
- Click the Firewall Options button
- Click the Add Application (+) button. Select the app you want to allow incoming connection privileges for.
- Click Add.
- Click OK.
https://support.apple.com/en-ca/HT201642
Enjoy.
answered May 24 '15 at 18:58
Alex Atkinson
2,715913
2,715913
add a comment |
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%2f471276%2fhow-to-open-a-specific-port-in-moutain-lion-firewall%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
2
Can you explain what you're trying to achieve, and why allowing an application permissions doesn't solve it? If you don't have a program listening on that port, opening it in the firewall doesn't do any good; if you do have a program listening, just allow that program in the firewall.
– Gordon Davisson
Sep 7 '12 at 16:22
I know it's an old question. Nonetheless I don't understand the downvote. The Op clearly asked what he was trying to achive: opening a port on the internal firewall. There are many reasons for this without the need of a specific application.
– cyphorious
Aug 29 '13 at 14:32