Sunday, June 17, 2018

PPTP Server For Wan Network

0 comments


/ip pool
add name=PPTP ranges=174.16.1.2-174.16.1.254
/ip dns
set servers=8.8.8.8,8.8.4.4
/ip firewall service-port
set gre disabled=no
set pptp disabled=no
/ppp profile
add change-tcp-mss=yes local-address=174.16.1.1 name=PPTP remote-address=PPTP \
    use-encryption=yes
/interface pptp-server server
set default-profile=PPTP enabled=yes max-mru=1460 max-mtu=1460
/ppp secret
add name=MyUser password=MyPwd profile=PPTP service=pptp
/ip firewall filter
add action=accept chain=input protocol=gre
add action=accept chain=input dst-port=1723 protocol=tcp
/ip firewall nat
add action=masquerade chain=srcnat comment="PPTP " src-address=\
    174.16.1.2-174.16.1.254

Sunday, May 6, 2018

High Priority & Unlimited Bandwidth For Whatsapp

8 comments
Image result for high priority and unlimited bandwidth for whatsapp

first download address list and paste in new terminal

/ip firewall mangle
add action=mark-connection chain=forward comment="Whats App" connection-state=new dst-address-list=Whatsapp_ITLearnWeb \
    new-connection-mark=WhatsApp_Mark passthrough=yes
add action=mark-packet chain=forward connection-mark=WhatsApp_Mark new-packet-mark=WhatsApp_Packets passthrough=no
/queue simple
add limit-at=50M/50M max-limit=50M/50M name="WhatsApp Allow High Priority" packet-marks=WhatsApp_Packets priority=4/4 target=\
    192.168.5.0/24



Sunday, October 1, 2017

Mikrotik Users Base Routing (PPPoE Users)

10 comments
/ip address
add address=192.168.1.10/24 interface=ether1 network=192.168.1.0
add address=192.168.2.10/24 interface=ether2 network=192.168.2.0
add address=10.10.0.1/24 interface=ether5 network=10.10.0.0
/ip dns
set servers=8.8.8.8,8.8.8.4.4

/ip pool
add name=ISP-1 ranges=172.16.1.1-172.16.1.254
add name=ISP-2 ranges=172.16.2.1-172.16.2.254

/ip firewall address-list
add address=172.16.1.0/24 list=ISP-1
add address=172.16.2.0/24 list=ISP-2
/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=isp1routing \
    passthrough=no src-address-list=ISP-1
add action=mark-routing chain=prerouting new-routing-mark=isp2routing \
    passthrough=no src-address-list=ISP-2

/ip route
add comment="ISP-1 Routing" distance=1 gateway=192.168.1.1 routing-mark=\
    isp1routing
add comment="ISP-2 Routing" distance=1 gateway=192.168.2.1 routing-mark=\
    isp2routing

/interface pppoe-server server
add authentication=pap,chap disabled=no interface=ether5 one-session-per-host=\
    yes service-name=service1

/ppp profile
add local-address=10.10.0.1 name=2/2MbISP-2 only-one=yes rate-limit=2M/2M \
    remote-address=ISP-2
add local-address=10.10.0.1 name=2/2MbISP-1 only-one=yes rate-limit=2M/2M \
    remote-address=ISP-1

Sunday, August 27, 2017

Sunday, August 20, 2017

Payment Reminder For PPPoE

16 comments

/ip pool
add name=block ranges=172.16.202.1-172.16.202.254
/ppp profile
add change-tcp-mss=no local-address=10.10.0.1 name=Block rate-limit=100K/100K remote-address=block
/ip firewall nat
add action=redirect chain=dstnat comment="Payment redirect" dst-port=80 protocol=tcp src-address=\
    172.16.202.0/24 to-ports=8080
/ip firewall filter
add action=accept chain=forward comment=Reminder dst-port=53 protocol=tcp src-address=172.16.202.0/24
add action=accept chain=forward dst-port=53 protocol=udp src-address=172.16.202.0/24
add action=drop chain=forward src-address=172.16.202.0/24
/ip proxy
set cache-administrator=AfriCloud enabled=yes max-cache-size=none src-address=0.0.0.0
/ip proxy access
add dst-host=www.paymentreminder.weebly.com
add action=deny redirect-to=www.paymentreminder.weebly.com

Sunday, July 16, 2017

Secondary Link For Backup

1 comments



/interface bonding
add mode=active-backup name=Wan-bonding1 slaves=ether1,ether2
/ip address
add address=98.140.10.54/30 comment="Wan Network" interface=Wan-bonding1 network=\

    98.140.10.52

Sunday, July 9, 2017

Block Daily Motion

1 comments

/ip firewall address-listadd address=198.54.201.0/24 list=DailyMotionadd address=198.54.200.0/24 list=DailyMotionadd address=195.8.214.0/24 list=DailyMotionadd address=195.8.214.0/23 list=DailyMotionadd address=188.65.126.0/24 list=DailyMotionadd address=188.65.125.0/24 list=DailyMotionadd address=188.65.124.0/24 list=DailyMotionadd address=188.65.121.0/24 list=DailyMotionadd address=188.65.120.0/24 list=DailyMotion/ip firewall filteradd action=drop chain=forward comment="Block DailyMotion" dst-address-list=\DailyMotion/

Sunday, July 2, 2017