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 10-17-2006, 03:36 PM   #1
iammzz
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Rep: Reputation: 0
How does Slackware do it?


I never seem to be able to forward any port, even when my routers configurations seem to be completely correct.

But, when I installed Slackware, all the ports that are supposed to be open are, even some that I didn't specify in my router. How does Slackware do this.
 
Old 10-17-2006, 04:04 PM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
if /etc/rc.d/rc.ip_forward is set to executable, then your Slacware box will forward ipv4 packets onwards.
What is allowed and not allowed will depend on your firewall settings, ie your iptables rules, but you will need to arrange for your own firewall as Slackware does not provide one natively.

Even if the ports are open on your Slackware box ('netstat -pantu' is useful) connections to/from the 'outside' will still depend on your router's firewall settings.

tobyl
 
Old 10-17-2006, 04:23 PM   #3
iammzz
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I see. How can I emulate this effect on my Windows install though?
 
Old 10-17-2006, 04:33 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by iammzz
I see. How can I emulate this effect on my Windows install though?
Perhaps you should ask this question on a windows forum..

What would this have to do with Slackware in getting port forwarding accomplished on a Windows machine?
 
Old 10-17-2006, 04:37 PM   #5
iammzz
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Because only Slackware works for some reason, even after I forward the ports in my router. I just wonder how.
 
Old 10-17-2006, 04:43 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Another reason to dump the Windows Security Risk.
 
Old 10-17-2006, 06:24 PM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Come on guys - I know I'm new here so don't flame me out but the guy is asking an intelligent question. Surely the question is "how does slackware do this" rather than "how come windows doesn't" ? Lets not be closed minded about this ? These forums are how we learn aren't they..

I for one would be interested in the answer but I don't have the knowledge to explain. Weren't you all newbies once? (iamzz - I'm not implying your a neewbie here - I'm on your side !!)

Cheers,

XEdX
 
Old 10-17-2006, 06:33 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Well no offense but I did not even understand the question.

Eric
 
Old 10-17-2006, 06:54 PM   #9
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
I take it you have a router to connect your machines to the internet. And as an example you have set this router up to forward port 80 for a web server on one of your machines on your LAN.

When you install windows XP with SP2 it will enable the built in firewall with its default rules. These rules block all incoming connections. And then you have to configure it to allow anything else you need.

Now when you come to linux it is a bit different. In general all linux distributions have a firewall. It is part of the kernel, however you might just find one out there that does not have this enabled. To keep it simple we will assume that all distros have firewall capabilities built in. When you install your chosen distro you may be asked about configuring the firewall, it will ask you some questions about what sort of things you will be doing. Some distros may not ask you anything, but will enable some default rules like windows does. But you will also get a distro like slackware, it has firewall capabilities but does not enable any of them. It leaves it up to you to decide how you will configure the firewall.

I hope this helps you in your quest.

 
Old 10-17-2006, 07:08 PM   #10
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Ok - point taken. I take it the question was how come Slackware honours the routers settings yet Winblows doesn't. With hindsight this is obviously explained as Windows doesn't work as it should but Slack does and it is not in the scope of this forum to explain why .

Sorry, its late in the UK and my mind is burnt out a bit through through kernel builds ( BTW thanks for your info on my thread Alien Bob ). I'll have to put my mind in gear before opening my mouth in future.

... Late night kernel builds might not be a good thing but this new OS is kind of addictive !!

Tara,

XEdX
 
Old 10-18-2006, 04:40 PM   #11
iammzz
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Ok, this might be a little inappropriate, but does anyone know how opening a port would be done in a Windows XP SP2 install? I have turned off firewall, and check just about every option.
 
Old 10-18-2006, 07:12 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
If you have no firewall, *every* port is now open.

Windows Security -- an oxymoron.
 
Old 10-18-2006, 08:00 PM   #13
iammzz
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Original Poster
Rep: Reputation: 0
It would seem so, but I still cannot receive incoming connections.
 
Old 10-18-2006, 09:39 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by trickykid
Perhaps you should ask this question on a windows forum ...
We're generally here supporting Linux users in our spare time as a contribution to the community.

When you purchased the Windows software, you also paid for support. If your Windows OS is a Retail version, you may call Microsoft for support; if it's OEM, you should call the OEM who provided it.
 
  


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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM

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

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