LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2007, 11:34 PM   #1
noonmid27
Member
 
Registered: Sep 2006
Posts: 79

Rep: Reputation: 15
Firewall


Hi guys

I am using slackware 11.......what i want to know is how do i open a port on my firewall. im really just trying to do this for testing purposes. I was told that slackware does not have a default firewall installed, but when i do a nmap scan of my ports only a few is accepting connections i want to know how to open a port like say 15000 or something just for test purposes. Is this done in iptables or something.
 
Old 03-23-2007, 06:15 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled
Opening ports is done by services -- programs that bind to them e.g. listening. You can change your browser default port (80) to anything you like (in firefox -> tools -> options -> advanced -> network -> settings). is that what you want?

Your (not running ) firewall may or may not block the port, depending what you told it to do...

Last edited by JZL240I-U; 03-23-2007 at 06:16 AM.
 
Old 03-23-2007, 09:15 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
You could see if you have iptables installed (the defacto firewall in Linux kernels 2.4 and up (or is it 2.6??)).

As root:

Code:
iptables -L
if it cant find iptables try
Code:
find / -name "iptables"
To try and find the binary for it.

if it is installed you could create rules for incoming on that port. Google for iptables resources, it's not a 2 second job.
 
Old 03-23-2007, 09:18 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,949

Rep: Reputation: Disabled
Quote:
Originally Posted by ethics
... Google for iptables resources, it's not a 2 second job.
This site's got a WIKI, tutorials and an own search function .
 
  


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
router billion 5102 has firewall and software firewall tests aus9 Linux - Security 6 12-31-2006 11:09 PM
using a router with firewall, local firewall waste? Michael_aust Linux - General 1 03-26-2006 09:02 AM
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


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