Hi All:

        I am running a web page on the Linux firewall machine using iptables.
This works fine, but I am trying to forward a java applet to a Webcam32
server
Inside the LAN Network on port 8888. This works sometimes and sometimes
It doesn't. When it works it works great, however, it seems to be
temperamental.
The Java applet looks like so.

<applet code="JavaCamPush.class"
codebase="http://xxx.xxx.xxx.xxx:8888/applet";
archive="JavaCamPush.jar"
width="320"
height="240">
<param name="URL" value="http://xxx.xxx.xxx.xxx:8888";>
<param name="cabbase" value="JavaCamPush.cab">
</applet>

I have the following rules set up to handle this.

$IPTABLES -t nat -A PREROUTING -p tcp -i $EXTIF -d $EXTIP \
-s $ANYWHERE --dport $WEBVIDPRT -j DNAT --to $WEBCAMIP

$IPTABLES -A FORWARD -p tcp -i $EXTIF -o $INTIF -m state --state
NEW,ESTABLISHED,RELATED \
-d $WEBCAMIP --dport $WEBVIDPRT -j ACCEPT

        Anyone have any suggestions?

Stu..........

Ps

A little of topic, but can anyone point me to a Java script to obtain and
Assign the IP for the external Interface?





Reply via email to