LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-17-2005, 12:12 AM   #1
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Allowing Jabber through firewall.


Hi.

I have a jabber server running on a server, which also is running samba shares.

I am using iptables to secure it, which has been running fine since the server went in. I have only just put a jabber server on though. I have allowed ports 5222,5223, and 5269 through the firewall using...

/sbin/iptables -t filter -A INPUT -p tcp -m multiport --dport 5222,5223,5269 -j ACCEPT

... but it still won't allow me to connect from the client machines.

If I don't put an entry in the firewall to allow these ports through, this is what gets logged...

Mar 17 18:48:07 jabserver kernel: IN=eth0 OUT= MAC=00:c0:9f:21:70:69:00:04:75:72:7b:3f:05:00 SRC=192.168.100.70 DST=192.168.100.40 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=14542 DF PROTO=TCP SPT=1243 DPT=5222 WINDOW=65535 RES=0x00 SYN URGP=0

If I do allow the ports above through. I don't get the log in the messages file when I try to connect.

Strange I think. Anyone got any clues?

Thanks alot.
Craig
 
Old 03-18-2005, 12:34 PM   #2
Gecko
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Gentoo
Posts: 47

Rep: Reputation: 16
Do you need an output rule, as well?
 
Old 03-19-2005, 11:34 PM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Can you connect to the server if the firewall is turned off? If yes, does an nmap scan show the Jabber ports as open when the firewall is up and you've added the iptables rule to allow Jabber traffic?
 
  


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
firewall not allowing dhcp? sarah_t_s Linux - Networking 2 07-25-2004 08:05 AM
Allowing ssh ftp through the firewall jmg1894 Linux - Newbie 5 07-08-2004 02:42 PM
Suse 9.0 Firewall not allowing local access gSalsero Linux - Security 3 04-19-2004 09:24 PM
allowing bittorrent through an ipchains firewall chucky88 Linux - Security 1 04-15-2004 06:10 PM
allowing IP traffic on firewall - unsafe? complus Linux - Security 4 09-04-2003 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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