You are on page 1of 1

/interface bridge

add fast-forward=no mtu=1500 name=bridge1


/interface ethernet
set [ find default-name=ether1 ] name="ether1 - Wan"
set [ find default-name=ether2 ] name="ether2 - L2L"
set [ find default-name=ether3 ] name="ether3 - Switch Cliente"
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-128-cbc
/ip pool
add name=pool1 ranges=172.16.192.0/24
add name=dhcp_pool1 ranges=172.16.192.1-172.16.192.253
add name=vpn_loja ranges=10.100.100.2-10.100.100.100
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge1 lease-time=3d name=\
dhcp1
/ppp profile
add local-address=10.100.100.1 name=lova_vpn remote-address=vpn_loja
/interface bridge port
add bridge=bridge1 hw=no interface="ether2 - L2L"
add bridge=bridge1 hw=no interface="ether3 - Switch Cliente"
add bridge=bridge1 hw=no interface=ether4
add bridge=bridge1 hw=no interface=ether5
/interface pptp-server server
set authentication=chap,mschap1,mschap2 enabled=yes
/ip address
add address=187.103.78.193/30 comment=Wan interface="ether1 - Wan" network=\
187.103.78.192
add address=172.16.192.254/24 comment=DHCP interface=bridge1 network=\
172.16.192.0
add address=10.0.0.1/24 comment="REDE SERVIDORES" interface=bridge1 network=\
10.0.0.0
add address=192.168.13.1/24 comment="Rede Uniao" interface=bridge1 network=\
192.168.13.0
/ip dhcp-server network
add address=172.16.192.0/24 gateway=172.16.192.254
/ip dns
set servers=187.103.65.25,187.103.65.26
/ip firewall nat
add action=masquerade chain=srcnat
/ip route
add distance=1 gateway=187.103.78.194
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
/ppp secret
add name=teste password=123 profile=lova_vpn service=pptp
/system clock
set time-zone-name=America/Sao_Paulo
/system routerboard settings
set silent-boot=no

You might also like