|
-
October 4th, 2004, 06:38 PM
#11
Re: Re: Securing Slackware
Originally posted here by steve.milner
Tried this?
iptables -A INPUT -i eth0 -s 0/0 -d MyPrivateIPForSlackwarebox -p tcp --dport 22 -j DROP
Steve
Oh, and -p is protocol
"Bad argument --dport"
I just looked at the iptables help file and --dport isn't even an option it says. Does someone know if --dport has a new syntax? Or what? I'm looking here and there is nothing for --dport and I'm not sure what to switch it with.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|