With the command
ip addr | grep eth0
on Ubuntu terminal I can get external interface IP, I set this IP on advertised.listener
and with the command
netsh interface portproxy add v4tov4 listenport=9092 listenaddress=0.0.0.0 connectport=9092 connectaddress=XXX.XX.XX.XX
being XXX.XX.XX.XX the external interface IP and put this command on Windows cmd I can forward ports.
With the command netstat -ab
I can see on Windows cmd the IP and Port TCP 0.0.0.0:9092. It works correctly!