Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-06-2009, 04:24 AM   #1
LQ Newbie
Registered: May 2009
Posts: 14

Rep: Reputation: 0
multiple -d flags not allowed


when i run command "iptables -A INPUT -s -d -p TCP -dport 22 -j ACCEPT" display this error message "iptables v1.3.5: multiple -d flags not allowed". what take i necessary step to resolve this issue.

Old 05-06-2009, 04:48 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
syntax ?
I remember using it as --dport and not -dport
Old 05-06-2009, 05:25 AM   #3
LQ Newbie
Registered: May 2009
Posts: 14

Original Poster
Rep: Reputation: 0
yes its syntax error

Its working now, thanks a lot. basically i am newbie in iptables.
Originally Posted by bhaslinux View Post
syntax ?
I remember using it as --dport and not -dport


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
Tracking user logins that was allowed and not allowed eswanepoel Linux - Security 3 08-02-2006 05:37 AM
SlackWare :Method Not Allowed The requested method POST is not allowed for the URL slack31337 Linux - Software 0 04-08-2006 07:09 PM
Makefile question - multiple compilation flags benobi Programming 7 08-11-2005 02:42 PM
is the soundserver not allowed 4 multiple input?! DjRedMar Linux - Hardware 4 10-22-2003 03:18 PM
Compiling KDE 3.0 w/ multiple architecture flags (quick and easy question)? MatMan5959 Linux - Software 4 05-31-2002 02:57 PM

All times are GMT -5. The time now is 04:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration