|
========================= retroTunnel 1.3 by C.S. Allin copyright 2026 Visit my cool website at: http://tilde.club/~cslug retroTunnel is released under the C.S. Allin retroTunnel License 1.0. See license.txt for more details. ======================== ----------------------- Q. What is retroTunnel? retroTunnel enables filesharing between retro computers and modern computers using nothing but web server running PHP, a LAN connection, and a web browser made after around 1995. No fumbling around with arcane networking software or swapping USB drives or SD cards back and forth. These low requirements also make it extremely platform agnostic. Want to share between Windows 11 and MacOS 7.5? Sure! Or Linux and Windows 98? Go for it! retroTunnel also incorporates a proxy that I worked much too hard on. It allows retro computers to access HTTPS sites, DuckDuckGo, Dictionary.com, Thesaurus.com, Gamefaqs, Project Gutenberg, The Geocities Gallery, Shmuplations, selected Protoweb sites, Wikipedia(via Protoweb), VogonsDrivers, Kontek's IGN hosted sites archive, Qauddicted's Gamespy archive, the Archive.org search engine, and the Wayback Machine. It includes some fun links to classic websites like tsr's NES archive, too. Once you try retroTunnel, you'll have no idea how you ever lived without it. ------------------------------------------- Q. Okay, so how do I make retroTunnel work? You need to run PHP and a web server(preferably Apache) on your modern computer, and also enable internet connection sharing via ethernet. Make sure PHP has the GD image processing library and CURL installed. Don't worry, these are probably installed by default. Many Linux distros and macOS already ship with Apache and PHP. Installing them on Windows isn't difficult and you can find a tutorial on PHP's official website here: https://www.php.net/manual/en/install.windows.php On your retro computer, all you need is ethernet and a web browser that's new enough to understand file uploads. "New enough" means something on par with Netscape 3.0. Although I say ethernet is required, wifi probably works as well, assuming both computers have it. Basically, you just need internet connection sharing over some sort of LAN. ----------------------------- Q. How do I configure Apache? It's better if you already know how to configure both Apache and PHP because I'm bad at writing instructions. But I'll try to explain it. Locate the Apache configuration file httpd.conf and open it. Find some lines that look kind of like this: #LoadModule rewrite_module libexec/apache2/mod_rewrite.so #LoadModule php5_module libexec/apache2/libphp5.so # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride None And change them in to lines that look kind of like this: LoadModule rewrite_module libexec/apache2/mod_rewrite.so LoadModule php5_module libexec/apache2/libphp5.so # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride All I say "kind of" because these lines will likely be different in your httpd.conf file. Instead of "libphp5.so" you'll probably have something like "libphp8.so", and "libexec/apache2" might be something else. Now find DocumentRoot and WRITE DOWN WHAT IT SAYS. Apache serves webpages from this directory. retroTunnel needs to be installed there. Start or restart Apache. If you're using macOS and you find it can't restart, open Activity Monitor, find the process httpd with the user "root", and force quit it. Then try restarting Apache again with the Terminal command apachectl graceful. -------------------------- Q. How do I configure PHP? Locate the PHP configuration file php.ini and open it. If it doesn't exist then look for php.ini.default, copy it, and rename it to php.ini. Set the following values: file_uploads = On upload_max_filesize = 1000M max_execution_time = 3600 max_input_time = 3600 These settings give your retro computer 1 hour(3600 seconds) to upload a file to your modern computer, and 1 hour to download a file through the HTTPS proxy before timing out. It also caps upload sizes to 1 gigabyte. Optionally, you can raise memory_limit. Do this if you find downloads are being cut off. Once you're done editing php.ini, start or restart Apache. ----------------------------------------- Q. But where are httpd.conf and php.ini!? It varies by platform. On older versions of macOS they should be in /etc/apache2 and /etc, respectively. They might be in the same locations under newer versions of macOS too, but I can't vouch for it. I can't vouch for Windows or Linux, either. You'll find them. Somewhere. ------------------------------------------------------- Q. Alright, now how do I install and setup retroTunnel? Extract rt1p3ReadTheReadme.zip to the DocumentRoot directory, whatever it is. If you're using macOS or Linux(or Windows? I'm out of the loop), then your web server needs to have READ AND WRITE PERMISSIONS for DocumentRoot/rt. Make sure it has them. Now enable internet sharing via ethernet if you haven't done so already. Connect the two computers using a physical ethernet cable(or wifi, maybe). On your old computer, create a TCP/IP to Ethernet bridge if the operating system doesn't automatically do it for you. Windows 95 and Mac OS 7.5 can both do this out of the box, albeit they require some manual configuration. Open a web browser on your old computer, type 192.168.2.1/rt in the address bar(or whatever your modern computer's IP address on the LAN is). Hit enter. Congratulations, your retro computer is now connected to retroTunnel! There's one final step, though. See how retroTunnel asks you to click a link in order to set up its sub-directories? Yeah, click the link. This will create the sub-directories rt/wb, rt/guten, rt/myFilters, rt/myFilters/0, rt/myFilters/1, rt/myFilters/2, rt/InboxRT, and rt/OutboxRT with the correct permissions. And that's it! You're done! I wish retroTunnel required less setup but I think it's well worth the effort, and I'm not just saying that because I spent a year of my life making retroTunnel 1.3. Once you overcome the difficulty of setting it up, it makes everything so amazingly simple. ------------------------------------------- Q. What are OutboxRT and InboxRT? These are retroTunnel's file sharing directories. When you upload a file from your retro computer to your modern computer, it appears in InboxRT. When you want to transfer a file from your modern computer to your retro computer, you put it in OutboxRT. I recommend putting shortcuts to InboxRT and OutboxRT in your modern computer's Dock, or Taskbar, or whatever to make them easy to access. ------------------------------------------- Q. How can I find out my modern computer IP address on the LAN? This differs from platform to platform so I can't really say. But if your retro computer is running Windows 9x then there's one very easy way to do it. Just open an MS-DOS prompt and type ipconfig. The Default Gateway will list your modern computer's IP. Ignore anything that says 0.0.0.0. ------------------------------------------- Q. Does retroTunnel support multiple users? Yes. Sort of. Multiple users can't use the same retroTunnel installation, but each user can have his or her own retroTunnel installation. And by "user" I mean someone you live with. retroTunnel is intended to be run on a home LAN. Users can also share files with each other(see shareTutorial.txt or go to Sharing Setup in retroTunnel), and retroTunnel features rudimentary user security, which can lock a specific retroTunnel installation to a specific IP address or addresses. But if the people you live with are so untrustworthy that you feel the need to use IP locks, then you really shouldn't let them use retroTunnel to begin with. To create multiple retroTunnel installations, just put another copy of retroTunnel in the DocumentRoot directory. ------------------------------------------- Q. How do I share files? Read shareTutorial.txt or go to Sharing Setup in retroTunnel and click the explanation. ------------------------------------------- Q. How do I lock a retroTunnel installation to an IP address? Create a file named ip.txt in your retroTunnel installation. Put an IP address in it, or multiple IP addresses, each on a separate line. Save. ------------------------------------------- Q. What's up with the Wayback Machine "mini-proxy"? The Wayback Machine was once strong and robust, but unfortunately it's become extremely fragile over the years, and now it breaks when most retro computers try to use it. I created the mini-proxy in an attempt to remedy this. The mini-proxy is far from perfect and lacks certain functionality(it doesn't play well with plugins like Flash), but it does enable the Wayback Machine to function on retro computers without completely breaking. It also saves pages to a cache, so once you download a page you'll never have to download it again. This doesn't mean the Wayback Machine will never break. But it does substantially reduce the chances of it breaking. To further reduce the chances, don't navigate pages too quickly. Click a link, wait a few seconds, then click the next one. The easier you take it, the happier the Wayback Machine will be. Multiple retroTunnel users can and should use a shared Wayback Machine cache. See the sharing tutorial for more details. Also, due to its caching mechanism, pages will load slowly through the mini-proxy because it downloads all the images prior to displaying a page. So if a page seems to be taking forever to load, don't assume something has gone wrong. Don't hit stop, back, or reload. Just give it time. ------------------------------------------- Q. Can I modify retroTunnel? See license.txt. That said, you can create your own "filters" to alter websites and make them compatible with old web browsers. See myFilters.txt. It explains the filter mechanism. ---------------------------------- Q. A website broke! What happened? If a website changes its HTML code then the proxy will stop rendering it properly. If this happens, and I notice it, I'll update retroTunnel. ---------------------------------- Q. Hey! How come this webpage has broken links and images when I load it through the proxy?! Because whoever made the webpage wrote some bad HTML like src = image.jpg instead of src="image.jpg" The proxy tries its best to account for bad HTML, but there are infinite ways to screw HTML up so it can't account for everything. This problem only exists because web browsers tolerate HTML errors, which results in people writing error-filled HTML code without even realizing it. After all, if you wrote a webpage and it looked right and worked right, would you think you made any errors? Of course not! But in reality, it's possible that you made all kinds of errors and your web browser is simply hiding them from you. Well, web browsers may have high error tolerance but the proxy doesn't. So that's why certain things break. ---------------------------------- Q. The proxy should load this image correctly, so why isn't it? It's probably a webp or something. If an image isn't a gif or a jpeg, then the proxy tries to convert it to one(unless the PNG and BMP pass-through options are enabled). But certain images refuse to convert and just break instead. This isn't necessarily the fault of the proxy, either. PHP's GD image library is supposed to support webp images but in reality its support for them is pretty spotty. ---------------------------------- Q. Does the proxy work with modern websites? No, not really. Although it might be more accurate to say it does but retro web browsers don't. The proxy will happily load apple.com but don't expect Internet Explorer 4.0 to render it correctly. The proxy also can't handle most PHP or Javascript so that instantly takes the majority of modern websites off the table. If you really want apple.com to work on your iMac from 1998, though, you might be able to write your own filter to make it happen. But the bottom line is that the proxy doesn't make modern websites work on your retro computer. Yes, you can technically go to Twitter or whatever, but it'll be an unusable mess on your browser. ---------------------------------- Q. What are all these images and CSS files in the retroTunnel directory? A lot of Kontek's hosted sites are missing files and have various other errors, so I spent an unreasonable amount of time fixing them. The random seeming files in the retroTunnel directory are mostly the files they were missing. Some of the sites are also totally unreadable without CSS, which is a big problem for browsers without CSS support, so I fixed that too. Sadly, several sites are beyond repair but most of them are now fine. A few of the completely broken ones forward you to Wayback Machine versions because that's better than nothing. Random files also include a couple of censored images from tsr's NES Archive. retroTunnel takes a mild stab at being family friendly and as such I've censored a few things, but don't expect it to censor everything inappropriate. Actually, outside of tsr and three pages on The Geocities Gallery that I happened to run across, it doesn't censor anything. ------------------------------- Q. I think retroTunnel is cool. Can I give you money? Yes! You can donate to me on Ko-fi if you feel like it. Just go to http://tilde.club/~cslug and go to the Donate page. If I make $1 I'll consider that a win. ------------------------------- Q. Is there anything else I should know? Not really. But I don't really know how to end this. Uh, document over. Nothing else to see here. Show's over, folks! -C.S. Allin |