iptables für webcam

Post Reply
Message
Author
spaci76
Posts: 191
Joined: 05. Jul 2001 22:17
Location: Heidesheim
Contact:

iptables für webcam

#1 Post by spaci76 »

hi,

ich hab folgendes Problem ,

ich hab ein server suse8 benutze iptables.
möchte nun von pc2 aus eine webcam mit dem inet "camarades" connecten lassen.Diese Programm benötigt die weiterleitung von den ports 2047-2048 mit tcp,udp protokoll..

nun bin ich schon am verzweifel weil ich es net hin bekommen hab..
aus verschieden dokus hab ich mir was zusammen gesucht ..

SNAT tcp -- anywhere anywhere to:192.168.6.2:2047-2048
SNAT udp -- anywhere anywhere to:192.168.6.2:2047-2048
mit dem befehl.
iptables -t nat -A POSTROUTING -p tcp -o 192.168.6.1 -j SNAT --to 192.168.6.2:2047-2048
iptables -t nat -A POSTROUTING -p udp -o 192.168.6.1 -j SNAT --to 192.168.6.2:2047-2048

kann mir jemand sagen wo ich noch nachschaun kann bzw. wo ich ein fehler gemacht hab.

cu spaci76

Post Reply