Perintah Mikrotik

11:22 PM littleusagistory 0 Comments



Ip addrss add address=192.168.10.1/24 interfaces=ether1 comment=internet
Ip address add address=192.168.195.1/26 interfaces=ether2 comment=lan
Ip address add address=192.168.5.1/26 interfaces=ether3 comment=hotspot
Ip address print
Ip route add gateway = 192.168.10.254
Ip dns-set server=203.130.193.74,.8.8.8.8 allow-remote-request=yes
Ip dhcp server setup
Interface = ether2
Dhcp relay=192.168.195.1
Ip dhcp server setup
Interface=ether3
Dhcp relay=192.168.10.1
Ip firewall nat add chain=srcnat out-interfaces=ether1 action=masquerade comment=nat
Ip proxy set enabled=yes cache-administrator=www.namasiswa@sekolah.sch.id port=3128
Ip proxy acces add dst-host=www.twitter.com action=deny comment=”blocking site”
Ip proxy access add dst-host=www.google.com action=deny
Ip proxy access add dst-host=www.youtube.com action=deny redirect-to=www.google.com comment=”redirecting site”
Ip firewall nat add chain=dstnat protocol=tcp port=80 action=redirect to-port=3128 comment=”belok koneksi internet ke proxy”
Ip firewall nat add chain=dstnat protocol=tcp port=8080 action=redirect to-port=3128
Ip firewall nat add chain=dstnat protocol=tcp port=3128 action=redirect to-port=3128
Ip firewall nat print
Queue simple add name=client1 target=192.168.195.3 max-limit=128k/256k
Ip hotspot setup
Interfaces=ether3
Dns name=www.namasiswa.sch.id
Name of hotspot user=admin
Password for the user=12345
Ip hotspot user profile set 0 rate-limit=256k/384k
System identy set name="hani" (nama siswa)
System reboot


You Might Also Like

0 comments: