can we use ESP8266 as a HTTP bridge between pc and router?
Posted: Fri Dec 26, 2014 2:46 pm
Since it is possible to connect to the ESP via wifi, while the ESP itself is joined to an internet-connected network, will a client be able to gain general internet access while connected to the ESP via wifi - and have the ESP "bridge" the client network and joined network (acting like a router) so that the client will have internet access?
the setup is described in this post:
http://bbs.espressif.com/viewtopic.php? ... ridge#p333
(This is not a question about using the ESP as a transparent UART to wifi bridge)
There are probably various levels of functionality here with varying levels of difficulty.
The most straightforward would be a so-called 'HTTP proxy' which proxies the connection between a client and a router
Maybe simpler is just implementing a SOCKS proxy, which is more difficult for the client, but if limiting to a supporting application such a s browser, would work for that use case.
Probably the most faithful solution, but most difficult, is implementing router-like behavior itself, complete with NAT (network address translation) in order to bridge the inner and outer networks.
the setup is described in this post:
http://bbs.espressif.com/viewtopic.php? ... ridge#p333
(This is not a question about using the ESP as a transparent UART to wifi bridge)
There are probably various levels of functionality here with varying levels of difficulty.
The most straightforward would be a so-called 'HTTP proxy' which proxies the connection between a client and a router
Maybe simpler is just implementing a SOCKS proxy, which is more difficult for the client, but if limiting to a supporting application such a s browser, would work for that use case.
Probably the most faithful solution, but most difficult, is implementing router-like behavior itself, complete with NAT (network address translation) in order to bridge the inner and outer networks.