![]() ![]() That's what happens when I try to retrieve the main page of .Īs you see, it works. ![]() Yes, I know, the table is not especially clean, I'm sorry. This is my proof-of-concept setup, the cable that goes out of the picture is powering the Pi. The result is the new version of InterNestor you all know and a document explaining how to configure the Pi. Compile that custom stunnel for the Raspberry Pi (yeah, that was a feat on itself!).Issue a pull request for stunnel (which luckily is written in plain C!) so that it supports SOCKS+TLS the way I needed.Add support for SOCKS to InterNestor Lite.Research and learn how to configure a Raspberry Pi as an Ethernet-to-WiFi bridge.So I began to work, and in a little less than two months I managed to: What it does is to use TLS to encrypt the connection with the client (the MSX in this case), and connect to the server (with the TLS enforcing service) using plain TCP. But there was another not-so-obvious problem: the official stunnel doesn't support SOCKS the way I needed. The obvious problem with the stunnel+SOCKS approach was that I needed to modify InterNestor Lite to support SOCKS. I discovered that the SOCKS protocol, supported by stunnel, would be a great way to improve this and allow transparent TLs support (from the point of view of the MSX) but that came with a catch too. But it's a cumbersome process since you need to configure each and every site you want to TLS-access in stunnel, assigning them custom port numbers and you need to connect to the stunnel machine IP on those custom ports, instead of the real servers you want to connect to, from the MSX. stunnel does a great job at providing indirect support for TLS, and I used that trick in the past for MSX Trivial Dropbox.Some configuration is needed (DHCP and IP tables, basically). You can't just connect a thing via Ethernet and magically have that thing use the Pi's WiFi for internetworking.Duh! No problem, USB adapters exist and are cheap (4€ in eBay for example). The Pi Zero doesn't have any Ethernet port.Only after making the purchase I discovered that it wasn't going to be that easy. Then a weird idea crossed my mind: couldn't I just connect this thing to my MSX using an Ethernet cable, and then magically get Internet access via WiFi, and perhaps even somehow (hint: stunnel) get support for TLS connections in the process? Not yet knowing the answer to these questions I bought the thing, you know, before I could give myself the opportunity to change my mind. Yep, a Raspberry Pi Zero W starter kit, complete with power source, OTG cable, SD card with Rapsbian and a nice case. And that's what catched my eye this time in one of these: I've been recently to Osaka for holidays, and one of the typical tourist activities I do when I'm there is to visit electronics shops, of course. Here's an updated version, using smaller and cheaper hardware, and the story of how I got there. Back in 2011 I published a post in which I explained how I got Internet on my MSX via WiFi, by using an ObsoNET and a router with wireless access point capabilities.
0 Comments
Leave a Reply. |