Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4456

Networking and servers • Help with Network Gateway? Bridge?

$
0
0
Hi all,

I recently purchased my first Raspberry Pi, as I wanted to try working on a IIOT project with a CNC machine.

The CNC machine has a file sharing feature, which uses SMB for a shared network folder. It also has a telnet server running, for reading and writing to variables on the machine...

My goal with the raspberry pi is to make a connection between the CNC machine and the network:
CNC Machine <-----(ethernet)--------> Raspberry Pi 4B <-----(Wifi)-------> Router



I am an absolute noob when it comes to networking, and am looking for resources on what would be the appropriate approach. I essentially want the SMB capabilities to remain. It is password protected on my local network, however the telnet server is not password protected and uses variable addresses instead of easy to use names... So, I want the Pi to also act as a gateway, where I can send commands over my network to the Pi, and let it handle communicating with the CNC machine via telnet.

I'm comfortable with writing software in Java, and plan on writing an application to interface with the CNC's telnet server and expose HTTP endpoints on the Pi that are easier to use and understand. Eventually, I want to transition into using an MQTT system, so that the Pi can poll the CNC machine for parameters and publish to a centralized server on the network.

I'd like for the ability to simply 'plug-and-play' the Pi into the CNC machine through ethernet, and automatically have it assigned an IP address from the router, so that it's discoverable to my computers on my network for password protected file sharing, but I don't want anything but the Pi to have access to the telnet server. I am able to edit the port for the telnet server on the CNC machine if that helps.

Is any of this possible? Am I leaving out any information that is needed? Any help is much appreciated!

Statistics: Posted by jrfiggz — Wed Mar 27, 2024 3:53 am — Replies 1 — Views 21



Viewing all articles
Browse latest Browse all 4456

Trending Articles