I have an RouterBoard, that is the PPPoE Client to access the internet
The ADSL Modem is on the interface ether5
Lan Network: 192.168.21.0
Modem network: 192.168.1.0
Modem IP: 192.168.1.1
PPPoe Client name: velox
This Mikrotik has a failover Internet. It has 2 internet connections. One in ether5 (ADSL PPPoE) and other in ether4 (FIXED IP)
i added the IP 192.168.1.150/24 to the ether5 interface
I would like to be able to access the modem stats webpage from the internet.
I’ve tried to the following:
0 ;;; Mascara Velox PPPoE
chain=srcnat action=masquerade out-interface=velox log=no log-prefix=“”1 ;;; Mascara Acessa
chain=srcnat action=masquerade out-interface=ether4 log=no log-prefix=“”2 ;;; Camera
chain=dstnat action=dst-nat to-addresses=192.168.21.20 to-ports=8081
protocol=tcp dst-port=8081 log=no log-prefix=“”3 ;;; Masquerade Modem Velox
chain=srcnat action=masquerade out-interface=ether5 log=no log-prefix=“”4 ;;; NAT VELOX
chain=dstnat action=dst-nat to-addresses=192.168.1.1 to-ports=80
protocol=tcp dst-port=8888 log=no log-prefix=“”5 ;;; WebProxy
chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-port=80
log=no log-prefix=“”
I want to be able to access the ADSL modem stats page typing the PUBLICIP:8888
However, then i try to access the page, the browser replaces the PUBLICIP with the modem LOCALIP.
Exemple: I type 200.201.200.2:888, then the browser redirects to 192.168.1.1/wizardoi
That is a local IP from the modem. It shoud keeps the public IP on the address, but i doesnt.
I dont know what is happening.
Can anyone help me?
I am not good with NAT and routing.