Community discussions

MikroTik App
 
Niki28
just joined
Topic Author
Posts: 4
Joined: Fri Oct 21, 2022 8:36 am

Get Firewall Connections using REST API

Thu Jan 12, 2023 8:25 am

Hello,

I wanna get the active firewall connections using the REST API but
https://192.168.1.1/rest/ip/firewall/connection/print
doesn't work(Bad Request)
Does somebody know the right Request Link to get all the current connections?

Thanks in advance
 
zainarbani
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Thu Jul 22, 2021 9:42 am
Location: Pati, Indonesia

Re: Get Firewall Connections using REST API

Fri Jan 20, 2023 7:34 pm

curl -k -u admin:password https://hostname/rest/ip/firewall/connection?confirmed=yes

Who is online

Users browsing this forum: No registered users and 33 guests