Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

80%
+6 −0
Q&A How to forward SSH access of one machine, through another, to the rest of a network?

I have a setup with two Raspberry PIs, a CM3 module with only a USB connection to the outside, and the Pi4 with a lot of connectors. I set up things such that CM3 functions as USB Gadget, and once...

3 answers  ·  posted 3y ago by CanisSomnolentus‭  ·  last activity 7mo ago by Michael‭

#2: Post edited by user avatar Michael‭ · 2023-12-09T11:31:37Z (12 months ago)
Tag ssh
How to forward SSH access of one machine, through another, to the rest of a network?
  • I have a setup with two Raspberry PIs, a CM3 module with only a USB connection to the outside, and the Pi4 with a lot of connectors.
  • I set up things such that CM3 functions as USB Gadget, and once connected to one of the USB jacks on the Pi4, I successfully logged into the CM3 with SSH - from a console on the Pi4.
  • Now, the Pi4 is connected, through its LAN jack, to a small network.
  • I would like to be able to access the CM3 from devices in that network (e.g. log in with SSH).
  • So I guess, I need to set up some sort of forwarding within the Pi4 in order to do that. I'm not sure of the correct terminology for that - looked for "bridge" tutorials, but what they did seemed not what I need, or perhaps I only found unfitting tutorials.
  • What do I need to do to set this up?
  • I have a setup with two Raspberry PIs, a CM3 module with only a USB connection to the outside, and the Pi4 with a lot of connectors.
  • I set up things such that CM3 functions as USB Gadget, and once connected to one of the USB jacks on the Pi4, I successfully logged into the CM3 with SSH&mdash;from a console on the Pi4.
  • Now, the Pi4 is connected, through its LAN jack, to a small network.
  • I would like to be able to access the CM3 from devices in that network (e.g. log in with SSH).
  • So I guess I need to set up some sort of forwarding within the Pi4 in order to do that. I'm not sure of the correct terminology for that&mdash;looked for "bridge" tutorials, but what they did seemed not what I need, or perhaps I only found unfitting tutorials.
  • What do I need to do to set this up?
#1: Initial revision by user avatar CanisSomnolentus‭ · 2021-07-01T12:03:17Z (over 3 years ago)
How to forward SSH access of one machine, through another, to the rest of a network?
I have a setup with two Raspberry PIs, a CM3 module with only a USB connection to the outside, and the Pi4 with a lot of connectors.

I set up things such that CM3 functions as USB Gadget, and once connected to one of the USB jacks on the Pi4, I successfully logged into the CM3 with SSH - from a console on the Pi4.

Now, the Pi4 is connected, through its LAN jack, to a small network.
I would like to be able to access the CM3 from devices in that network (e.g. log in with SSH).
So I guess, I need to set up some sort of forwarding within the Pi4 in order to do that. I'm not sure of the correct terminology for that - looked for "bridge" tutorials, but what they did seemed not what I need, or perhaps I only found unfitting tutorials.

What do I need to do to set this up?