Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-08-2004, 02:32 PM   #1
Registered: May 2004
Location: Brazil, Recife
Distribution: SuSE 9.0
Posts: 32

Rep: Reputation: 15
Firewall doesn't let MSN Connect in GAIM-0.77.

I'm trying to build up my firewall configuration.
And then, I've tried to put a rule, in my iptables configuration, for GAIM.

iptables -t filter -A INPUT -p tcp --sport 1853 -j ACCEPT
but it doesn't work. When I run GAIM icq behave just fine but with msn protocol it is not the same.

Some one knows what is this ?

Thanks a lot.

ps. I also put as the first line iptables -t filter -P INPUT DROP.
Old 05-09-2004, 12:45 PM   #2
LQ Newbie
Registered: May 2004
Posts: 6

Rep: Reputation: 0
MSN uses port 1863 for communication, so you should generally use following rules for accepting MSN traffic.

# MSN outgoing
# This is only needed if you're restricting OUTGOING traffic
iptables -A OUTPUT -o $INTERNET_INTERFACE -p tcp -m state --state NEW,ESTABLISHED -s $INTERNET_IP --source-port 1024:65535 --destination-port 1863 -j ACCEPT

# MSN incoming
iptables -A INPUT -i $INTERNET_INTERFACE -p tcp --state ESTABLISHED,RELATED --source-port 1863 -d $INTERNET_IP --destination-port 1024:65535 -j ACCEPT

Where $INTERNET_INTERFACE should be the name of the interface connected to the internet i.e. "eth0" and $INTERNET_IP should be the ip address of the interface.


Last edited by Edaph; 05-09-2004 at 12:46 PM.


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
gaim don't connect msn on rh9 sqmax Red Hat 5 09-01-2005 04:00 AM
Is there a reason why i can't connect to aim, yahoo or msn with Gaim? gbdavidx Slackware 15 08-18-2005 09:17 PM
Installed GAIM, Won't Connect to MSN koodoo Linux - Newbie 2 08-16-2005 11:19 AM
SSL devel packages installed - still can't connect to MSN via Gaim pwilkie Linux - Software 1 03-02-2005 03:40 PM
gaim cannot connect behind firewall... i think m9dhatter Linux - Software 2 07-22-2003 01:41 AM > Forums > Linux Forums > Linux - Security

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