Deny access by IP or network card.

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
ildarn
Posts:3
Joined:Sun Dec 12, 2010 9:38 pm
AV Hardware:mybook
Deny access by IP or network card.

Post by ildarn » Sun Dec 12, 2010 9:52 pm

Hello. I installed TwonkyServer on my server. My server has one NIC, and it created 2 vlan. The first vlan for ISP, 2 vlan for my home network. So my server has 3 IP addresses. IP of ISP, IP on my home network and external IP on the Internet.
Anyone can get access to my photos and video from the Internet or from a network provider.
How can I make sure that access was only through a single IP address on my home network?
Thanks in advance.

http://picasaweb.google.com/lh/photo/GB ... directlink

User avatar
parnott
Posts:326
Joined:Mon Sep 20, 2010 9:55 pm
AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)

Re: Deny access by IP or network card.

Post by parnott » Mon Dec 13, 2010 12:04 am

On the command line when you start twonkyserver you need to bind it to a specific ip address with the -ip comand line option. This can also be set in the ini file.

Now of course the bigger question is why are you doing it this way and not using a router.

ildarn
Posts:3
Joined:Sun Dec 12, 2010 9:38 pm
AV Hardware:mybook

Re: Deny access by IP or network card.

Post by ildarn » Mon Dec 13, 2010 12:10 am

[quote="parnott"]On the command line when you start twonkyserver you need to bind it to a specific ip address with the -ip comand line option. This can also be set in the ini file.

Now of course the bigger question is why are you doing it this way and not using a router.[/quote]
Tell me in detail about the command line. how to do this?

This is the server (windows), on which the Twonky is a router. Connected to a managed switch.

ildarn
Posts:3
Joined:Sun Dec 12, 2010 9:38 pm
AV Hardware:mybook

Re: Deny access by IP or network card.

Post by ildarn » Tue Dec 14, 2010 5:18 pm

From support:

Hello,

We can manually assign the ip address to the TwonkyServer. This information is saved in the twonkymedia-server.ini file.

In Windows it is usually present at :-

C:\Documents and Settings\All Users\Application Data\twonkymedia
or C:\Application data\twonkymedia\

This folder is normally hidden so enable the hidden files and folders and then try to look for the mentioned file. Open twonkymedia-server.ini file in the notepad and then there would be an option of # IP address to listen to (default: all networks) ip= ,
type the ip address before it, Save changes to the file and then close it. Now when ever you want to open TwonkyServer you have to go to :-

http://ip-address-of-your-server:9000/config


Thanks. :)

Locked