Tue Mar 18, 2014 9:34 pm
/interface bridge
add l2mtu=1520 name=bridge1
/interface ethernet
set 0 name=ether1-WAN
set 1 name=ether2-LAN
/interface pppoe-client
add add-default-route=yes allow=pap,chap interface=ether1-WAN name=\
pppoe-1 password=******** use-peer-dns=yes user=\
**************
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/ip pool
add name=dhcp_pool2 ranges=172.16.1.2-172.16.1.254
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=bridge1 lease-time=1d name=\
dhcp1
/ppp profile
add change-tcp-mss=yes local-address=172.16.1.200 name=pptp use-compression=\
yes use-encryption=yes use-vj-compression=no
/interface bridge port
add bridge=bridge1 interface=ether2-LAN
add bridge=bridge1 interface=ether3
/interface pptp-server server
set authentication=pap,chap,mschap1,mschap2 default-profile=default enabled=\
yes
/ip address
add address=172.16.1.1/24 interface=bridge1
/ip dhcp-client
add default-route-distance=0 disabled=no interface=ether1-WAN
/ip dhcp-server lease
add address=172.16.1.10 mac-address=00:08:5D:2F:69:99 server=dhcp1
add address=172.16.1.9 mac-address=00:08:5D:2F:69:96 server=dhcp1
/ip dhcp-server network
add address=172.16.1.0/24 dns-server=172.16.1.1 gateway=172.16.1.1
/ip dns
set allow-remote-requests=yes servers=**********,**********
/ip dns static
add address=192.168.88.1 name=router
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1-WAN src-address=\
172.16.1.0/24
add action=src-nat chain=srcnat disabled=yes src-address=172.16.1.0/24 \
to-addresses=************
/ip firewall service-port
set sip disabled=yes
/ip neighbor discovery
set ether1-WAN disabled=yes
/ip route
add distance=1 dst-address=172.16.1.0/24 gateway=ether2-LAN
/ppp secret
add name=******* password=********** profile=pptp remote-address=172.16.1.201 \
service=pptp
add name=pptp profile=pptp remote-address=172.16.1.202 service=pptp
/system identity
set name="Stainless Innovations"
/system ntp client
set enabled=yes
/tool mac-server
add disabled=no interface=ether2-LAN
add disabled=no interface=ether3
add disabled=no interface=ether4
add disabled=no interface=ether5
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-LAN
add interface=ether3
add interface=ether4
add interface=ether5