Displaying 1 result from an estimated 1 matches for "sip_port_forwarding".
2004 Sep 12
0
RE: No subject by Steve M
...function SIP_WAN {
$IPT -A INPUT -p udp -i $WANIFACE --dport 5060 -j ACCEPT
$IPT -A INPUT -p udp -i $WANIFACE --dport 5004 -j ACCEPT
}
function SIP_PORT_FORWARDING {
$IPT -A PREROUTING -t nat -i $WANIFACE -p udp --dport 5060 -j DNAT
--to $SIP:5060
$IPT -A FORWARD -i $WANIFACE -p udp --dport 5060 -j ACCEPT
$IPT -A PREROUTING -t nat -i $WANIFACE -p udp --dport 5004 -j DNAT
--to $SIP:5004
$IPT -A FORWARD -i $WANIFACE -p udp --dport 5004 -j ACCEPT
}...