After changing my routes, my login page stopped functioning. I upgraded to 2.9.45 but still nothing. Cleared my old configuations but still no hope. When the login address is put in the browser, it comes up quite alright. I’ve heard it could be to do with my firewall and proxy. I have since shutdown my AP and half my network along with it. Need to get up and running ASAP but cant with an open system. This could spell the end of my job! ![]()
/ ip firewall nat
add chain=srcnat action=masquerade src-address=192.168.0.0/24
comment=“masquerade hotspot network” disabled=no
add chain=hs-unauth action=redirect to-ports=64874 dst-port=80 protocol=tcp
comment=“” disabled=no
add chain=dstnat action=redirect to-ports=8080 dst-port=80 protocol=tcp
comment=“” disabled=no
add chain=srcnat action=masquerade src-address=192.168.0.0/24 limit=0,6
comment=“masquerade hotspot network” disabled=no
/ ip firewall mangle
add chain=prerouting action=mark-connection new-connection-mark=http_conn
passthrough=yes dst-port=80 protocol=tcp comment=“” disabled=no
add chain=prerouting action=mark-packet new-packet-mark=http passthrough=no
connection-mark=http_conn comment=“” disabled=no
add chain=prerouting action=mark-connection new-connection-mark=p2p_conn
passthrough=yes p2p=all-p2p comment=“” disabled=no
add chain=prerouting action=mark-packet new-packet-mark=p2p passthrough=no
connection-mark=p2p_conn comment=“” disabled=no
add chain=prerouting action=passthrough comment=“” disabled=no
add chain=prerouting action=mark-packet new-packet-mark=other passthrough=no
connection-mark=other_conn comment=“” disabled=no
/ ip firewall filter
/ ip firewall service-port
set ftp ports=21 disabled=no
set tftp ports=69 disabled=no
set irc ports=6667 disabled=no
set h323 disabled=yes
set quake3 disabled=no
set gre disabled=yes
set pptp disabled=yes
/ ip firewall connection tracking
set enabled=yes tcp-syn-sent-timeout=5s tcp-syn-received-timeout=5s
tcp-established-timeout=1d tcp-fin-wait-timeout=10s
tcp-close-wait-timeout=10s tcp-last-ack-timeout=10s
tcp-time-wait-timeout=10s tcp-close-timeout=10s udp-timeout=10s
udp-stream-timeout=3m icmp-timeout=10s generic-timeout=10m
tcp-syncookie=no
For my DHCP Server
/ ip dhcp-server
add name=“dhcp1” interface=ether3 lease-time=1h address-pool=hs-pool-3
bootp-support=static add-arp=yes authoritative=after-2sec-delay
always-broadcast=yes disabled=no
/ ip dhcp-server config
set store-leases-disk=5m
/ ip dhcp-server lease
/ ip dhcp-server network
add address=192.168.0.0/24 gateway=192.168.0.1 netmask=24
dns-server=192.168.0.1 domain=“the-village.co.zm” comment=“hotspot
network”
Hotspot Profile
/ ip hotspot profile
set default name=“default” hotspot-address=192.168.0.1
dns-name=“the-village.co.zm” html-directory=hotspot rate-limit=“”
http-proxy=0.0.0.0:8080 smtp-server=192.168.0.4
login-by=mac,cookie,http-chap http-cookie-lifetime=30s
split-user-domain=no use-radius=no
add name=“hsprof1” hotspot-address=192.168.0.1 dns-name=“the-village.co.zm”
html-directory=hotspot rate-limit=“” http-proxy=0.0.0.0:8080
smtp-server=192.168.0.4 login-by=mac,http-pap split-user-domain=no
use-radius=no
I dont understand why I am not able to get this thing going. Any ideas out there?