Specify which interfaces to bind too?

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
tux43
Posts:9
Joined:Fri May 25, 2007 12:11 pm
Specify which interfaces to bind too?

Post by tux43 » Sun Apr 10, 2011 8:25 am

Hi All,

Is it possible to lock TwonkyServer to specific interfaces. It is currently binding to all of the interfaces in my server and I only want it to bind to 10.1.1.10 (and possibly 127.0.0.1).

Thanks.....

Code: Select all

Network Interfaces: 127.0.0.1
10.1.1.10
10.1.0.10
172.16.18.1
192.168.119.1


User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Specify which interfaces to bind too?

Post by phibertron » Sun Apr 10, 2011 2:24 pm

Either copy and paste this into you url

http://10.1.1.10:9000/rpc/set_option?ip=10.1.1.10

or edit the twonkymedia-server.ini file
and change the IP setting to this

ip=10.1.1.10
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

User avatar
DaemonBeetle
Posts:305
Joined:Mon Dec 28, 2009 11:05 am
AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)

Re: Specify which interfaces to bind too?

Post by DaemonBeetle » Sun Apr 10, 2011 6:07 pm

Another option is to use your software firewall to block access on the other interfaces.
No longer running Twonky

tux43
Posts:9
Joined:Fri May 25, 2007 12:11 pm

Re: Specify which interfaces to bind too?

Post by tux43 » Mon Apr 11, 2011 4:39 am

phibertron wrote:Either copy and paste this into you url

http://10.1.1.10:9000/rpc/set_option?ip=10.1.1.10

or edit the twonkymedia-server.ini file
and change the IP setting to this

ip=10.1.1.10
Worked a treat - thanks!!

tux43
Posts:9
Joined:Fri May 25, 2007 12:11 pm

Re: Specify which interfaces to bind too?

Post by tux43 » Mon Apr 11, 2011 4:44 am

DaemonBeetle wrote:Another option is to use your software firewall to block access on the other interfaces.
Yes - that was what I was doing, however it plays havoc with the logs ;-)

Locked