Community discussions

MikroTik App
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

750G download speed very slow

Thu Oct 22, 2020 2:58 pm

i'm new for mikrotik device, recently just setup unifi fibre internet for my company. Just start using this device and not configure firewall and use default. Only setup few NAT but before setup NAT the download speed already just around 3-6mbps but upload speed up to 30mbps, my default download speed should be 100mbps for download and upload. Before using pfsense don't have this issues. please recommend some solution for me. thank you.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19380
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: 750G download speed very slow

Thu Oct 22, 2020 5:25 pm

Post you config
/export hide-sensitive file=anynameyouwish

Just ensure you scrub your wanip if stated anywhere.
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Fri Oct 23, 2020 8:20 pm

This is the export file
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Fri Oct 23, 2020 8:21 pm

this is the export file
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11629
Joined: Thu Mar 03, 2016 10:23 pm

Re: 750G download speed very slow

Fri Oct 23, 2020 8:56 pm

Setup is dangerous because firewall is virtually non-existant, not protecting neither router itself nor LAN. Setup is dangerous because router is running ancient version of ROS (5.4). Setup is slow because it's got queues set up which are CPU intensive and your device is no speed monster.


My suggestion: netinstall router with recent version of ROS (long-term 6.46.7 should be fine), reset configuration to factory default, upgrade routerboot as well (/system routerboard upgrade after new ROS boots up). Then start off customizing router, but keep default config as a very decent starting point (don't just follow some random youtube tutorial, those are mostly useless or plain wrong).
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Fri Oct 23, 2020 9:38 pm

Thank you for you suggestion, i will try neinstall for version ROS. When upgrade already how to configure the firewall for more protecting for LAN and router. I'm new for mikrotik, and not familiar for the setup. Please give me some example or suggestion, thank you very much.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19380
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: 750G download speed very slow

Fri Oct 23, 2020 9:45 pm

When back up with a fresh install of the latest stable ROS (better than the last one released IMHO). Then return here post your config and requirements and will help at that time.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11629
Joined: Thu Mar 03, 2016 10:23 pm

Re: 750G download speed very slow

Fri Oct 23, 2020 10:06 pm

When upgrade already how to configure the firewall for more protecting for LAN and router.
As I already wrote: default config which comes with recent versions of ROS, is decent config. Just be sure that "Keep old configuration" is not checked. As result, your device will be as if it came out of factory and initial step of configuring Routerboard device is to set basic working mode. While doing it, default configuration is applied and that default configuration includes decent firewall settings.
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Sun Oct 25, 2020 9:55 am

Setup is dangerous because firewall is virtually non-existant, not protecting neither router itself nor LAN. Setup is dangerous because router is running ancient version of ROS (5.4). Setup is slow because it's got queues set up which are CPU intensive and your device is no speed monster.


My suggestion: netinstall router with recent version of ROS (long-term 6.46.7 should be fine), reset configuration to factory default, upgrade routerboot as well (/system routerboard upgrade after new ROS boots up). Then start off customizing router, but keep default config as a very decent starting point (don't just follow some random youtube tutorial, those are mostly useless or plain wrong).
I'm testing use the netinstall for the 750g but the netinstall not running. I have check other thread need using 3.29 version of the mikrotik. May i know how can i do for it ?
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Sun Oct 25, 2020 10:05 am

i think i can reset it already, sorry for no see clear the instruction, net hold the button until LED light off.
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Sun Oct 25, 2020 11:28 am

This is new upgrade the 750 device without any firewall and just 1 addon NAT configure. But the internet same slow, and may i know the firewall and LAN protection is enough for it ?
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11629
Joined: Thu Mar 03, 2016 10:23 pm

Re: 750G download speed very slow

Sun Oct 25, 2020 12:48 pm

This is not default setup, it seems that it was transferred over from old config. You have to reset it to factory default. Log in via WebFix (using web browser), click "Quick Set" button top right, then click "Reset configuration" in lower right area. Reboot device (if it doesn't do it itself). Then test performance again.

The problem with current config is that firewall is actually set up (even though only to protect router itself), but for that, connection tracking runs and connection tracking is pretty CPU intensive operation. In ROS there exists a feature called "fast track" which causes most packets to bypass most of firewall processing, but it's not enabled in your setup. You could enable it (it's simple to do it, but not trivial), but as you would really benefit from full default configuration, I strongly advise you to do factory reset before we move further.
After you do reset to factory defaults, study firewall rules to get acquainted to the philosophy ... before you set up NAT rules. While you could verbatim copy-paste current NAT rule, they (both) are not most effective. You'll notice that new default heavily uses interface lists ... if your WAN interface (pppoe-client) does not land in WAN interface list, add it manually. Which will make your personal src-nat rule redundant because the default rule will cover it. Similarly dst-nat rule could be rewritten to use in-interface-list instead of dst-address ... but that depends on whether you want to access your wlan camera through WAN IP also from LAN. If you want that, then your current dst-nat rule is just fine.
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Sun Oct 25, 2020 2:26 pm

This is not default setup, it seems that it was transferred over from old config. You have to reset it to factory default. Log in via WebFix (using web browser), click "Quick Set" button top right, then click "Reset configuration" in lower right area. Reboot device (if it doesn't do it itself). Then test performance again.

The problem with current config is that firewall is actually set up (even though only to protect router itself), but for that, connection tracking runs and connection tracking is pretty CPU intensive operation. In ROS there exists a feature called "fast track" which causes most packets to bypass most of firewall processing, but it's not enabled in your setup. You could enable it (it's simple to do it, but not trivial), but as you would really benefit from full default configuration, I strongly advise you to do factory reset before we move further.
After you do reset to factory defaults, study firewall rules to get acquainted to the philosophy ... before you set up NAT rules. While you could verbatim copy-paste current NAT rule, they (both) are not most effective. You'll notice that new default heavily uses interface lists ... if your WAN interface (pppoe-client) does not land in WAN interface list, add it manually. Which will make your personal src-nat rule redundant because the default rule will cover it. Similarly dst-nat rule could be rewritten to use in-interface-list instead of dst-address ... but that depends on whether you want to access your wlan camera through WAN IP also from LAN. If you want that, then your current dst-nat rule is just fine.
I have follow you say reset the configuration and setup for it, starting the network would't get the internet but pppoe get connection. the configure attachment is "default' after add NAT rules then can get internet "default2"
You do not have the required permissions to view the files attached to this post.
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Sun Oct 25, 2020 2:29 pm

For now the firewall only have one rules default, it's correct ?
 
erlinden
Forum Guru
Forum Guru
Posts: 1964
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: 750G download speed very slow

Sun Oct 25, 2020 2:52 pm

Not sure if the default configuration is correct, herewith the default firewall rules:
/ip firewall filter
add action=accept chain=input comment="accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="drop invalid" connection-state=invalid
add action=accept chain=input comment="accept ICMP" protocol=icmp
add action=drop chain=input comment="drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="drop invalid" connection-state=invalid
add action=accept chain=forward comment="accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="accept out ipsec policy" ipsec-policy=out,ipsec
add action=drop chain=forward comment="drop all from WAN not DSTNATed" connection-nat-state=!dstnat in-interface-list=WAN
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19380
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: 750G download speed very slow

Sun Oct 25, 2020 3:31 pm

For now the firewall only have one rules default, it's correct ?
No it is not correct - although I have no idea why MT would not include the default firewalls on new releases even for old equipment.

Did you use netinstall to work with the latest long term version of firmware?
OLD 750 unit is MIPSBE
Newer 750Gr3 is MMIPS

Probably time to upgrade your equipment that thing you have is ancient.
Last edited by anav on Sun Oct 25, 2020 4:43 pm, edited 2 times in total.
 
tdw
Forum Guru
Forum Guru
Posts: 1855
Joined: Sat May 05, 2018 11:55 am

Re: 750G download speed very slow

Sun Oct 25, 2020 4:33 pm

MMIPS for 750G, Long term version.
MMIPS is only for the 750Gr3 (second version of the hEX). The original 750G, which the OP has, and the 750Gr2 (first version of the hEX) are MIPSBE.

The /system routerboard settings set cpu-frequency=150MHz will be reducing the performance, it should be several times greater by default.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19380
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: 750G download speed very slow

Sun Oct 25, 2020 4:38 pm

MMIPS for 750G, Long term version.
MMIPS is only for the 750Gr3 (second version of the hEX). The original 750G, which the OP has, and the 750Gr2 (first version of the hEX) are MIPSBE.

The /system routerboard settings set cpu-frequency=150MHz will be reducing the performance, it should be several times greater by default.
Thanks TDW I will edit my post accordingly...........
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Wed Oct 28, 2020 10:37 am

Not sure if the default configuration is correct, herewith the default firewall rules:
/ip firewall filter
add action=accept chain=input comment="accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="drop invalid" connection-state=invalid
add action=accept chain=input comment="accept ICMP" protocol=icmp
add action=drop chain=input comment="drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="drop invalid" connection-state=invalid
add action=accept chain=forward comment="accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="accept out ipsec policy" ipsec-policy=out,ipsec
add action=drop chain=forward comment="drop all from WAN not DSTNATed" connection-nat-state=!dstnat in-interface-list=WAN


i try to add the filter rules but for below command need configure add new policy at IPSEC also ?

add action=accept chain=forward comment="accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="accept out ipsec policy" ipsec-policy=out,ipsec
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Wed Oct 28, 2020 10:41 am

For now the firewall only have one rules default, it's correct ?
No it is not correct - although I have no idea why MT would not include the default firewalls on new releases even for old equipment.

Did you use netinstall to work with the latest long term version of firmware?
OLD 750 unit is MIPSBE
Newer 750Gr3 is MMIPS

Probably time to upgrade your equipment that thing you have is ancient.
Already successful NETINSTALL now the v6.47.6 MIPSBE, i try to setup the mikrotik but the download speed and upload speed around 5mbps-8mbps look like internet slow. The mikrotik is configure vlan500 for pppoe setup, may i know need to do bridge ?
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Wed Oct 28, 2020 10:59 am

I also get the error message from RounterBoard
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11629
Joined: Thu Mar 03, 2016 10:23 pm

Re: 750G download speed very slow

Wed Oct 28, 2020 11:43 am

According to product brochure, "native" CPU frequency is 680MHz. If it's not set to that value, change it (/system routerboard set cpu-frequency=680MHz). Before doing it, you may want to check current setting (/system resource print) to see if changing it to default is likely to improve things much.
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Mon Nov 02, 2020 4:18 pm

According to product brochure, "native" CPU frequency is 680MHz. If it's not set to that value, change it (/system routerboard set cpu-frequency=680MHz). Before doing it, you may want to check current setting (/system resource print) to see if changing it to default is likely to improve things much.
thank you very much for this, now the speeed is back to normal.
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Mon Nov 02, 2020 4:20 pm

Please help me check the file configure is correct ? i really not understand for the configure.
You do not have the required permissions to view the files attached to this post.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19380
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: 750G download speed very slow

Mon Nov 02, 2020 5:28 pm

You have a very different wan connection.
dont see the pppoe interface defined but here is what I would do.

/interface list member
add interface=WUM-Unifi list=WAN
add interface=ether1 list=wan
add interface=vlan.500 list=wan
add interface=pppoe interface (if there is one) list=wan


Then you can do this more easily.
From
/ip firewall nat
add action=masquerade chain=srcnat disabled=yes out-interface=ether1
add action=masquerade chain=srcnat out-interface=WUM-Unifi
To
/ip firewall nat
add action=masquerade chain=srcnat disabled=yes out-interface-list=WAN

Can you confirm that all your port forwarding works as desired??
 
johnchon
just joined
Topic Author
Posts: 16
Joined: Thu Oct 22, 2020 10:16 am

Re: 750G download speed very slow

Wed Nov 04, 2020 12:32 pm

You have a very different wan connection.
dont see the pppoe interface defined but here is what I would do.

/interface list member
add interface=WUM-Unifi list=WAN
add interface=ether1 list=wan
add interface=vlan.500 list=wan
add interface=pppoe interface (if there is one) list=wan


Then you can do this more easily.
From
/ip firewall nat
add action=masquerade chain=srcnat disabled=yes out-interface=ether1
add action=masquerade chain=srcnat out-interface=WUM-Unifi
To
/ip firewall nat
add action=masquerade chain=srcnat disabled=yes out-interface-list=WAN

Can you confirm that all your port forwarding works as desired??
i will try configure this setting this week for the mikrotik. Currently the connection is working well.

Who is online

Users browsing this forum: gigabyte091, patrikg and 84 guests