Hello all, I can't do functional dstnat and I don't know why.
I do dstnat for public ip address, port 80, to access pc from LAN.
ether1 - public ip - 100.0.0.50
ether2 - subnet 192.168.1.0/24, ip 192.168.1.1, nat to public ip
pc with web in ether2 - 192.168.1.66
I need dst nat from 100.0.0.50:80 to 192.168.1.66:80
When dstnat is not applied, MikroTik WebManagement is displayed in browser.
I used standart dstnat as I found everywhere.
When I put address to browser, this still waiting.
When dstnat is applied, log in firewall filter rules is not processed,
only prerouting log show me connection.
Any idea where is problem? Thank you for help.
Router setting:
address:
100.0.0.50/28 100.0.0.48 100.0.0.63 ether1
192.168.1.1/24 192.168.1.0 192.168.1.255 ether2
nat:
chain=dstnat action=dst-nat to-addresses=192.168.1.66 to-ports=80 protocol=tcp dst-address=100.0.0.50 dst-port=80
chain=srcnat action=src-nat to-addresses=100.0.0.50 src-address=192.168.1.0/24 out-interface=ether1
gateway:
0.0.0.0/0 -> 100.0.0.50