Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all.
I want to use a Service or Port like Samba but don't want to disable Firewall for Samba service.
I know that if I can't browse my Linux share via Samba it is because of Firewall and When I disable Firewall for Samba it is worked. I want to know how can I use Samba service with Enabled firewall.
Hello all.
I want to use a Service or Port like Samba but don't want to disable Firewall for Samba service.
I know that if I can't browse my Linux share via Samba it is because of Firewall and When I disable Firewall for Samba it is worked. I want to know how can I use Samba service with Enabled firewall.
...and this is NO DIFFERENT. As a network administrator, you should already know you have two choices:
NAT the port on your firewall/router/DMZ equipment
Open the port in your firewall
That's it. Those are, and will remain, your only two options. Choose one. Again, it DOES NOT MATTER what the service is, you NAT everything the same way...take the incoming traffic on your public IP address/port, and NAT it to something else internally. What the service is, is TOTALLY IRRELEVANT...it works the same way for ANY network traffic.
...and this is NO DIFFERENT. As a network administrator, you should already know you have two choices:
NAT the port on your firewall/router/DMZ equipment
Open the port in your firewall
That's it. Those are, and will remain, your only two options. Choose one. Again, it DOES NOT MATTER what the service is, you NAT everything the same way...take the incoming traffic on your public IP address/port, and NAT it to something else internally. What the service is, is TOTALLY IRRELEVANT...it works the same way for ANY network traffic.
I don't know what is your Goal and I don't know also why you thinking that a Network administrator must be know everything. I guess you claim it but you can't answer my question about Sound card. Please ignore my questions!!!!
I don't know what is your Goal and I don't know also why you thinking that a Network administrator must be know everything.
I would think that a network administrator would KNOW ABOUT NETWORKS. So why don't you? The options are the same as I told you before, and no matter WHAT service/port you're after, they're going to REMAIN the same. Re-read the first reply.
Quote:
I guess you claim it but you can't answer my question about Sound card. Please ignore my questions!!!!
Your questions WERE answered, but you ignored them. Again, YOU manually tried to do something, and broke your system. You STILL haven't answered questions in your other threads about your sound card about basic diagnostics, or other things to try, so complaining that we can't 'fix' your problems is wrong.
You CONTINUE to not post relevant details, you ignore advice given to you, you don't answer questions when asked, and you have done this for a LONG time now, on MANY subjects. Again, if you're not going to follow the LQ Rules and guidelines, not going to take advice, suggestions, or answer questions, there is NO POINT in you posting.
I want to know how can I use Samba service with Enabled firewall.
Find out which ports the Samba service needs then pierce a hole in your firewall for them but limit access to the hosts or subnets that require access.
If unsure:
0) list which ports you think Samba requires,
1) post your unaltered 'iptables-save' output and
2) the proposed changes in terms of ports and host access.
Find out which ports the Samba service needs then pierce a hole in your firewall for them but limit access to the hosts or subnets that require access.
If unsure:
0) list which ports you think Samba requires,
1) post your unaltered 'iptables-save' output and
2) the proposed changes in terms of ports and host access.
Exactly...that was proposed in the first reply here, and in another thread, where the OP posted about another service. They were also prompted for information about their firewall/router/setup, but that didn't meet with much success.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.