pulpTunes Community Forums The Web Server for iTunes

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Router/Firewall Configuration  (Read 1470 times)

Groovely

  • Guest
Router/Firewall Configuration
« on: October 21, 2009, 12:46:02 AM »

I've read every thread I can find on port forwarding, and from what I can understand, I've got my settings correct.

I'm using Tomato firmware on a WRT54G router and running the program under OS X 10.5.8. Under 'Port Forwarding' I have a listing with the following set:

On: CHECKED
Proto: Both
Src Address: [Blank]
Ext Ports: [the port number I chose]
Int Ports: [Blank; defaults to ext ports if blank]
Int Address: My computer's static IP Address (which I'm sure is correct)

Internally, the program works fine (and I love it). However, the log and startup both indicate that I cannot receive connections from outside the network.

Is it possible that this is due to some kind of OS X firewall settings?
Is there anything else I need to change that I am missing?

Thanks in advance.

Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 444
    • View Profile
    • Email
Re: Router/Firewall Configuration
« Reply #1 on: October 21, 2009, 07:33:19 AM »

Hi,

you have
Int Ports: [Blank; defaults to ext ports if blank]

but since pulpTunes listens on port 15000 by default, you should enter 15000 in that field. Let me know how that goes.

Cheers,
Alejandro
Logged

Groovely

  • Guest
Re: Router/Firewall Configuration
« Reply #2 on: October 21, 2009, 09:35:27 AM »

Just to be clear, originally I altered the port value under AdvancedSettings to be something different (41417).

The internal ports field defaults to the value of the external ports field if it is left blank. Just to be safe, I set them both to the proper value explicitly (they now both read 41417).

Unfortunately, it still doesn't work.
Logged

Groovely

  • Guest
Re: Router/Firewall Configuration
« Reply #3 on: October 21, 2009, 09:12:03 PM »

Okay, I won't say I've sorted out the issue, but I finally managed to get this working.

I can't pinpoint it because I did several things, including rebooting the router and recreating the port forwarding table, turning on and off my firewall in OS X and rebooting my machine. However, none of those seemed to work on their own.

What did finally work was setting PulpTunes port back to the 15000 default and then setting my router to use a different external vs internal port.

For example: the router takes incoming connections on port 4**** (the external port I set) and forwards them to my IP on port 15000 internally. To be clear, this means that your port forwarding should look like this:

Protocol: Both (TDP/UDP)
Source Address: [Blank; aka ANY]
Ext Port: 4****
Int Port: 15000
Int Address: 1**.**.**.** [my static LAN IP]
Description: PulpTunes (but whatever)

Then connecting on my WAN's IP @ http://9*.***.***.***:4**** I was able to see the server. (Finally!)

The program is still warning me at startup that it can't accept external connections, however, I tested it with my phone over 3G (i.e. outside my LAN) and was able to connect and login and see my playlists.

Could this be a bug in the way the program jives with OS X or Tomato? Whatever it is, I hope this helps others having the same issue.

I'm using Leopard which doesn't require explicit ports forwarded on the computer's OS, but people using older versions of OS X might find this helpful (found it while searching for answers today):

http://homepage.mac.com/car1son/static_port_fwd_intro.html

Thanks for trying to help Alejandro, and hopefully this helps someone else.

~G.
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 444
    • View Profile
    • Email
Re: Router/Firewall Configuration
« Reply #4 on: October 21, 2009, 10:42:29 PM »

Thanks for posting the answer back. It's weird indeed that it would only work on port 15000. I have never seen that problem myself. Anyway, 1.2 beta will try to manage all this routing business automatically, so please make sure you help me out giving it a test ;)
And don't forget to register in the forum :)

Cheers
Logged