Just to confirm, the first line of code in message #15 would (as written in that example), create the file 'S22nasroute' in folder /mod/etc/init.d/ containing the following line:You need to put the IP address of the NAS in the file. The full file contents should really include the line that tells the kernel to run it as a shell script too, so something like:
Code:#!/bin/sh route add -host <IP address of NAS> reject
You can always edit it in the webif->diagnostics->editor once it's created.
route add -host 192.168.0.1 reject
#!/bin/sh
route add -host 192.168.0.1 reject
Are there any limitations to adding a static route to reject packets to the NAS? Wiki Note HEREYou need to put the IP address of the NAS in the file. The full file contents should really include the line that tells the kernel to run it as a shell script too, so something like:
With af123's addition to the above code we now have the whole shebang! Apologies for the Unix punYou need to put the IP address of the NAS in the file. The full file contents should really include the line that tells the kernel to run it as a shell script too, so something like:
Code:#!/bin/sh route add -host <IP address of NAS> reject
You can always edit it in the webif->diagnostics->editor once it's created.
I vaguely recollect that porting iptables to the Humax has been investigated but wasn't easy.I think you're probably into the realms of iptables there, but it doesn't exist for the T2 (AFAIK).
DLNA uses a specific port number (6000 IIRC?), so maybe...
I have iptables on my Humax but haven't yet built it into the custom firmware. I've been intending to but now we need the updated kernel source code for 1.03.xx which Humax are obliged to publish but haven't yet uploaded AFAIK.
rm /mod/etc/init.d/S22nasroute
I have twonky 7.3 running on my network and none of my Humax's are crashing... May have to try an earlier version if I can get one, but it looks like Humax may have fixed this on the quiet.Anybody confirm this observation? People who have previously had to downgrade Twonky??