Linux - Security This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-24-2005, 11:23 PM
|
#1
|
Member
Registered: Nov 2004
Location: Philippines
Distribution: i dont know
Posts: 67
Rep:
|
firewall please help,
hi guys i just hav a couple of question here, My plan is to use suse10 as a DHCP-samba--web-ftp=server. my samba does'nt hava a login to view or to put a files in the shared folder from linuxbox. I'm confused on the security my my linuxbox. this server serve for a personal use.
I would like to ask what will i do to my firewall settings. i would like to ask your suggestions.
thanks
|
|
|
11-24-2005, 11:57 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
I'm not certain that I follow the question, but if your asking how to start off your firewall,
Close all ports and then open the following.
67/68 TCP & UDP for DHCP
80 & 443 for webserver
20 & 21 for ftp server
445 for samba
|
|
|
11-25-2005, 02:31 AM
|
#3
|
Member
Registered: Nov 2004
Location: Philippines
Distribution: i dont know
Posts: 67
Original Poster
Rep:
|
Quote:
Originally posted by musicman_ace
I'm not certain that I follow the question, but if your asking how to start off your firewall,
Close all ports and then open the following.
67/68 TCP & UDP for DHCP
80 & 443 for webserver
20 & 21 for ftp server
445 for samba
|
thanks for your reply musicman_ace, and sorry for my question.
anyway i'm just confused what will i put in my firewall.
|
|
|
11-25-2005, 11:20 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
The following link is documented well and should get you started. Though it states that its a stronger firewall, there is room for improvement. It does well for a soho/home user environment though.
http://www.e-infomax.com/ipmasq/howto/c-html/stronger-firewall-examples.html
|
|
|
11-26-2005, 12:58 AM
|
#5
|
Member
Registered: Jan 2002
Location: India
Distribution: CentOS/Mandriva
Posts: 126
Rep:
|
which firewall are you using, is it IPTables ?.
|
|
|
11-26-2005, 05:21 AM
|
#6
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
yes, I write my own iptables firewall in a bash script. That give me complete control and rests all the blame on me.
|
|
|
11-26-2005, 08:09 PM
|
#7
|
Member
Registered: Nov 2004
Location: Philippines
Distribution: i dont know
Posts: 67
Original Poster
Rep:
|
Quote:
Originally posted by musicman_ace
The following link is documented well and should get you started. Though it states that its a stronger firewall, there is room for improvement. It does well for a soho/home user environment though.
http://www.e-infomax.com/ipmasq/howt...-examples.html
|
thanks again musicman_ace..
|
|
|
12-15-2005, 03:20 AM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
might want to open port 137,139 tcp udp for samba as well.
|
|
|
All times are GMT -5. The time now is 05:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|