Mikrotik PPPoE Script

This Script will configure automatically PPPoE Server inside your Mikrotik Box.It will create a single user for test purpose only and will assign him unlimited speed.You can modigy it according to your needs.It will create the following user:
username password
adeel 1234
Also don’t forget to rename your interfaces to LAN and WAN
/ip address
add address=192.168.0.1/24 comment=LAN disabled=no interface=LAN network=192.168.0.0
add address=192.168.1.2/24 comment=WAN disabled=no interface=WAN network=192.168.1.0

/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=30 target-scope=10
/ip pool add name=pppoe-users-pool ranges=192.168.0.3-192.168.0.253
/interface pppoe-server server
add authentication=pap default-profile=default disabled=no interface=LAN keepalive-timeout=10 max-mru=1480 max-mtu=1480 max-sessions=1 mrru=disabled one-session-per-host=yes service-name=adeelkml.com
/ppp profile add change-tcp-mss=default dns-server=8.8.8.8 local-address=192.168.0.1 name=pppoe-profile only-one=yes remote-address=pppoe-users-pool use-compression=default use-encryption=default use-vj-compression=default
/ip firewall nat add action=masquerade chain=srcnat disabled=no src-address=192.168.0.1-192.168.0.255
/ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB max-udp-packet-size=512 servers=221.132.112.8
/ppp secret add caller-id="" disabled=no limit-bytes-in=0 limit-bytes-out=0 name=adeel password=1234 profile=pppoe-profile routes="" service=pppoe

Comments

Popular posts from this blog

DMASOFTLAB RADIUS MANAGER BILLING SYSTEM v 4.1 Finally Released

How To Configure Nano Station M2 As Access point