[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LwIP - 2 netifs and VPN

From: Sergio R. Caprile
Subject: Re: [lwip-users] LwIP - 2 netifs and VPN
Date: Fri, 13 Jul 2018 10:29:05 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.0

You have two interfaces, one in 10.something and another in 192.168.1.
You can communicate with hosts in either network but you can't be the
one letting the WiFi access "the board" nor "the board" access the WiFi,
that is routing, and lwIP does not route.
Somehow you have built a "gateway" in the ITU-T way, an application
gateway, instead of routing you piped at the application level...

Then you somehow connected something via VPN to something somewhere in
some mode. Then you try to connect other something to that VPN via some
other something I fail to see because you don't describe.

I can only comment some basic stuff then. My best guess was that PPP has
set a default and so you send "the other way", but then I fail to see
why UDP yes and TCP no. Anyway, what you are doing is a hack, ad hoc,
and not very flexible. If it works for you, fine, but I think you need
If you need to route, then you have to use some ad hoc hooks. Search the
list, Simon has already answered some routing hook questions before.
I can't help you here, and be aware that the ESP8266 TCP/IP is a
proprietary patched stack, forked some time in the 1.4.1 days of yore,
perhaps older. So... your mileage may (will) vary.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]