restrict listen interface

General discussions.

Moderator: moderators

restrict listen interface

Postby perler » Mon May 04, 2015 10:53 am

is there a way to restrict the network interface sobsonic is listening on via a netmask (like 127.0.0.1/32 to just listen on localhost?)
perler
 
Posts: 16
Joined: Mon Jul 20, 2009 5:33 am

Re: restrict listen interface

Postby ericvonnine » Fri May 08, 2015 6:51 pm

Yes, the --host flag sets the ip and therefore the interface. I proxy my subsonic behind apache to have all traffic over https so my subsonic starts with:

Code: Select all
--host=127.0.0.1 --port=4040


You will still need a firewall on the host if it is exposed to the internet because Tomcat or some other portion of the stack leaves a number of ports listening on all interfaces regardless of this setting.
ericvonnine
 
Posts: 16
Joined: Wed Jan 28, 2015 5:59 pm

Re: restrict listen interface

Postby perler » Fri May 08, 2015 8:20 pm

perfect, thanks!
perler
 
Posts: 16
Joined: Mon Jul 20, 2009 5:33 am


Return to General

Who is online

Users browsing this forum: No registered users and 10 guests