LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-25-2005, 12:23 AM   #1
westverg
Member
 
Registered: Nov 2004
Location: Philippines
Distribution: i dont know
Posts: 67

Rep: Reputation: 15
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
 
Old 11-25-2005, 12:57 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
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
 
Old 11-25-2005, 03:31 AM   #3
westverg
Member
 
Registered: Nov 2004
Location: Philippines
Distribution: i dont know
Posts: 67

Original Poster
Rep: Reputation: 15
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.
 
Old 11-26-2005, 12:20 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
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
 
Old 11-26-2005, 01:58 AM   #5
karunesh
Member
 
Registered: Jan 2002
Location: India
Distribution: CentOS/Mandriva
Posts: 126

Rep: Reputation: 15
which firewall are you using, is it IPTables ?.
 
Old 11-26-2005, 06:21 AM   #6
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
yes, I write my own iptables firewall in a bash script. That give me complete control and rests all the blame on me.
 
Old 11-26-2005, 09:09 PM   #7
westverg
Member
 
Registered: Nov 2004
Location: Philippines
Distribution: i dont know
Posts: 67

Original Poster
Rep: Reputation: 15
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..
 
Old 12-15-2005, 04:20 AM   #8
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,286

Rep: Reputation: 62
might want to open port 137,139 tcp udp for samba as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BSD Firewall vs Linux Firewall ? rootlinux Linux - Security 5 08-29-2007 08:38 AM
Firewall lets ips which are not in the firewall ... why ? sys7em Linux - Networking 2 06-30-2005 01:50 PM
Firewall with features of a Sidewinder firewall? abcampa Linux - Security 4 04-22-2005 05:24 PM
slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup win32sux Debian 1 03-06-2004 10:15 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration