07.09.2021., 10:40
|
#218
|
Premium
Datum registracije: Feb 2007
Lokacija: Dalmacija
Postovi: 5,788
|
Ja ovde nista ne vidim sta bi blokiralo http 9091 port a dopustalo RDP na 3xxx na 192.168.1.2. Probao sam i port promjenit ofc ali ništa.
Code:
# sep/07/2021 10:34:29 by RouterOS 6.48.3
# software id = H8IP-FT07
#
# model = RBD52G-5HacD2HnD
# serial number = D7160D9D7422
/interface bridge
add admin-mac=hide auto-mac=no comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
country="united states" disabled=no distance=indoors frequency=auto \
installation=indoor mode=ap-bridge ssid=Vulisha station-roaming=enabled \
wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=\
20/40/80mhz-XXXX country="united states" disabled=no distance=indoors \
frequency=auto installation=indoor mode=ap-bridge ssid="Vulisha 5GHz" \
station-roaming=enabled wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
supplicant-identity=MikroTik
/ip firewall layer7-protocol
add name="Amazon Update" regexp="^.+d1s31zyz7dcc2d.cloudfront.net.*\$|^.+amzdi\
gital-a.akamaihd.net.*\$|^.+amzdigitaldownloads.edgesuite.net.*\$|^.+updat\
es.amazon.com.*\$|^.+softwareupdates.amazon.com.*\$"
/ip pool
add name=dhcp ranges=192.168.1.150-192.168.1.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge lease-time=8h name=defconf
/port
set 0 baud-rate=9600 data-bits=8 flow-control=none name=usb1 parity=none \
stop-bits=1
/interface ppp-client
add apn=internet name=ppp-out1 port=usb1
/interface pppoe-client
add add-default-route=yes default-route-distance=10 disabled=no interface=\
ether1 max-mru=1480 max-mtu=1480 name=pppoe-out1 profile=\
default-encryption user=frankvul
/queue simple
add burst-limit=512k/0 burst-threshold=512k/0 burst-time=1s/0s dst=pppoe-out1 \
limit-at=512k/0 max-limit=512k/0 name="Main Queue" target=192.168.1.0/24
add name=1EM parent="Main Queue" target=192.168.1.40/32
add name="Plug S" parent="Main Queue" target=192.168.1.50/32
add burst-limit=128k/2M burst-time=1s/1s max-limit=128k/2M name="Galaxy J7" \
parent="Main Queue" target=192.168.1.248/32
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\
sword,web,sniff,sensitive,api,romon,dude,tikapp"
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add comment=defconf disabled=yes interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface detect-internet
set detect-interface-list=all
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=pppoe-out1 list=WAN
add interface=ether3 list=WAN
/interface wireless access-list
add interface=wlan1 mac-address=hide
add interface=wlan1 mac-address=hide
add interface=wlan1 mac-address=hide
add interface=wlan1 mac-address=hide
add interface=wlan1 mac-address=hide
add comment=OnStep interface=wlan1 mac-address=hide
/ip address
add address=192.168.5.2/24 interface=ether1 network=192.168.5.0
add address=192.168.0.2/24 interface=ether3 network=192.168.0.0
add address=192.168.1.1/24 interface=bridge network=192.168.1.0
/ip dhcp-server lease
add address=192.168.1.151 comment="Klima Daikin" mac-address=\
hide server=defconf
add address=192.168.1.248 client-id=1:hide mac-address=\
hide server=defconf
add address=192.168.1.120 client-id=1:hide comment=\
"Roborock S5max" mac-address=hide server=defconf
add address=192.168.1.158 client-id=1:hide mac-address=\
hide server=defconf
add address=192.168.1.152 client-id=1:hide mac-address=\
hide server=defconf
add address=192.168.1.20 client-id=1:hide mac-address=\
hide server=defconf
add address=192.168.1.150 client-id=Withings mac-address=hide \
server=defconf
add address=192.168.1.160 client-id=1:hide mac-address=\
hide 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=1.1.1.1,8.8.8.8,192.168.1.1
/ip dns static
add address=192.168.1.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment=\
"defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related disabled=yes
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
add action=drop chain=forward layer7-protocol="Amazon Update" protocol=tcp \
src-port=80,443
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
/ip route
add check-gateway=ping distance=20 gateway=192.168.0.1
/ip service
set telnet disabled=yes
set ssh disabled=yes
/system clock
set time-zone-name=Europe/Zagreb
/system logging
add topics=wireless,debug
/tool graphing interface
add interface=pppoe-out1
/tool graphing queue
add simple-queue=1EM
add simple-queue="Galaxy J7"
add simple-queue="Main Queue"
add simple-queue="Plug S"
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool netwatch
add disabled=yes down-script="/interface ethernet disable ether1 \
\n\r\
\n /interface ethernet enable ether1" host=213.191.128.9 interval=8s \
timeout=2s
/tool traffic-monitor
add interface=bridge name=tmon1
|
|
|