Routing Problem Mikrotik

  • I have setup a RB 433 running OS v6.0. Everything works except connecting to the Internet. I cannot ping from my hot spot interface *(Wlan 1) to my local network. Quick Set

    Route List 4 items

    Dst. Address Gateway Distance Pref. Source

    -DAC 10.5.50.0/24 wlan1 reachable 10.5.50.1

    -DAC 92.168.1.0/24 bridge1 reachable 192.168.1.81

    -XS 0.0.0.0/0 wlan1 1

    -AS 0.0.0.0/0 192.168.1.1 reachable bridge1 1 192.168.1.81

    when I login I get a valid IP address then “Error 404: Not found

    Anyone any ideas.

    Thanks in advance

    Richard

    Hello,

    probably the router cannot find the hotspot template files on your router.

    “If it is not possible to meet a request using the pages stored on the router’s FTP server, Error 404 is displayed”

    Source: http://wiki.mikrotik.com/wiki/Manual:Customizing_Hotspot

    I have tried to ping 192.168.1.81 from Wlan1 no ping. When I setup the hotspot the router setup the “fire wall filter added 47 filter rules ans the firewall NAT added 37 rules automatically. I am well out of my depth here.

    Your thoughts?

    Richard

    Firewall rules

    /ip firewall filter

    add action=passthrough chain=unused-hs-chain comment=”place hotspot rules here” disabled=yes

    /ip firewall nat

    add action=passthrough chain=unused-hs-chain comment=”place hotspot rules here” disabled=yes

    add action=masquerade chain=srcnat comment=”masquerade hotspot network” src-address=10.5.50.0/24

    to-addresses=0.0.0.0

    add action=jump chain=dstnat hotspot=from-client jump-target=hotspot

    add action=jump chain=hotspot jump-target=pre-hotspot

    add action=redirect chain=hotspot dst-port=53 protocol=udp to-ports=64872

    add action=redirect chain=hotspot dst-port=53 protocol=tcp to-ports=64872

    add action=redirect chain=hotspot dst-port=80 hotspot=local-dst protocol=tcp to-ports=64873

    add action=redirect chain=hotspot dst-port=443 hotspot=local-dst protocol=tcp to-ports=64875

    add action=jump chain=hotspot hotspot=!auth jump-target=hs-unauth protocol=tcp

    add action=jump chain=hotspot hotspot=auth jump-target=hs-auth protocol=tcp

    add action=return chain=hs-unauth dst-address=66.228.113.26 dst-port=80 protocol=tcp

    add action=redirect chain=hs-unauth dst-port=80 protocol=tcp to-ports=64874

    add action=redirect chain=hs-unauth dst-port=3128 protocol=tcp to-ports=64874

    add action=redirect chain=hs-unauth dst-port=8080 protocol=tcp to-ports=64874

    add action=redirect chain=hs-unauth dst-port=443 protocol=tcp to-ports=64875

    add action=jump chain=hs-unauth dst-port=25 jump-target=hs-smtp protocol=tcp

    add action=redirect chain=hs-auth hotspot=http protocol=tcp to-ports=64874

    add action=jump chain=hs-auth dst-port=25 jump-target=hs-smtp protocol=tcp to-addresses=0.0.0.0

    /ip firewall nat

    add action=passthrough chain=unused-hs-chain comment=”place hotspot rules here” disabled=yes

    add action=masquerade chain=srcnat comment=”masquerade hotspot network” src-address=10.5.50.0/24

    to-addresses=0.0.0.0

    add action=jump chain=dstnat hotspot=from-client jump-target=hotspot

    add action=jump chain=hotspot jump-target=pre-hotspot

    add action=redirect chain=hotspot dst-port=53 protocol=udp to-ports=64872

    add action=redirect chain=hotspot dst-port=53 protocol=tcp to-ports=64872

    add action=redirect chain=hotspot dst-port=80 hotspot=local-dst protocol=tcp to-ports=64873

    add action=redirect chain=hotspot dst-port=443 hotspot=local-dst protocol=tcp to-ports=64875

    add action=jump chain=hotspot hotspot=!auth jump-target=hs-unauth protocol=tcp

    add action=jump chain=hotspot hotspot=auth jump-target=hs-auth protocol=tcp

    add action=return chain=hs-unauth dst-address=66.228.113.26 dst-port=80 protocol=tcp

    add action=redirect chain=hs-unauth dst-port=80 protocol=tcp to-ports=64874

    add action=redirect chain=hs-unauth dst-port=3128 protocol=tcp to-ports=64874

    add action=redirect chain=hs-unauth dst-port=8080 protocol=tcp to-ports=64874

    add action=redirect chain=hs-unauth dst-port=443 protocol=tcp to-ports=64875

    add action=jump chain=hs-unauth dst-port=25 jump-target=hs-smtp protocol=tcp

    add action=redirect chain=hs-auth hotspot=http protocol=tcp to-ports=64874

    add action=jump chain=hs-auth dst-port=25 jump-target=hs-smtp protocol=tcp to-addresses=0.0.0.0

    Still getting Error 404

    Richard

    As i wrote:

    “probably the router cannot find the hotspot template files on your router.

    “If it is not possible to meet a request using the pages stored on the router’s FTP server, Error 404 is displayed””

    Its probably nothing to do with your config. Its the files under your hotspot directory which are missing.

0 0

You must be logged in to reply to this topic.