Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables and daap help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
itchanddino
n00b
n00b


Joined: 24 Aug 2007
Posts: 19

PostPosted: Mon Sep 24, 2007 3:55 am    Post subject: iptables and daap help Reply with quote

Hello, first off I've read these posts:
https://forums.gentoo.org/viewtopic-t-391436-highlight-daap+iptables.html
https://forums.gentoo.org/viewtopic-t-289401-highlight-daap+iptables.html
They didn't help :(

My current iptables rules are (straight from the wiki):

-A INPUT -s 127.0.0.1 -j ACCEPT
-A INPUT -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-port-unreachable

What would I have to add in order to get daap support to browse the shared itunes directories on my campus' network? When I disable iptables I can access them with no problem, so I'm sure this is where I'm stuck. Thanks!
Back to top
View user's profile Send private message
itchanddino
n00b
n00b


Joined: 24 Aug 2007
Posts: 19

PostPosted: Tue Sep 25, 2007 12:12 am    Post subject: Reply with quote

I've been fooling around with settings all day, but no shares are showing up :( Any help is appreciated!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23064

PostPosted: Tue Sep 25, 2007 3:47 am    Post subject: Reply with quote

You need to add a rule which will ACCEPT traffic used by the port(s) that daap uses. Assuming that daap refers to the Digital Audio Access Protocol mentioned in /etc/services, this means you need to ACCEPT traffic for port 3689. Rules are processed in order until one matches, so your new rule must be placed before the REJECT rule.
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Tue Sep 25, 2007 2:21 pm    Post subject: Reply with quote

1) If you want to access to your campus network FROM your PC you need to allow your firewall to let OUTPUT packets go through.
2) If you want to access to your PC FROM campus network you need to allow your firewall to allow INPUT packets.

Please post your IPTALBLES -L
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum