I'm posting this here becasue the solution is something someone else may find useful.
My e-lab is in my basement and my dev workstation is in my main-floor office. The e-lab has a Debian server that hosts USB connected microcontroller dev boards. STmicro provides a TCP/USB bridge application called stlink-server. Unfortunately the thing is hardwired to only listen on the loopback address so anything connecting to it must be running on the local host.
I remember there being a netcat swiff-army-knife type application that could bridge and forward ip traffic between different ip/port cominations, but it's been years and I don't remember the application name or the configuration. NOTE! this is user-space forwarding. I'm not interested in any of the iptables/netdev stuff that does forwarding from kernel space.
Does anybody understand what I'm getting at and remember the name of the application I'm thinking of?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
SOLVED - port forward to daemon listing on loopback address
- kent_dorfman766
- Posts: 546
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 59 times
- Been thanked: 70 times
SOLVED - port forward to daemon listing on loopback address
Last edited by kent_dorfman766 on 2024-04-12 19:30, edited 1 time in total.
-
- Debian Developer
- Posts: 463
- Joined: 2022-07-12 14:10
- Has thanked: 1 time
- Been thanked: 88 times
Re: port forward to daemon listing on loopback address
Code: Select all
socat TCP-LISTEN:1234,bind=10.10.1.5,fork,reuseaddr TCP:localhost:5555
- kent_dorfman766
- Posts: 546
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 59 times
- Been thanked: 70 times
Re: port forward to daemon listing on loopback address
You rock! thankslindi wrote: ↑2024-04-12 19:17Code: Select all
socat TCP-LISTEN:1234,bind=10.10.1.5,fork,reuseaddr TCP:localhost:5555