Hello fewi!
Yesterday, I resetted the system config and tried again all steps…
Result: I’m not able to ping an external website from RB750. But ping on 192.168.1.1 is no problem!
Maybe I have to config 192.168.1.1 ?! (RIP or a static route?)
Hotspot works only with IP Adresess. That means, the login screen only appear, if I want to go to e.g. 192.168.1.1. If I want to go to google.com → Server not found.
Thanks!
adress print detail:
[admin@MikroTik] /ip>> address print detail
Flags: X - disabled, I - invalid, D - dynamic
0 address=192.168.1.254/24 network=192.168.1.0 broadcast=192.168.1.255
interface=ether1 actual-interface=ether1
1 ;;; hotspot network
address=172.16.0.1/24 network=172.16.0.0 broadcast=172.16.0.255
interface=ether2 actual-interface=ether2
route print detail
[admin@MikroTik] /ip>> route print detail
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=ether1 gateway-status=ether1 reachable
distance=1 scope=30 target-scope=10
1 ADC dst-address=172.16.0.0/24 pref-src=172.16.0.1 gateway=ether2
gateway-status=ether2 reachable distance=0 scope=10
2 ADC dst-address=192.168.1.0/24 pref-src=192.168.1.254 gateway=ether1
gateway-status=ether1 reachable distance=0 scope=10
dns export:
[admin@MikroTik] /ip>> dns export
# jan/02/1970 00:14:23 by RouterOS 4.9
# software id = AL3N-4QV8
#
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
max-udp-packet-size=512 servers=195.3.96.67,213.33.98.136
firewall export:
[admin@MikroTik] /ip>> firewall export
# jan/02/1970 00:14:47 by RouterOS 4.9
# software id = AL3N-4QV8
#
/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=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=no src-address=172.16.0.0/24
/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
set pptp disabled=no
hotspot export:
[admin@MikroTik] /ip>> hotspot export
# jan/02/1970 00:15:29 by RouterOS 4.9
# software id = AL3N-4QV8
#
/ip hotspot profile
set default dns-name="" hotspot-address=0.0.0.0 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap name=\
default rate-limit="" smtp-server=0.0.0.0 split-user-domain=no use-radius=no
add dns-name="" hotspot-address=172.16.0.1 html-directory=hotspot \
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap name=\
hsprof1 rate-limit="" smtp-server=0.0.0.0 split-user-domain=no use-radius=no
/ip hotspot
add address-pool=hs-pool-2 addresses-per-mac=2 disabled=no idle-timeout=5m \
interface=ether2 keepalive-timeout=none name=hotspot1 profile=hsprof1
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default shared-users=1 \
status-autorefresh=1m transparent-proxy=no
/ip hotspot service-port
set ftp disabled=no ports=21
/ip hotspot user
add comment="" disabled=no name=admin password=admin profile=default
pool export:
[admin@MikroTik] /ip>> pool export
# jan/02/1970 00:16:18 by RouterOS 4.9
# software id = AL3N-4QV8
#
/ip pool
add name=hs-pool-2 ranges=172.16.0.2-172.16.0.254
dhcp-server export:
[admin@MikroTik] /ip>> dhcp-server export
# jan/02/1970 00:16:39 by RouterOS 4.9
# software id = AL3N-4QV8
#
/ip dhcp-server
add address-pool=hs-pool-2 authoritative=after-2sec-delay bootp-support=static \
disabled=no interface=ether2 lease-time=1h name=dhcp1
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=172.16.0.0/24 comment="hotspot network" gateway=172.16.0.1