i am total beginner and i set my 2011UiAS using quickset > home AP
did not change anything or add anything to firewall except obviously:
add action=dst-nat chain=dstnat dst-port=81 in-interface=bridge protocol=tcp \ to-addresses=192.168.88.1 to-ports=80
it worked fine but then i changed internet provider which uses pppoe to connect, port forwarding stoped working.
i noticed it is working from local subnet (e.g. any device on network) but i cant arrive to local website from external network (e.g. mobile phone data connection).
i seen some topic about “hairpin nat” but i am too dumb to understand any of that…
firewall config:
ip-firewall-filterv2.txt (1.54 KB)
i also added full settings backup without pass:
novynet.rar (6 KB)
i just spent 10 hours with trial/error method with no luck so please help me find the problem…
That rule doesn’t look like it is meant for external connections.
add action=dst-nat chain=dstnat dst-port=81 in-interface=bridge protocol=tcp \ to-addresses=192.168.88.1 to-ports=80
That rule would take a request on port 81 coming from the bridge (Local interface) and forward it to 192.168.88.1 port 80.
so how it should look like?
i want to be able to connect from anywhere to my router web interface by typing <my_externel_ip:81>
Copy and past this whole thing in a New Terminal Window using RIGHT CLICK (Your mouse buttons) Copy and Paste.
DO NOT USE CTRL+C and CTRL+P
/ip cloud
set ddns-enabled=yes
/ip firewall address-list
add address=192.168.88.0/24 list=GotSprings
/ip firewall nat
add action=masquerade chain=srcnat comment="Masq GotSprings" dst-address-list=\
GotSprings out-interface=bridge src-address-list=GotSprings place-before=1
######
:global Sprung [/system routerboard get serial-number]
/ip firewall address-list add address="$Sprung.sn.mynetname.net" list=SpringsForward
/system script environment remove Sprung
/ip firewall nat add action=dst-nat chain=dstnat comment="Port Forward Example" \
dst-address-list=SpringsForward dst-port=81 protocol=tcp to-addresses=\
192.168.88.1 to-ports=80 disabled=yes