How do I create a serial tunnel using an ES device?
Serial tunnelling is a feature of Brainboxes Ethernet to Serial range of products allowing two devices to create a serial tunnel which extends the serial link over an Ethernet connection. When serial data is sent, it is converted to Ethernet packets by one Ethernet to Serial device, and then transmitted over the network, then unpacked and converted back to serial data by the other Ethernet to Serial device.
In order to set up serial tunnelling, there will be two devices. One device will initiate and connect to the other device.
To set up serial tunnelling follow the steps below.
- Open the configuration page of the Local Brainboxes ED device using a web broswer.
- Navigate to the page of the serial port you want to use to tunnel.
- At the bottom of this web page is the device tunnelling section.
- To connect tunnelling tick the "Enable" checkbox. Enter the Remote IP Address and Remote TCP Port number of the ES device you want to connect to.
- Click the "Apply Changes" button and you will be taken to a page which will display a success page. You will be redirected to the port page after the countdown timer has finished.
- The devices will now be in tunnelling mode.
- On the local device port webpage you will see the device tunnelling section with two buttons, "Disconnect" and "Stop Tunelling". The "Stop Tunnelling" button will disconnect the ports on the remote and local side and put both of the devices to an idle state. If the "Disconnect" button is clicked the remote side port will be disconnected and go into the idle state, but the local side will remain tunnelling mode.
- On the remote device web configuration page, the serial port that is tunnelling will show that the port is connected.