Tachyon as a Gateway

I’m looking at using the Tachyon as a gateway to connect to PLCs and other industrial devices. This has raised several questions.

How is the networking implemented with Particle? Does the device see itself as having an internet IP address or is it part of a VPN type setup. I noticed that the image has TailScale network device set up by default.

Is it possible to directly connect into the device with SSH, HTTPS, etc?

Is it possible to run rsync over the cellular connection?

I noticed the gateway shows applications, can I push out my own binaries to the device?

Are there any issues running this as a gateway for a PLC?

Thank you.

Partial answer. Have not tried with cellular yet. I installed headless linux on the Tachyon following the setup procedure described. It connects to my wireless network. I can access it with ssh particle@<ip>. There are sample applications that run a simple web server on the device. For https, possibly some extra packages must be installed. rsync is available on the device, and I don’t see why it should not be working.

Hey John, great question.

Basically, the networking is implemented using the standard Linux networking stack. Every interface- Wi-Fi, Ethernet (if connected), and cellular, gets its own unique IP address. Those IPs will change depending on the network connection: cellular addresses typically change if the device switches operators or reconnects, while Wi-Fi and Ethernet are more stable but will update when moving between networks.

You can absolutely connect directly to the device over SSH or HTTPS. In the Particle Console (console.particle.io), if you open your device, there’s a built-in remote SSH shell you can use. You can also run tailscale login/tailscale up on the device and link it to your own Tailscale account for secure mesh access from your desktop - that’s what I use most often. As ErwinE you can also connect using SSH over a local network (which is how I think all our devices do it!). Lastly, you can connect via ADB - check our developer docs (search adb) for details :slight_smile:

You can run anything over the cellular connection, rsync included. The default firewall isn’t currently enabled, so services like SSH are reachable if you configure them.

Yes, the applications list will allow you to deploy your own binaries. We have a large tutorial update publishing shortly that walks through multiple ways of pushing apps to the device.

As for running it as a gateway for a PLC - great use case. I use something similar here, running the device as a hotspot: Wi-Fi or Ethernet connects to the PLCs / local control boxes, and the device bridges traffic out over the cellular network, much like a phone’s personal hotspot. If you want Ethernet bridging, you can follow the tutorial linked in the docs; Wi-Fi hotspot works out-of-the-box.

Here is the instructions for this wifi hotspot mode: WiFi | Particle Developer

If you want more control, the simplest approach is to write a small script that listens for both the PLC-side network and the cellular interface coming up, then binds them together. When either side goes down, the script can tear down the binding so routing stays clean. It’s pretty straightforward to implement - just shout if you’d like an example.

Thanks!

Nick

1 Like

How can I find out what the Cellular IP address is?

Hi,

How can I find out what the Cellular IP address is?

That won’t really help you. In cellular mode, you’re behind a CGNAT (Carrier-Grade NAT). This means you only get an internal IP address within the carrier’s network, not a publicly accessible one.

The only way to reach the Tachyon from outside while in cellular mode is by setting up a tunnel in advance from the Tachyon to a publicly accessible endpoint. This could be a VPN, or something simple like a reverse SSH tunnel to one of your own systems. For example:

ssh -R 2222:localhost:22 user@your-public-server

With this, you can access your Tachyon’s localhost via your-public-server on port 2222.

All the best
Thomas

2 Likes

An easy option to this is to use Tailscale.

Cheers,

1 Like

SSH over TOR using a SOCKS5 proxy works well over cellular.

2 Likes

I recently set up self-hosted netbird on my network. That also seems to work well.