1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-23 02:28:05 +11:00
OC-Minitel/vTunnel
2018-04-15 22:16:15 +10:00
..
OpenOS/etc/rc.d Turned vtunnel into a daemon 2018-04-15 22:16:15 +10:00
bridge.lua made the vtunnel bridge output more useful information 2018-04-06 17:57:45 +10:00
interminitel.lua moved vtunnel to the right place 2018-04-05 23:51:11 +10:00
README.md added vtunnel to oppm 2018-04-06 17:09:21 +10:00
vtunnel-protocol.md bridge improvements, mostly configuration 2018-04-06 16:51:45 +10:00

vTunnel - TCP-based Linked Card Emulator

vTunnel can be used to add bridging over the internet to any existing OpenOS software that uses linked cards.

Despite originally being written for Minitel, vTunnel implements a fully-functional linked card emulator and a server that will run under most unix-likes (OpenBSD is currently somewhat flaky, Linux is recommended).

The protocol is documented here

Setup

Server

Requirements

  • Some form of unix-like
  • Lua 5.2 or 5.3
  • Luasocket

Running the server

At present, all you need to do is run bridge.lua, for example:

lua53 bridge.lua [port] [timeout]

Client

OPPM

oppm install vtunnel

Manual

  1. Install vtunnel.lua to /usr/bin
  2. Install interminitel.lua to /usr/lib

Starting

vTunnel is invoked as follows:

vtunnel <server address> <server port> [poll timer] [keepalive timer]

This will create a virtual linked card component connected to server_address:server_port

Minitel configuration

  1. Disable minitel with rc - rc minitel disable
  2. Add the following to your .shrc:
vtunnel <server address> <server port> [poll timer] [keepalive timer]
rc minitel start