LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-08-2004, 01:32 PM   #1
rhawi
Member
 
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.

Code:
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, 11:45 AM   #2
Edaph
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.

Regards,
Edaph


Last edited by Edaph; 05-09-2004 at 11:46 AM.
 
  


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


All times are GMT -5. The time now is 01:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration