Click to See Complete Forum and Search --> : IPTables and webcams (Camarades)


nailbunny
06-07-2001, 05:39 AM
For awhile now I've been fiddling with my firewall rules (RedHat 7.1) with iptables and trying to get my webcam to work through it again since I upgraded. Was wondering if anyone else has had similar experience in this area. I've tried hooking my cable modem directly to the PC running the cam, and using a port monitor to determine exactly what ports were being opened by the Camarades software, but none of the rules I added using this info seemed to work.

I tried adapting the old ruleset from ipchains that was recommended by them and did work for awhile under ipchains, but no luck there either.

ipmasqadm portfw -a -P tcp -L your.external.ip.number 2047 -R
webcam.pc.ip.number 2047

Throw a clue my way if you have any to give. :)

EscapeCharacter
06-07-2001, 05:52 AM
im still trying to get iptables down but i think something like this will work

iptables -t nat -A PREROUTING -p tcp -d EXTERNALIPADDRESS --dport 2047 -j DNAT --to webcamip