LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2003, 09:13 PM   #1
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Firewalls


ok Hey i dont know if this is the right form but here i go ok i have a apache server running and its using port 80 right.... ok i have a firewall the default one that came with Mandrake 8.2 and when i put it on the littlest settings it blocks out port 80 but i dont want port 22 and port 21 and the rest of the the ones that i dont need open how would i close these with leaving open port 80???

Matt3333
 
Old 04-03-2003, 09:45 PM   #2
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
If this apache server is serving a webpage that is not internal, ie. you and your friends are not the only ones accessing it, then you will have to leave it at port 80. but if this does not apply to you, I recommend changing the default port since you will most likely get a little less scanned (and hence be slightly more secure) - you will need to explicitly state the new port when accessing it (eg. www.domain.com:811) but since this is internal, you will know this....so no problem.

As for the firewall, if you are running apache...you should really ditch the default one and look into learning iptables. This way you can block off everything except what you explicitly want. BTW, what is the default firewall in MDK? I'm sure you can google for documentation to it, which should help you figure out the appropriate steps.
 
Old 04-04-2003, 05:29 PM   #3
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
thanks for that help i believe the firewall is bastile-firewall i believe not to sure do u recommend any websites for learning iptables??
thanx

Matt3333
 
Old 04-05-2003, 02:08 AM   #4
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Not particularly. You can start by googling for 'iptables'...
; )
 
Old 07-03-2003, 11:53 PM   #5
hexbit
Member
 
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
Here's a good link that helped me get started writing a good firewall :

http://www.linuxguruz.com/iptables/

Lots of examples, tutorials and such ..
 
  


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
Firewalls mrfixit1951 Linux - Security 7 07-18-2005 05:15 AM
Getting around firewalls Gameon Linux - Networking 13 05-11-2005 09:27 PM
firewalls anyone? BajaNick Linux - General 0 02-05-2004 10:08 PM
Linux Firewalls [iso firewalls] yoogie Linux - Networking 3 01-28-2002 07:56 PM
Firewalls Alejandro Aguilera Vega Linux - Networking 1 03-02-2001 04:52 PM


All times are GMT -5. The time now is 08:41 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