I'm trying to run trio on a linux machine that is also my house network firewall. The machine has a WAN 64.xxx.xxx.xxx address, and a local 192.168.0.0 NAT subnet.
When I try to load trio-applet.htm from the 192.168 address, it fails
quickly with a security exception in the browser plugin trying to connect back to the 64.xxx.xxx.xxx address. If I instead load the applet from the 64.xxx.xxx.xxx:8090/trio-applet.htm, it runs briefly,
then gets the exception trying to talk to the 192.168.xxx.xxx side.
FWIW, this thread at sun seems relevant:
http://forum.java.sun.com/thread.jsp?thread=311421&forum=58&message=1279662
but I'm still trying to comprehend it. The gist seems to be (a) it's complicated to make work right, with custom factories to get sockets that have -just- the right bindings; and/or (b) it might be best to avoid certain RMI callback patterns because they are prone to identifying source packets with the alternate host ip addre, messing up the security model.
It's making me wonder where I can find another machine to run trio on that is completely within the perimeter, but is always going to turned on. Right now, I'm only sure the firewall server is going to be up, and that's where I have my big disk of music. SIgh.
Ideas?
-dB