Page 1 of 1

Random Websites Will Not Load, Reset requiered

Posted: Sat Sep 09, 2023 6:55 pm
by wmoralesc1
Hello friends, I am new to mikrotik and I set up a ccr2004-16g-2s+ a week ago, but ever since I installed the new router
I started having connection problems, I can't access several sites like Facebook, Gmail, YouTube, OneDrive and more. I am using zerotier and the default configuration, all ports are in brigde mode. Additionally, I use a tp link switch.
It fixes if I restart the router I've been doing that every day but I can't be doing that all the time

I would really appreciate your help I anyone knows something about it, I am new to mikrotik and I don't have a lot of experience

Re: Random Websites Will Not Load, Reset requiered

Posted: Sun Sep 10, 2023 1:05 am
by IlKa
First try to ping website and connect to port 80. You might find DNS problems (i.e "hostname not found") or connection could be succeed. In this case there might be browser problems.

Linux/MacOS
$ ping facebook.com
$ telnet facebook.com 80


Windows PowerShell
PS C:\> ping facebook.com
PS C:\> tnc facebook.com
PS C:\> tnc facebook.com -Port 80


Then, try it directly from your router.
Router> /tool/ping facebook.com
Router> /system/telnet facebook.com port=80
I am not familiar with zerotier, but I'd also check the number of network connections going through your router.
Router> /ip firewall connection print
https://wiki.mikrotik.com/wiki/Manual:I ... n_tracking

How many connections are there? How much of them are for particular website?

Re: Random Websites Will Not Load, Reset requiered

Posted: Sun Sep 10, 2023 6:55 am
by k6ccc
Without knowing your configuration, we are guessing. Please post a network drawing (or at least a GOOD description of what it connected to what), and a configuration export.
To export and paste your configuration (and I'm assuming you are using WebFig or Winbox), open a terminal window,
and type (without the quotes) "/export hide-sensitive file=any-filename-you-wish". Then open the files section
and right click on the filename you created and select download in order to download the file to your computer.
It will be a text file with whatever name you saved to with an extension of .rsc. Open that file in your favorite
text editor and redact any sensitive information if desired / needed. Then in your message here, click the code
display icon in the toolbar above the text entry (the code display icon is the 7th one from the left and looks
like a square with a blob in the middle). Then paste the text from the file in between the two code words in brackets.

Re: Random Websites Will Not Load, Reset requiered

Posted: Mon Sep 11, 2023 6:28 pm
by wmoralesc1
Hello again this morning happened again, this time only whatsapp did not work after rebooting it worked, thanks for the help
this is the current configuration
# 2023-09-11 08:48:28 by RouterOS 7.11
# software id = J2E8-LWWR
#
# model = CCR2004-16G-2S+
# serial number = HEX
/interface bridge
add name=bridge1
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.100.20-192.168.100.254
/ip dhcp-server
add address-pool=dhcp interface=bridge1 lease-time=10m name=dhcp1
/port
set 0 name=serial0
set 1 name=serial1
/zerotier
set zt1 comment="ZeroTier Central controller - https://my.zerotier.com/" \
    name=zt1 port=9993
/zerotier interface
add instance=zt1 name=zerotier1 network=3efa5
add allow-default=no allow-global=no allow-managed=yes disabled=yes instance=\
    zt1 name=zerotier2textiles network=8286
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether6
add bridge=bridge1 interface=ether7
add bridge=bridge1 interface=ether8
add bridge=bridge1 interface=ether9
add bridge=bridge1 interface=ether10
add bridge=bridge1 interface=ether11
add bridge=bridge1 interface=ether12
add bridge=bridge1 interface=ether13
add bridge=bridge1 interface=ether14
add bridge=bridge1 interface=ether15
add bridge=bridge1 interface=ether16
add bridge=bridge1 interface=sfp-sfpplus2
add bridge=bridge1 interface=sfp-sfpplus1
add bridge=bridge1 disabled=yes interface=ether1
/interface list member
add interface=ether1 list=WAN
add list=LAN
add interface=bridge1 list=LAN
/ip address
add address=192.168.100.1/24 comment=defconf interface=bridge1 network=\
    192.168.100.0
/ip dhcp-client
add interface=bridge1
add interface=ether1
/ip dhcp-server lease
add address=192.168.100.20 comment="Invex" mac-address=\
    38:60:77
add address=192.168.100.107 comment="HP" mac-address=\
    10:60:4B
/ip dhcp-server network
add address=0.0.0.0/24 dns-server=0.0.0.0 gateway=0.0.0.0 netmask=24
add address=192.168.100.0/24 dns-server=192.168.1.1,8.8.8.8,1.1.1.1 gateway=\
    192.168.100.1 netmask=24
/ip dns
set servers=190.122.184.5,8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1 out-interface-list=\
    WAN
add action=accept chain=srcnat disabled=yes
/ip route
add comment="dvr2 bodega" disabled=no distance=1 dst-address=192.168.1.53/32 \
    gateway=192.168.100.23 pref-src="" routing-table=main scope=30 \
    suppress-hw-offload=no target-scope=10
add comment="dvr mayoreo" disabled=no distance=1 dst-address=192.168.1.26/32 \
    gateway=192.168.100.30 pref-src="" routing-table=main scope=30 \
    suppress-hw-offload=no target-scope=10
/system clock
set time-zone-name=America/Guatemala
/system identity
set name="Central CloudCore"
/system note
set show-at-login=no
/system routerboard settings
set enter-setup-on=delete-key
/system scheduler
add interval=1d name=Reinicio_Mikrotik on-event="/system reboot" policy=\
    reboot,read,write,policy,test,password,sniff,sensitive start-date=\
    2023-09-06 start-time=06:00:00


Re: Random Websites Will Not Load, Reset requiered

Posted: Wed Sep 27, 2023 8:29 pm
by wmoralesc1
Hi again, after a lot of time searching for the solution I found out that the router of my ISP was faulty so they replaced it, and it worked I no longer have this problem loading web pages