Hi.
Here is the output you asked for. It’s pretty basic configuration, since i’m only testing the feature. Setup is something like this.
AP----10.20.30/24----RB800—192.168.201.0/24----switch----router—wan
Thing is i have to connect it to a quite a big network to get access to internet. I would look for a issue there, since everything there is NATed properly, nothing is blocked or anything.
/ip address print detail
0 address=10.20.30.1/24 network=10.20.30.0 interface=ether3
actual-interface=ether3
1 address=192.168.201.48/24 network=192.168.201.0 interface=ether1
actual-interface=ether1
/ip route print detail
0 A S dst-address=0.0.0.0/0 gateway=192.168.201.1
gateway-status=192.168.201.1 reachable ether1 distance=1 scope=30
target-scope=10
1 ADC dst-address=10.20.30.0/24 pref-src=10.20.30.1 gateway=ether3
gateway-status=ether3 reachable distance=0 scope=10
2 ADC dst-address=192.168.201.0/24 pref-src=192.168.201.48 gateway=ether1
gateway-status=ether1 reachable distance=0 scope=10
/interface print detail
0 R name=“ether3” type=“ether” mtu=1500 l2mtu=1600 max-l2mtu=9116
1 R name=“ether1” type=“ether” mtu=1500 l2mtu=1600 max-l2mtu=9500
2 X name=“ether2” type=“ether” mtu=1500 l2mtu=1600 max-l2mtu=9500
/ip firewall export
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s
tcp-close-wait-timeout=10s tcp-established-timeout=1d
tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s
tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no
tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=
“place hotspot rules here” disabled=yes
/ip firewall nat
add action=accept chain=pre-hotspot comment=“place hotspot rules here”
disabled=yes
/ip firewall service-port
set ftp disabled=no ports=21
set tftp disabled=no ports=69
set irc disabled=no ports=6667
set h323 disabled=no
set sip disabled=no ports=5060,5061 sip-direct-media=yes
set pptp disabled=no
/ip hotspot export
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default rate-limit=
1000/1000 shared-users=unlimited status-autorefresh=1m transparent-proxy=
no
add idle-timeout=none keepalive-timeout=2m name=guest rate-limit=75k/300k
shared-users=1 status-autorefresh=1m transparent-proxy=no
/ip hotspot profile
set default dns-name=“” hotspot-address=0.0.0.0 html-directory=hotspot
http-proxy=0.0.0.0:0 login-by=http-pap,trial name=default rate-limit=“”
smtp-server=0.0.0.0 split-user-domain=no trial-uptime=30m/1d
trial-user-profile=guest use-radius=no
add dns-name=10.20.30.1 hotspot-address=10.20.30.1 html-directory=hotspot
http-proxy=0.0.0.0:0 login-by=http-chap,http-pap,trial name=KLC
rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no trial-uptime=
30m/30m trial-user-profile=guest use-radius=no
/ip hotspot
add disabled=no idle-timeout=none interface=ether3 keepalive-timeout=none
name=KLC profile=KLC
/ip hotspot service-port
set ftp disabled=no ports=21
Also can someone explain me in a bit more details what “transparent proxy” actually does? Since i dont use proxy and don’t need it, i dont understand why the client who connects to hotspot can’t surf if that feature is off.
EDIT: Its seems that i can open https pages with transparent proxy turned on after i added this to NAT
Same rule exists in hs-anauth chain (by default)
/ip firewall nat
add action=redirect chain=hs-auth disabled=no dst-port=443 protocol=tcp
to-ports=64875
But the problem now is that if user tries to go to https page before he clicks accept he doesn’t gets redirected to login page.
Someone had this problem before http://forum.mikrotik.com/t/hotspot-redirects-https-and-the-browser-shows-an-ssl-error/45826/1