Thu Sep 19, 2013 8:27 am
[admin@XTRANET_PASTOR-THUKU] > export compact
# jan/02/1970 10:20:11 by RouterOS 6.4
# software id = BLI4-7KQQ
#
/interface bridge
add name=loopback
/interface ethernet
set 0 name="Orange Wan"
set 1 name=OrangeLan
set 2 name=ether1-gateway
set 3 name=ether2-local-master
set 4 master-port=ether2-local-master name=ether3-local-slave
/interface pptp-client
add connect-to=196.207.28.XXX disabled=no max-mru=1460 max-mtu=1460 name=\
pptp-out1 password=abcde user=abcde
/ip neighbor discovery
set ether1-gateway discover=no
set "Orange Wan.vlan437" discover=no
set pptp-out1 discover=no
/interface vlan
add interface="Orange Wan" l2mtu=1520 mtu=1504 name="Orange Wan.vlan437" \
vlan-id=437
/ip hotspot profile
add hotspot-address=192.168.88.1 login-by=cookie,http-chap,https name=hsprof1 \
rate-limit=1M/1M
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=dhcp_pool1 ranges=192.168.1.1
/ip dhcp-server
add address-pool=default-dhcp bootp-support=dynamic disabled=no interface=\
ether2-local-master name=server1
add address-pool=dhcp_pool1 disabled=no interface=ether1-gateway name=dhcp1
/ip hotspot
add address-pool=default-dhcp disabled=no interface=ether2-local-master name=\
hotspot1 profile=hsprof1
/queue simple
add disabled=yes max-limit=64k/64k name=queue1 target=192.168.88.79/32
add max-limit=1M/1M name=smwangi target=192.168.88.12/32
add limit-at=1M/1M max-limit=1M/1M name=hs-<hotspot1> target=192.168.88.1/32
add max-limit=768k/768k name=ustadh target=192.168.88.23/32
add max-limit=512k/512k name=5 target=192.168.88.128/32
add max-limit=1M/1M name=1 target=192.168.88.122/32
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
set 3 remote=0.0.0.0
/ip address
add address=192.168.88.1/24 interface=ether2-local-master network=\
192.168.88.0
add address=192.168.88.2/30 disabled=yes interface=ether1-gateway network=\
192.168.88.0
add address=41.84.158.174/30 disabled=yes interface=ether1-gateway network=\
41.84.158.172
add address=192.168.1.254/24 interface=OrangeLan network=192.168.1.0
add address=10.5.1.2/30 interface=ether1-gateway network=10.5.1.0
add address=10.2.22.73/30 comment="Orange Gateway" interface=\
"Orange Wan.vlan437" network=10.2.22.72
add address=62.24.108.185/32 comment=LoopbackIP interface=loopback network=\
62.24.108.185
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
interface=ether1-gateway
/ip dhcp-server network
add address=192.168.1.0/30 gateway=192.168.1.2
add address=192.168.88.0/24 comment="default configuration" gateway=\
192.168.88.1
/ip dns
set allow-remote-requests=yes max-udp-packet-size=512 servers=8.8.8.8,8.4.4.4
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add chain=input comment="default configuration" disabled=yes protocol=icmp
add chain=input comment="default configuration" connection-state=established \
disabled=yes in-interface=ether1-gateway
add chain=input comment="default configuration" connection-state=related \
disabled=yes in-interface=ether1-gateway
add action=drop chain=input comment="default configuration" disabled=yes \
in-interface=ether1-gateway
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes to-addresses=0.0.0.0
add action=masquerade chain=srcnat comment="default configuration" disabled=\
yes out-interface=ether1-gateway
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.88.0/24 to-addresses=0.0.0.0
add action=src-nat chain=srcnat disabled=yes out-interface=\
"Orange Wan.vlan437" src-address=192.168.1.0/24 to-addresses=\
62.24.108.185
/ip hotspot ip-binding
add address=192.168.88.33 disabled=yes mac-address=EC:55:F9:01:DE:A7 server=\
hotspot1 to-address=192.168.88.33
add address=192.168.88.39 mac-address=00:19:DB:54:2C:DD to-address=\
192.168.88.39 type=bypassed
/ip hotspot user
add name=sifalamu
add name=shuhuri password=shuhuri
add name=fareed password=mahrus
add name=5
add name=ustadh password=khalid
add name=mohamed password=mohamed
add disabled=yes name=4
add name=elsa password=dari2000
add disabled=yes name=3
add name=smwangi password=studio
add name=2
add comment="from 17/09/2013" name=fabienne password=france
add name=1
add comment="thur 1.00" name=rachel
add name=admin
/ip proxy
set max-cache-size=none parent-proxy=0.0.0.0
/ip route
add distance=1 gateway=10.5.1.1
add disabled=yes distance=1 gateway=10.2.22.74
/ip service
set api disabled=yes
/queue interface
set ether1-gateway queue=ethernet-default
set ether2-local-master queue=ethernet-default
set ether3-local-slave queue=ethernet-default
set "Orange Wan" queue=ethernet-default
set OrangeLan queue=ethernet-default
/radius incoming
set accept=yes
/system identity
set name=XTRANET_PASTOR-THUKU
/tool graphing interface
add
/tool graphing queue
add
/tool graphing resource
add
/tool mac-server
add interface=ether2-local-master
add interface=ether3-local-slave
add interface="Orange Wan"
add interface=OrangeLan
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-local-master
add interface=ether3-local-slave
add interface="Orange Wan"
add interface=OrangeLan