LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2013, 02:26 PM   #1
fnibble
LQ Newbie
 
Registered: Dec 2013
Posts: 7

Rep: Reputation: Disabled
Slack 2.6 default firewall settings and VM webcams


Does anybody know if there is a firewall set up by default in Slackware 12.0 kernel 2.6 ?
I have installed a program which serves through the router, and it will only work on port 80. I have tried port forwarding on the router (Superhub2, VM) and this works for port 80, but not port 3000..3001 which I would like to use. So either there is an undocumented firewall for unusual ports at VM or in the router, or there is a default firewall is this version of Slack. I have tried to get into iptables, but it appears not to work properly, ie does not recognise ACCEPT as a valid arg. I can't find a config for iptables or the firewall, so I am stuck. Newbie help appreciated after much effort.
 
Old 12-18-2013, 02:56 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Slackware 12.0 is unsupprted, you should consider to use a newer version.
Slackware does not set up a firewall by default, so your problem is most likely not on the Slackware side.
 
Old 12-18-2013, 05:53 PM   #3
fnibble
LQ Newbie
 
Registered: Dec 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for the above. It is a bit strange that there is an iptables binary somewhere in my install. and iptables -l does a return. I will check again. Can Slackware tell the difference between local originated requests, and stuff coming through the router? My newbie assumption was that packets coming that route were somehow translated so they looked as if they came from the router address, ie a machine which essentially is a LAN address, and it is the router which converts the packets going out. That would mean that the block is in the router.
 
Old 12-18-2013, 06:09 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by fnibble View Post
It is a bit strange that there is an iptables binary somewhere in my install. and iptables -l does a return.
Nope, not strange. Slackware has iptables installed by default, but it is not set up, so you don't have a firewall running by default.

The rest of your question: Sorry, I don't know.
 
Old 12-18-2013, 11:14 PM   #5
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by fnibble View Post
Thanks for the above. It is a bit strange that there is an iptables binary somewhere in my install. and iptables -l does a return.
Do you mean iptables -L run by root? (Capital L)

When no rules are configured (the default) the output should look something like this.

Code:
bash-4.2# iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Quote:
I will check again. Can Slackware tell the difference between local originated requests, and stuff coming through the router?
I did a quick search for the basic netfilter packet path diagram and found it on this page along with other information.

Perhaps someone can suggest a good tutorial on netfilter and the use of the iptables command.

EDIT: netfilter.org was not responding when I posted this but is up now. The diagram and simple explanation I was looking for is there.

Last edited by TracyTiger; 12-19-2013 at 01:42 AM. Reason: Added www.netfilter.org reference
 
1 members found this post helpful.
  


Reply



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
Where does Slack (12.2) get its default MySQL configuration settings? dizzi Slackware 2 04-02-2009 03:40 PM
How to reset monitor settings to default autodetected settings in openSUSE? chengas123 Linux - General 2 09-17-2008 11:24 AM
Running two USB webcams/Linux compatible IR sensitive webcams doctorelectron Linux - Hardware 1 06-07-2006 08:30 AM
default /etc/ settings? albinojellyfish Linux - Security 6 07-24-2005 02:08 AM
Default firewall with Slack 10? zba78 Slackware 4 11-12-2004 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:32 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
Open Source Consulting | Domain Registration