LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-17-2008, 06:27 AM   #1
ikinnu
Member
 
Registered: Jun 2007
Posts: 64

Rep: Reputation: 15
iptables problem allowing incoming connections


Hello,

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 127.0.0.1/32 --destination-port 389 --syn -j ACCEPT

please help.
 
Old 07-17-2008, 06:42 AM   #2
Swagata Paul
Member
 
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:25 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
Open Source Consulting | Domain Registration