View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-17-2008, 05:27 AM   #1
Registered: Jun 2007
Posts: 64

Rep: Reputation: 15
iptables problem allowing incoming connections


I want to allow connections to my ldap server to all ips in my local LAN through iptables. I have used the below rule and it doesn't seem to be working.

iptables -A INPUT -p tcp -s 0/0 -d --destination-port 389 --syn -j ACCEPT

please help.
Old 07-17-2008, 05:42 AM   #2
Swagata Paul
Registered: Jun 2008
Location: Kolkata, India
Posts: 57

Rep: Reputation: 15
Put the "Network address/No of bits in SubnetMask" with -s option instead of 0/0 .
And, check before this line there should not be any deny on that port.


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
incoming connections with iptables willyweedle Linux - Networking 2 08-05-2007 02:33 PM
Connecting LInux an windows xp sytem and allowing incoming connections to files. Kkfrink Linux - Software 2 12-12-2005 02:01 PM
cannot Allowing Incoming X Connections with xhost + libin88 Linux - Enterprise 1 11-09-2005 03:25 PM
Allowing incoming connections only from a spesific country? herc Linux - Security 1 04-12-2004 02:56 AM

All times are GMT -5. The time now is 07:41 AM.

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