Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-23-2006, 07:20 PM   #1
LQ Newbie
Registered: Apr 2004
Location: Colorado
Distribution: Linux
Posts: 20

Rep: Reputation: 0
Gaim & a firewall

Have to start somewhere. FC4, Actiontec 701. If I turn the firewall "off" Gaim works just fine. If I turn it "on" nothing, just sits there. Ok add iptabs accept 5190. Just sits there. Yahoo & Google have been no help. Any help here - I pay in beer ;-)
Old 08-23-2006, 07:27 PM   #2
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
yahoo is 5160 and jabber 5222?? not sure with the ports. but in general if you allow 5000-6000 you will be able to connect. if you want stricter rules, disable firewall, you connect to your yahoo and google accounts through gaim, just do a netstat -ant and see the ports that they use. then enable firewall and allow the ports accordingly.
Old 08-23-2006, 10:39 PM   #3
LQ Newbie
Registered: Apr 2004
Location: Colorado
Distribution: Linux
Posts: 20

Original Poster
Rep: Reputation: 0
No luck

Tried this
iptables -A INPUT -p tcp -i ppp0 --destination-port 5000:6000 -j ACCEPT
Did find Gaim uses 5050 & 5190 - so... iptables -L -vn --line-numbers gives
65 0 0 ACCEPT tcp -- * * tcp dpt:5050
66 0 0 ACCEPT tcp -- * * tcp dpt:5190
still nothing. netstat gives
tcp 0 1 SYN_SENT
tcp 0 1 SYN_SENT

iptables -L -vn
Chain INPUT (policy ACCEPT 52 packets, 10156 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP tcp -- ppp0 * tcp dpt:23
1 48 DROP tcp -- ppp0 * tcp dpt:80
0 0 QUEUE udp -- br0 * udp dpt:53
551 33749 ACCEPT all -- br0 *
0 0 ACCEPT tcp -- eth0 * state ESTABLISHED
0 0 ACCEPT udp -- eth0 * state ESTABLISHED
0 0 ACCEPT all -- eth0 * state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- ppp0 * tcp dpt:5050
0 0 ACCEPT tcp -- ppp0 * tcp dpt:5190

Old 08-26-2006, 10:04 PM   #4
LQ Newbie
Registered: Apr 2004
Location: Colorado
Distribution: Linux
Posts: 20

Original Poster
Rep: Reputation: 0
Found in the Gaim FAQs
Ques: I cannot connect to Yahoo! and I'm behind a firewall or NAT. Why doesn't Gaim have Yahoo's "Firewall with no proxy" option? Yahoo!'s firewall with no proxy option connects to Yahoo! by wrapping the YMSG protocol inside HTTP. Gaim currently doesn't support doing this.

Ans: Gaim does support changing the port it connects to. Try changing the Pager Port in the Account editor under "Show more options". Ports known to work are: 20, 23, 25, 80, 119, 5050, 8001, and 8002. While this doesn't work for as many people as actually tunneling through the HTTP protocol would, it helps many users.
So ok I'll walk the port list - first one is "20" Well what'cha know I'm connected.


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
Open LAN / gaim port through FIREWALL pbhat Fedora 1 08-12-2004 06:56 AM
gaim && proxy question salahuddin_66 Linux - Software 0 06-02-2004 02:07 AM
Firewall doesn't let MSN Connect in GAIM-0.77. rhawi Linux - Security 1 05-09-2004 11:45 AM
gaim cannot connect behind firewall... i think m9dhatter Linux - Software 2 07-22-2003 12:41 AM
Linux firewall with internet & dmz & trusted ikhwan98 Linux - Networking 0 11-23-2001 07:59 AM > Forums > Linux Forums > Linux - Desktop

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