Guest User

Untitled

a guest
Jun 11th, 2023
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. # jun/11/2023 13:43:50 by RouterOS 7.7
  2. # software id = 4K62-UAT2
  3. #
  4. # model = RB760iGS
  5. # serial number = XXXXXXXXXXXX
  6. /interface bridge add arp=proxy-arp auto-mac=no comment=defconf igmp-snooping=yes name=bridge-local protocol-mode=none
  7. /interface ethernet set [ find default-name=ether1 ] arp=proxy-arp loop-protect=off
  8. /interface ethernet set [ find default-name=sfp1 ] disabled=yes
  9. /interface vlan add arp=proxy-arp interface=ether1 name=vlan1.4 vlan-id=4
  10. /interface vlan add interface=ether1 loop-protect=off name=vlan1.6 vlan-id=6
  11. /interface pppoe-client add add-default-route=yes allow=pap disabled=no interface=vlan1.6 keepalive-timeout=20 max-mru=1500 max-mtu=1500 name=pppoe-client user=<USERNAME>
  12. /interface list add name=WAN
  13. /interface list add name=LAN
  14. /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik
  15. /ip hotspot profile set [ find default=yes ] html-directory=hotspot
  16. /ip pool add name=dhcp_pool0 ranges=192.168.100.2-192.168.100.254
  17. /ip pool add name=dhcp ranges=192.168.100.2-192.168.100.254
  18. /ip dhcp-server add add-arp=yes address-pool=dhcp_pool0 always-broadcast=yes interface=bridge-local lease-time=30s name=dhcp1 relay=192.168.100.1
  19. /ip dhcp-server add address-pool=dhcp interface=bridge-local name=dhcp2
  20. /ppp profile set *0 change-tcp-mss=default only-one=yes use-compression=yes use-encryption=no use-ipv6=required use-mpls=no use-upnp=no
  21. /routing bgp template set default disabled=yes routing-table=main
  22. /interface bridge port add bridge=bridge-local comment=defconf interface=LAN
  23. /interface bridge port add bridge=bridge-local interface=WAN
  24. /interface list member add interface=ether1 list=WAN
  25. /interface list member add interface=ether2 list=LAN
  26. /interface list member add interface=ether3 list=LAN
  27. /interface list member add interface=ether4 list=LAN
  28. /interface list member add interface=ether5 list=LAN
  29. /ip address add address=192.168.100.1/24 interface=bridge-local network=192.168.100.0
  30. /ip dhcp-client add comment=defconf disabled=yes interface=ether1
  31. /ip dhcp-server network add address=192.168.100.0/24 dns-server=1.1.1.1 gateway=192.168.100.1
  32. /ip firewall nat add action=masquerade chain=srcnat out-interface=pppoe-client
  33. /system identity set name="MikroTik hEX - Gateway"
  34.  
Advertisement
Add Comment
Please, Sign In to add comment