LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-10-2003, 01:29 AM   #1
cirkut5732
Member
 
Registered: Apr 2003
Posts: 94

Rep: Reputation: 15
Iptable Help


Hey everyone

i got my dsl going on slack 9.0 finally and i want to firewall it, i shadowed the passwrd but i dont think thats enough. anyways i got a script of the internet, and its a text file, and basically i dont know where to put it, how to put it there, and if i copy the text as is or have to enter my own info into it
any step by step help would be great
im runnung slack 9.0, and if anybody knows of any goos scripts tell me i think i got the lyons script or something, stars with L.
thank you
 
Old 04-10-2003, 09:08 AM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Slackware is configured to look for and execute the /etc/rc.d/rc.firewall script if available. This needs to be a bash shell script based on iptables. The first line would be #!/bin/sh or similar. From what scripts I have seen around you may need to set your local network IP assignment if the machine is a gateway for other machines connected on a network. If not, then that part really doesn't matter because there would be no forwarding or masquerading requirements.

Once you create the rc.firewall script the execute bits need to be turned on. Use "chmod 755 /etc/rc.d/rc.firewall".

BTW: All Slack versions that I have ever seen have used shadow passwords from the install. It doesn't have to be enabled or anything. The two user account files are /etc/passwd and /etc/shadow.
 
Old 04-10-2003, 09:44 AM   #3
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
I personnaly use an application acting as an interface for iptables, firestarter. You can get the package from http://www.linuxpackages.net/.
Install it using you favorite package manager.
And see how it goes!
 
Old 04-10-2003, 05:58 PM   #4
cirkut5732
Member
 
Registered: Apr 2003
Posts: 94

Original Poster
Rep: Reputation: 15
Oh really? Slack shadows during install? i thought you had to edit /etc/shadow and delete the encrypted password, reboot, and then use passwd command, to enter new password, thats what i did, is this method right? oh ya thanks excalibur for all your help, you have been great to me, the other forum i was on peolpe just bashed me for being newbie!!, nut soon i wont be newbie thanks to LQ.org!!
 
Old 04-11-2003, 12:18 AM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
The shadow system, is the use of a separate file for the passwords that are encrypted, the file "shadows" the passwd file. The process you did works great for removing the root password when you do not know what it is or just want to go back to a no password setting. If you want to change the password then just run passwd. I think you may have been reading so old, old docs from 10 or 12 years ago.
 
  


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
what is an iptable? Baran Linux - Newbie 7 02-07-2005 06:14 PM
iptable summerfish Linux - Networking 1 07-16-2004 03:28 AM
iptable cristi1979 Linux - Networking 4 06-29-2003 06:54 PM
iptable help Neomaster Linux - Security 5 05-29-2003 10:13 PM
iptable help Syntax Linux - General 1 12-30-2002 12:04 AM


All times are GMT -5. The time now is 01:53 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration