Hi,
Below is my rules for my SIP device: -
iptables -t nat -A PREROUTING -i ppp0 -p udp --dport 5060 -j DNAT --to 172.16.10.21:5060
iptables -t nat -A PREROUTING -i ppp0 -p udp --dport 8000 -j DNAT --to 172.16.10.21:8000
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Can I have something like below if I want to have more than one SIP devices?
iptables -t nat -A PREROUTING -i ppp0 -p udp --dport 5060 -j DNAT --to 0.0.0.0:5060
iptables -t nat -A PREROUTING -i ppp0 -p udp --dport 8000 -j DNAT --to 0.0.0.0:8000
Regards, ro0ot