Dear Group! I want to improve the firewall rules for SIP and I already compiled the linux kernel with additional SIP netfilter settings
Now I found this on the internet: modprobe ip_conntrack_sip ip_nat_sip Set IPtables filter rules iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -p udp --dport 5060 -j ACCEPT Set IPtables NAT rules iptables -A FORWARD -o eth0 -p udp --dport 5060 -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source ip.add.dr.ess ---------- But I do not understand it. where is eth0 connected to in this example ? and what would be the source ip adress ? what will happen if i amn connected to 2 sip gateways ? -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users