Hairpin NAT Reflection mode for port forwards – iptables solution

A.A.A.A is your real ip – LAN Network
eth0 – Interface LAN
Port 4569 udp – service IAX

When the server linux is the gateway and the same time is the asterisk server (ipbx)

[root@jupiter ~]# iptables -t nat -I PREROUTING -d A.A.A.A -p udp --dport 4569 -j DNAT --to
[root@jupiter ~]# iptables -t nat -A POSTROUTING -o eth0 -s -d -p udp --dport 4569 -j MASQUERADE
- No Comments on this Post -

Deixe uma resposta