Community discussions

MikroTik App
 
frame77
just joined
Topic Author
Posts: 3
Joined: Tue Feb 09, 2021 3:06 pm

Problem accessing a REST API on wlan1

Wed Feb 10, 2021 11:58 am

Hi,
I am quite new to routerOS and have a problem accessing a REST API (Port 80) on my wireless device.

Basic configuration:
Mikrotik wAP set as wireless client to the device's Hotspot, DHCP Client, on WLAN1. (Device's IP is 192.168.4.1/24, wlan1 has received .2)
Connection is stable and working.
Bridge1 with Eth1, DHCP Client 192.168.1.20, Eth1 Gateway and DHCP server is 192.168.1.1 (my fiber router with intertnet connection)
NAT enabled with wlan1 outside
Routes as shown in winbox:
DAS 0.0.0.0/0 192.168.4.1 reachable wlan1
S 192.168.1.0/24 bridge 1 reachable
S 192.168.1.0/24 192.168.1.1 reachable brigde1
DAC 192.168.1.0/24 bridge1 reachable Pref.Source 192.168.1.20
DAC 192.168.4.0/24 wlan1 reachable Pref.Source 192.168.4.2

Static Route on fiber router is set:
Dest 192.168.4.0/24 Gateway 192.168.1.20

Nexthops are shown in Winbox. (1.1 and 4.1)

Pings work from the raspberryPi at 192.168.1.2 that should connect to the API on 4.1.
Ping and tracert also works from any other device in 1.0/24

However, I don't get responses from the API.

When logged into 4.1's hotspot with my mobile, the API reacts. So this has to be a routing problem, I think?

Access to the API has worked before, no idea why I cannot connect anymore.

What options do I have?
Setting the wAP as bridge would probably lead to problems with DHCP?
config.rsc
Thanks!
You do not have the required permissions to view the files attached to this post.
 
frame77
just joined
Topic Author
Posts: 3
Joined: Tue Feb 09, 2021 3:06 pm

Re: Problem accessing a REST API on wlan1

Fri Feb 12, 2021 11:14 am

No ideas anybody?
 
frame77
just joined
Topic Author
Posts: 3
Joined: Tue Feb 09, 2021 3:06 pm

Re: Problem accessing a REST API on wlan1

Fri Feb 26, 2021 4:48 pm

I've tried starting from scratch with no default config of course. can't get the api to work.
Packet status stays at "syn received".
What am I missing here?

Who is online

Users browsing this forum: ffernandes, gkoleff and 44 guests