Restrict access to web server when using modem PPP conection

Ismael
Posts: 14
Joined: Thu Mar 05, 2020 7:35 am

Restrict access to web server when using modem PPP conection

Postby Ismael » Tue Dec 01, 2020 10:07 am

Hello,

I've developing a device that could connect to a server using Wifi, Ethernet or Modem( in PPP mode).
Inside the device there is a simple HTTP (HTTPS in the future) that could be accessible from all three interphases. Due to I'm using >4.X version, netif abstraction make this very easy to implement but in some cases I want to restrict access over one interphase (in 95% of cases it will be over modem to reduce cost of internet data rates).

Is it possible? How can i do it?

Could I bind HTTP server socket only in Wifi and Ethernet?

Thanks.

Ismael
Posts: 14
Joined: Thu Mar 05, 2020 7:35 am

Re: Restrict access to web server when using modem PPP conection

Postby Ismael » Mon Feb 22, 2021 7:54 am

Any idea about if this is possible?
Thanks

Who is online

Users browsing this forum: Baidu [Spider], chrisel, hagronnestad, samyri and 50 guests