Community discussions

MikroTik App
 
xt22
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 75
Joined: Tue Jul 14, 2015 1:16 pm

Bandwidth test on public ip

Wed Oct 17, 2018 1:42 pm

Hello,

I have two routers (both 6.40.8, I tried also 6.42.9) with two public ips, want to test bandwidth but I can't make the damn thing work, it keeps saying can't connect.
No matter if I select TCP, UDP, with or without authentication..
Mikrotik does not say anything specific about ports to open in firewall (only starting from UDP 2000 which may be anything), and, in some port list
there is TCP 2000. Anyway, to make it easier, both routers allow all traffic from the other one's ip.

So - I have two routers with public ips, internet working, no outbound rules. First firewall rule on both devices allows all traffic from the other one:
0 chain=input action=accept src-address=xx.xx.xx.xx in-interface=ether1-gateway log=yes log-prefix=""

btest server:
/tool bandwidth-server print
enabled: yes
authenticate: no
allocate-udp-ports-from: 2000
max-sessions: 100
btest client:
/tool bandwidth-test xx.xx.xx.xx duration=15s direction
=both local-udp-tx-size=1000 protocol=udp remote-udp-tx-size=1000
status: can not connect
duration: 0s
tx-current: 0bps
tx-10-second-average: 0bps
tx-total-average: 0bps
rx-current: 0bps
rx-10-second-average: 0bps
rx-total-average: 0bps
lost-packets: 0
random-data: no
direction: both
tx-size: 1000
rx-size: 1000
there seems to be some communication, on the btest-server I can see
12:12:23 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (SYN), yy.yy.yy.yy:41344->xx.xx.xx.xx:2000, len 60
12:12:23 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK), yy.yy.yy.yy:41344->xx.xx.xx.xx:2000, len 52
12:12:23 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK), yy.yy.yy.yy:41344->xx.xx.xx.xx:2000, len 52
12:12:33 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK,FIN), yy.yy.yy.yy:41344->xx.xx.xx.xx:2000, len 52

12:12:58 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (SYN), yy.yy.yy.yy:41345->xx.xx.xx.xx:2000, len 60
12:12:58 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK), yy.yy.yy.yy:41345->xx.xx.xx.xx:2000, len 52
12:12:58 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK), yy.yy.yy.yy:41345->xx.xx.xx.xx:2000, len 52
12:13:08 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK,FIN), yy.yy.yy.yy:41345->xx.xx.xx.xx:2000, len 52

12:15:04 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (SYN), yy.yy.yy.yy:41346->xx.xx.xx.xx:2000, len 60
12:15:04 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK), yy.yy.yy.yy:41346->xx.xx.xx.xx:2000, len 52
12:15:04 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK), yy.yy.yy.yy:41346->xx.xx.xx.xx:2000, len 52
12:15:14 firewall,info input: in:ether1-gateway out:(none), src-mac --, proto TCP (ACK,FIN), yy.yy.yy.yy:41346->xx.xx.xx.xx:2000, len 52
but that's all, always ends with can not connect. Am I doing anything wrong, or is that btest function somewhat buggy?
Thanks

Who is online

Users browsing this forum: GoogleOther [Bot], haung05, infabo and 136 guests