LinuxQuestions.org
Visit Jeremy's Blog.
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 11-20-2006, 05:04 PM   #16
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by Chikne
Right, something I didn't realise yesterday is that when doing on my router:

iptables -P INPUT DROP

iptables -A INPUT -i ath0 -p tcp -d 192.168.0.1 --destination-port 22 -j ACCEPT

then from a remote computer:

ssh 192.168.0.1

I am then asked for a password, if I type the password and press return I will not be logged in. The console will just sit there and do nothing, no shell...

My apologies, I do actually get logged in but I have to wait around 30-40 seconds...
 
Old 11-24-2006, 05:22 AM   #17
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
For anyone interested in this still, I would recommend shorewall.... it makes things a lot easier
 
Old 12-11-2006, 07:03 AM   #18
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Quote:
Originally Posted by Chikne
iptables -A INPUT -i ath0 -p tcp -d 192.168.0.1 --destination-port 22 -j

You have a typo error here:

Code:
ath0
It should be:

Code:
eth0
Also to save having to save your rules you could use a script, rc.firewall script, there are plenty around that you could use.

Last edited by fotoguy; 12-11-2006 at 07:04 AM.
 
  


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
iptables help! on slackware 10.2 Tony/osIRIs Linux - Newbie 3 03-01-2006 08:29 PM
Slackware 10.1 and iptables configuration help houler Linux - Security 25 05-11-2005 05:21 PM
iptables and slackware Fetch Linux - Security 5 04-11-2005 11:41 PM
slackware 10 & iptables atari303 Linux - Networking 8 11-07-2004 02:17 AM
slackware iptables firewall hooker Linux - Networking 3 08-23-2002 10:47 PM

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

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