RTSP conntrack examples
Khoa Nguyen
khoa.coffee at gmail.com
Tue Jan 17 18:33:43 CET 2006
Hi,
Finnaly I managed to load ip_conntrack_rtsp and ip_nat_rtsp into my
2.6.9 kernel. I would like to SNAT each RTSP session, but it doesn't
seem to work right -- it only works for one RTSP session. I may have
configured iptables wrong. Appreciate if someone can send me a sample
config for rtsp or point out any errors in my iptables command below:
iptables -t nat -A POSTROUTING --protocol tcp --dport 554 -m state
--state NEW -j SNAT --to-source 10.9.0.1-10.9.0.10
iptables -t nat -A POSTROUTING --protocol udp -m state --state
RELATED,ESTABLISHED -j SNAT --to-source 10.9.0.1-10.9.0.10
This box is acting as a router between RTSP client(s) and server(s)
Thanks,
Khoa
More information about the netfilter
mailing list