Bridge a local serial port to a distance network-connected Smoothieboard :

socat pty,link=/dev/ttyACM5,waitslave tcp:192.168.188.240:23 + chmod 777 /dev/ttyACM5
socat pty,link=/dev/ttyACM50,perm=0644,user=$OCTOPRINTUSER,group=dialout tcp:$SMOOTHIEIP:23

Other methods

https://github.com/foosel/OctoPrint/wiki/Setup-OctoPrint-with-Smoothie