This video could not play here.
It may be members-only, region-restricted, or unavailable in embedded players.
HOTSPOT & PPPOE CONNECTION ON SAME INTERFACE SETUP FROM SCRATCH
/interface bridge add name=bridge_hotspot
/interface ethernet set [ find default-name=ether1 ] name=ether1-ISP set [ find default-name=ether2 ] name=ether2-HOTSPOT/PPPOE set [ find default-name=ether3 ] name=ether3-HOTSPOT/PPPOE set [ find default-name=ether4 ] name=ether4-HOTSPOT/PPPOE set [ find default-name=ether5 ] name=ether5-HOTSPOT/PPPOE
/interface list add name=WAN add name=LAN
/ip hotspot profile set [ find default=yes ] html-directory=hotspot add dns-name=webhousewifi.com hotspot-address=10.0.0.1 html-directory=\ flash/hotspot name=WEBHOUSETV
/ip pool add name="pppoe pool" ranges=20.0.0.2-20.0.0.254 add name=dhcp ranges=10.0.0.2-10.0.0.254
/ip dhcp-server add address-pool=dhcp disabled=no interface=bridge_hotspot name=hotspot
/ip hotspot add address-pool=dhcp disabled=no interface=bridge_hotspot name=WEBHOUSETV \ profile=WEBHOUSETV
/ip hotspot user profile add address-pool=dhcp name=30MBPS rate-limit=30M/30M
/ppp profile add dns-server=8.8.8.8 local-address=20.0.0.1 name=10MBPS rate-limit=10M/10M \ remote-address="pppoe pool" wins-server=8.8.4.4
/interface bridge port add bridge=bridge_hotspot interface=ether3-HOTSPOT/PPPOE add bridge=bridge_hotspot interface=ether4-HOTSPOT/PPPOE add bridge=bridge_hotspot interface=ether2-HOTSPOT/PPPOE add bridge=bridge_hotspot interface=ether5-HOTSPOT/PPPOE
/interface list member add interface=ether1-ISP list=WAN add interface=bridge_hotspot list=LAN add interface=ether5-HOTSPOT/PPPOE list=LAN
/interface pppoe-server server add disabled=no interface=bridge_hotspot one-session-per-host=yes \ service-name=PPPOE
/ip address add address=10.0.0.1/24 interface=bridge_hotspot network=10.0.0.0
/ip dhcp-client add disabled=no interface=ether1-ISP
/ip dhcp-server network add address=10.0.0.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=10.0.0.1
/ip dns set servers=8.8.8.8,8.8.4.4
/ip firewall nat add action=passthrough chain=unused-hs-chain comment=\ "place hotspot rules here" disabled=yes add action=passthrough chain=unused-hs-chain comment=\ "place hotspot rules here" disabled=yes add action=passthrough chain=unused-hs-chain comment=\ "place hotspot rules here" disabled=yes add action=masquerade chain=srcnat comment="hotspot connection" \ out-interface=ether1-ISP out-interface-list=WAN src-address=10.0.0.0/24 add action=masquerade chain=srcnat src-address=10.0.0.0/24 add action=masquerade chain=srcnat comment="pppoe connection" out-interface=\ ether1-ISP out-interface-list=WAN src-address=20.0.0.0/24
/ip hotspot user add name=webhousetv password=webhousetv profile=30MBPS server=WEBHOUSETV
/ppp secret add name=webhousetv password=webhousetv profile=10MBPS service=pppoe
/system clock set time-zone-autodetect=no time-zone-name=Asia/Manila
/system clock manual set dst-delta=+ time-zone=+