On Tue, May 10, 2005 at 10:38:52PM +0800, ro0ot wrote: > 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 um--no. those rules aren't going to do what you want. i believe you'll need to use a SIP proxy, such as: http://siproxd.sourceforge.net/ -j -- "Brian: Okay, insert rod support A into slot B. Peter: That's what... Brian: If you say "that's what she said" one more time, I am gonna pop you." --Family Guy