Code: Select all
sep/15/2018 12:27:20 by RouterOS 6.43
# software id = TNH7-3XDV
#
# model = RouterBOARD 3011UiAS
# serial number = 8EED09FB0E18
/interface bridge
add admin-mac=B8:69:F4:0A:F2:DB auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
set [ find default-name=ether2 ] arp=proxy-arp speed=100Mbps
set [ find default-name=ether3 ] speed=100Mbps
set [ find default-name=ether4 ] speed=100Mbps
set [ find default-name=ether5 ] speed=100Mbps
set [ find default-name=ether6 ] speed=100Mbps
set [ find default-name=ether7 ] speed=100Mbps
set [ find default-name=ether8 ] speed=100Mbps
set [ find default-name=ether9 ] speed=100Mbps
set [ find default-name=ether10 ] speed=100Mbps
set [ find default-name=sfp1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name="Home dhcp" ranges=192.168.1.100-192.168.1.200
/ip dhcp-server
add address-pool="Home dhcp" disabled=no interface=bridge name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=ether10
add bridge=bridge comment=defconf interface=sfp1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface l2tp-server server
set authentication=mschap2 enabled=yes
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface sstp-server server
set authentication=mschap2 certificate=CA enabled=yes
/ip address
add address=192.168.1.1/24 comment=defconf interface=ether2 network=192.168.1.0
add address=160.7.249.40/24 interface=ether1 network=160.7.249.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=ether1
/ip dhcp-server lease
add address=192.168.1.11 client-id="West Mountain Link to Home" mac-address=78:8A:20:32:2D:D9
add address=192.168.1.10 client-id="Home Link to west mountain" mac-address=78:8A:20:32:29:09
add address=192.168.1.2 always-broadcast=yes client-id="Main ProCurve Switch" mac-address=00:1F:FE:9D:A8:80
add address=192.168.1.3 client-id="UTMesh Web Server" mac-address=00:15:17:28:16:7B
add address=192.168.1.4 client-id="Programming PI" mac-address=B8:27:EB:DD:57:E9
add address=192.168.1.7 client-id="Plex Media Server" mac-address=D4:C9:EF:EE:F0:72
add address=192.168.1.12 client-id="Jakes Ipad" mac-address=A0:4E:A7:C6:9E:11 server=defconf
add address=192.168.1.6 mac-address=00:1B:21:96:5C:E1
add address=192.168.1.5 client-id=1:b8:27:eb:b5:46:52 mac-address=B8:27:EB:B5:46:52 server=defconf
/ip dhcp-server network
add address=192.168.1.0/24 comment=defconf gateway=192.168.1.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=160.7.240.20,160.7.240.4
/ip dns static
add address=192.168.2.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input dst-address=160.7.249.40 dst-port=80 protocol=tcp
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related
add action=accept chain=input dst-address=160.7.249.40 dst-port=443 protocol=tcp
add action=accept chain=input dst-address=160.7.249.40 dst-port=80 protocol=tcp src-address=67.199.160.0/24
add action=accept chain=input dst-port=500 protocol=udp
add action=accept chain=input dst-address=160.7.249.40 dst-port=80 protocol=tcp src-address=160.7.240.0/24
add action=accept chain=input comment="Mikrotik Web interface" dst-address=160.7.249.40 dst-port=88 protocol=tcp
add action=accept chain=input comment="Accept rule for Mesh Map" dst-address=160.7.249.40 dst-port=82 protocol=tcp
add action=accept chain=input dst-address=192.168.1.1 protocol=icmp src-address=67.199.160.146
add action=drop chain=input comment="Drop all from WAN" in-interface=ether1
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-nat-state=dstnat connection-state=established,related in-interface=ether1
add action=drop chain=forward comment="Drop Invalid" connection-state=invalid
add action=drop chain=forward comment="Drop all from Wa\\AN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface=ether1
/ip firewall nat
add action=dst-nat chain=dstnat dst-address=160.7.249.40 dst-port=80 in-interface=ether1 protocol=tcp to-addresses=192.168.1.3
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=ether1
[size=150][b][u]!!!!!!!!!add action=masquerade chain=srcnat dst-address=192.168.1.3 dst-port=80 out-interface=bridge protocol=tcp src-address=192.168.1.0/24 to-addresses=92.168.1.3[/u][/b][/size] THIS IS ONE THING THAT i NOTICED, THE TO-ADDRESS IS MISSING THE FIRST 1 ON 192.168.1.3, BUT IT IS THERE IN THE ROUTER CONFIG!!!!!!!!!
/ip route
add distance=1 gateway=160.7.249.1
/ip service
set www port=88
/lcd
set backlight-timeout=never default-screen=stats
/ppp secret
add local-address=192.168.1.1 name=kd7vea remote-address=192.168.1.201 service=sstp
add local-address=160.7.249.40 name=k7msh remote-address=67.199.160.146 routes="192.168.10.0/24 67.199.160.146 1" service=l2tp
/system clock
set time-zone-name=America/Denver
/system identity
set name="MikroTik RB3011"
/system routerboard settings
set silent-boot=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
[admin@MikroTik RB3011] >