Powered by Typecho)))
Optimized by EAimTY
I want to simply forward the RTP packet received from one IP:Port pair to another IP:Port pair. I have already done it with iptables. iptables use conntrack module. But there is no need of conntrack in my application. So I want to do it with stateless NAT. I have found that statless NAT rules can be executed with "ip route add nat" command e.g
ip route add nat 126.96.36.199 via 192.168.100.17
This command tells the kernel to perform network address translation on any packet bound for 188.8.131.52. The parameter via tells the NAT code to rewrite the packet bound for 184.108.40.206 with the new destination address 192.168.100.17.
As I understand, the problem is this will forward all packets bound for 220.127.116.11 to 192.168.100.17. Is there any option to forward RTP packets received on specific port of 18.104.22.168 to another IP:Port?