Hi All,

I want to put a ASTERISK BOX bend a Firewall. So I have given below rules.


iptables -A FORWARD -p udp -d 192.168.101.30 -m multiport --dports
3478,4569,5060 -m state --state NEW -j ACCEPT
iptables -A FORWARD -p udp -d 192.168.101.30 --dport 10000:20000 -m state
--state NEW -j ACCEPT

iptables -t nat -A PREROUTING -p udp -i eth0 -d 1.2.3.4 -m multiport
--dports 3478,4569,5060 -j DNAT --to-destination
192.168.101.30
iptables -t nat -A PREROUTING -p udp -i eth0 -d 1.2.3.4 --dport 10000:20000
-j DNAT --to-destination 192.168.101.30

pls assume 1.2.3.4 is the ip that connects to the internet.


I use Xlite sotphone to talk. I can register. it says user ready. I can dial
extentions as well. But , WHEN I talk , Both parties can not hear anyrhing.

in rtp.conf file,  PORT 10000 to 20000 are also available.


Hope to hear from you.


-- 
Thank you
Indunil Jayasooriya
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to