RTSP conntrack examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux