Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [admin@DNSBA] /ip address> print det
- Flags: X - disabled, I - invalid, D - dynamic
- 0 ;;; defconf
- address=192.168.88.1/24 network=192.168.88.0 interface=bridge actual-interface=bridge
- 1 address=192.168.87.1/32 network=192.168.87.1 interface=ether2 actual-interface=ether2
- 2 address=10.5.51.253/24 network=10.5.51.0 interface=wlan1 actual-interface=wlan1
- 3 ;;; hotspot network
- address=10.5.50.1/24 network=10.5.50.0 interface=wlan1 actual-interface=wlan1
- 4 D address=192.168.12.139/24 network=192.168.12.0 interface=ether1 actual-interface=ether1
- [admin@DNSBA] > /ip dhcp-server print det
- Flags: D - dynamic, X - disabled, I - invalid
- 0 name="defconf" interface=bridge lease-time=10m address-pool=default-dhcp bootp-support=static authoritative=yes
- use-radius=no lease-script=""
- 1 I name="wlandhcp" interface=wlan1 lease-time=10m address-pool=wlanpool bootp-support=static authoritative=yes
- use-radius=no lease-script=""
- [admin@DNSBA] > /ip pool print det
- 0 name="default-dhcp" ranges=192.168.88.10-192.168.88.254
- 1 name="tamu" ranges=10.10.123.2-10.10.123.127
- 2 name="wlanpool" ranges=10.5.50.2-10.5.50.253
- 3 name="hs-pool-1" ranges=10.5.51.1-10.5.51.252
- [admin@DNSBA] /ip hotspot> print det
- Flags: X - disabled, I - invalid, S - HTTPS
- 0 name="hotspot1" interface=wlan1 address-pool=hs-pool-1 profile=hsprof1 idle-timeout=5m keepalive-timeout=none
- login-timeout=none addresses-per-mac=2 ip-of-dns-name=10.5.51.253 proxy-status="running"
- [admin@DNSBA] /ip hotspot user profile> print detail
- Flags: * - default
- 0 * name="default" address-pool=hs-pool-1 idle-timeout=none keepalive-timeout=2m status-autorefresh=1m shared-users=1
- add-mac-cookie=yes mac-cookie-timeout=3d address-list="" transparent-proxy=no
- [admin@DNSBA] /ip hotspot> host print det
- Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
- 0 A mac-address=9C:6B:72:A7:60:9F address=10.5.50.253 to-address=10.5.51.252 server=hotspot1 uptime=54s
- keepalive-timeout=2m found-by="UDP :12251 -> 10.5.50.1:53"
- [admin@DNSBA] > /ip firewall nat print det
- Flags: X - disabled, I - invalid, D - dynamic
- 0 D chain=dstnat action=jump jump-target=hotspot hotspot=from-client
- 1 D chain=hotspot action=jump jump-target=pre-hotspot
- 2 D chain=hotspot action=redirect to-ports=64872 protocol=udp dst-port=53
- 3 D chain=hotspot action=redirect to-ports=64872 protocol=tcp dst-port=53
- 4 D chain=hotspot action=redirect to-ports=64873 protocol=tcp hotspot=local-dst dst-port=80
- 5 D chain=hotspot action=redirect to-ports=64875 protocol=tcp hotspot=local-dst dst-port=443
- 6 D chain=hotspot action=jump jump-target=hs-unauth protocol=tcp hotspot=!auth
- 7 D chain=hotspot action=jump jump-target=hs-auth protocol=tcp hotspot=auth
- 8 D chain=hs-unauth action=redirect to-ports=64874 protocol=tcp dst-port=80
- 9 D chain=hs-unauth action=redirect to-ports=64874 protocol=tcp dst-port=3128
- 10 D chain=hs-unauth action=redirect to-ports=64874 protocol=tcp dst-port=8080
- 11 D chain=hs-unauth action=jump jump-target=hs-smtp protocol=tcp dst-port=25
- 12 D chain=hs-auth action=redirect to-ports=64874 protocol=tcp hotspot=http
- 13 D chain=hs-auth action=jump jump-target=hs-smtp protocol=tcp dst-port=25
- 14 X ;;; place hotspot rules here
- chain=unused-hs-chain action=passthrough
- 15 ;;; defconf: masquerade
- chain=srcnat action=masquerade out-interface-list=WAN ipsec-policy=out,none
- 16 ;;; masquerade hotspot network
- chain=srcnat action=masquerade src-address=10.5.51.0/24
- 17 D chain=hs-unauth action=redirect to-ports=64875 protocol=tcp in-interface=wlan1 dst-port=443
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement