I took the info from here: http://www.voip-info.org/tiki-index.php?page=Asterisk%20firewall%20rules
and ended up with the following in my pf.conf: rdr on $ext_if proto tcp from any to ($ext_if) port 5060 -> $dmz_ip port 5060 rdr on $ext_if proto udp from any to ($ext_if) port 5060 -> $dmz_ip port 5060 rdr on $ext_if proto udp from any to ($ext_if) port 4569 -> $dmz_ip port 4569 rdr on $ext_if proto udp from any to ($ext_if) port 5036 -> $dmz_ip port 5036 rdr on $ext_if proto udp from any to ($ext_if) port 9999:20001 -> $dmz_ip port 9999:20001 rdr on $ext_if proto udp from any to ($ext_if) port 2727 -> $dmz_ip port 2727 I also have the following lines in there: pass out on $ext_if all keep state # pass incoming dmz traffic pass in on $ext_if proto tcp from any to $dmz_ip keep state pass in on $ext_if proto udp from any to $dmz_ip keep state HTH Hatton _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
