( Swifty | 2020. 08. 11., k – 08:49 )

SIP-hez érdemes a helpert használni...

Valahogy így:

iptables -t raw -F
iptables -t raw -X

rmmod nf_nat_sip
rmmod nf_conntrack_sip
modprobe nf_conntrack_sip ports=5060 sip_direct_signalling=0 sip_direct_media=0
modprobe nf_nat_sip

iptables -t raw -A PREROUTING -j CT -i ${BE_IF} -p udp -s ${SIP_HOST} --dport 5060 --helper sip
iptables -t raw -A PREROUTING -j CT -i ${KI_IF} -p udp -d ${SIP_HOST} --dport 5060 --helper sip