TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: RUDY WIESER
from: HENRI DERKSEN
date: 2020-06-29 02:34:00
subject: Re: Using an RPi 3B+ as a

Hello Rudy and others interested,

RW> I've got a few computers in seperate subnets which I do not allow to
RW> communicate with each other.
RW> When I need to transfer data between computers in those subnets I use
RW> an USB stick.

RW> Somehow my thoughts went to if it would be possible to use an RPi 3B+
RW> as a kind go-between.

RW> The first problem would be that I would need to add another (or more)
RW> ethernet connection (so the 'puters on one subnet cannot reach 'puters
RW> on the other one).  Is that at all possible (at a usable speed) ?

RW> The second would be to how to transfer data from one subnet to the other.

RW> For that I could imagine a kind of "post office" solution, where
RW> 'puters on both subnets can leave messages for each other and ofcourse
RW> read each others replies, but never directly talk to each other.
RW> (both 'puters connect to a known port on the RPi).

RW> Does anyone know if such a sulution or project (and tutorial?) for such
RW> a thing exists ?

Why not try this multi router solution:


At Home                                On the Move               /|\ Tx
                                                                  |
InterNet Cloud                         Ships Harbor WiFi Access Point
 |                                  or Camping Site          on the i
 |
 |
ISP                                                            \|/ Rx
 |                                     Mobile                   |
WAN   xDSL / COAX Cable / GlassFiber / 3G-4G-5G / WiFi Client --/
Modem / Media Converter                 
LAN                                Yes Mobile or WiFi as WAN are possible!
 |                                 i.e. at the FritzBox 6890 4G router.
 |
 |   Fixed Cable RJ45   Note: In many cases Modem and Router are combined.
 |
WAN                           /--------------------------------- Phone
Main Router Zero              |
LAN1 LAN2 LAN3 LAN4 WiFiCh1 VoIP 192.168.0.1
 |    |    |    \--------------------------------------------- IPtv SetTopBox
 |    |    \------------------------------------------------\
 |    \------------------------\    10/100/1000 MBsec/RJ45   |
 |                             |                             |
WAN                           Pi 4B NAS                     WAN
Sub Router One 192.168.1.1     |                 Sub Router Two 192.168.3.1
LAN1 LAN2 LAN3 LAN4 WiFiCh6  USB3A Storage       LAN1 LAN2 LAN3 LAN4 WiFiCh11
 |                             |                             |
 |                             |                             |
Client A.                  Post Office Pi B.               Client C.

192.168.1.y               192.168.0.x                      192.168.3.z 

So the NAS at Local Net Zero: 192.168.0.x  can be reached both by
Client A at 192.168.1.y  from Net One  AND at the same time or later on from
Client C at 192.168.3.z  from Net Two.
But the clients can not reach each other directly.
And second, both clients can also reach the InterNet Cloud, if you wants,
otherwise cut the WAN connection of the Main Router Zero for No InterNet.

For the subrouters you could use old ones almost every one has laying around.
With this 3 router solution both systems are behind their own router with NAT
and FireWall. You know every router mostly has a 4 port switch.
The advantage of a switch is it's intelligence above a stupid Hub that copies
all data to all ports, the switch only to the destination.

You can build the NAS with a Pi. For using USB3A storage take a Pi 4B as NAS.
For a Pi 4B you could choose between 1GB, 2GB, 4GB or 8GB internal memory.
Ofcourse you can use older Pi's and USB2A storage devices, like USB Sticks,
USB-HDD's, or USB-SSD's etc. If you do not have the money for a Pi 4B.

When WiFi is used too, give them another Channel outside of each reach,
so the Main Router on WiFi Channel 1, Sub Router 1 on WiFi Channel 6
and Sub Router 2 on WiFi Channel 11.
So a Pi ZeroW can hop to each WiFi router if it knows their (different or
equal) SSID and passwords. With this setup you are flexible enough I think.

If you are really paranoide, you could unplug the UTP/RJ45/LAN cable between
Router 2 and Client C when you UpLoad a file from Client A via Router 1 to
the NAS.
Then unplug the UTP/RJ45/LAN cable between Router 1 and Client A 
before you DownLoad a file from the NAS to Client B via Router 2.
Then the clients can absolutely never reach each other,
because you split their connections in time, i.e. the one after the other.
They are never OnLine at the same time, if you are strict in your handlings.
Or you can make a technically time shift for it.
I.e. the one A only in the mornings, the other C only in the afternoons ;-)
You can organize that by entering time limits in their respective routers
based on the MAC-adres of the sytems A and B.
Eventually you gave them both more timeslots around each day,
enough for sending the largest file possible.
The same is possible for internet connection.
Ask for the MAC-adress with "ifconfig" on each machine's Terminal window,
and use that MAC-adress as a filter in the routers.
That way you can give each machine a semi fixed IPv4 address at home,
but uses DHCP when on the move at computerclubs etc.
I have made a list of MAC-adresses and correspondig IPv4 adresses in my
FritzBox 7590 router behind the glassfibre to RJ45 EtherNet media converter.
So at home, all my machines allways have the same fixed IPv4 address with DHCP.

But remember, machine C can stil be infected with a virus in a file coming from
 machine A via Post Office B.
So all your machines have to scan every received file first before passing
it on to the rest of that specific machine and their programs.
You have to update that antivirus database as much as possible,
also when no internet connection is used.
Every file can be vulnarable, especially from CD-Roms, but also USB sticks,
You never know tot wich infected machine that USB stick has been over the
years.
Even photo's from friends can be infacted.

Some users here are talking about a second RJ45 EtherNet connection.
That's also simply possible. I use an Eminent EM1010 USB2A from/to RJ45
EtherNet that works excellent on My Beagle Board, all Pi's including the Pi
ZeroW.
You may need a second RJ45 of WiFi EtherNet connection when you want to
built a media convertor, bridge or GateWay, or login to different nets.
That Eminent EM1010 USB2A from/to RJ45 EtherNet dongle works both with RISC
OS and Raspbian Linux on Beagle Boards and all Pi's.
Good luck with it at all.
You now have plenty solutions given by many people.
So stop whining, and start plugging and configuring routers.

Since 1984 I have many Acorn and RISC OS computers including a
Beagle Board XM and 9 Pi's.
2 x Pi 1B, 1B+, 2B, 3B, 3B+, 4B4GB, 4B8GB, ZeroW. 4 systems are permanently on.
A Pi 1B with RISC OS and !ROSBink for FidoNet, a Pi 4B4GB for AIS- and
GPS-data receiving and webbrowsing, a Pi 3B+ for AIS+GPS+ECDIS display and
webbrowsing, and my Acorn RiscPC (1994) as workstation for FidoNet, AcoNet
and InterNet e-mail. The Pi 1B+ is a second RISC OS machine for archiving
and testing. Except the FidoNet Pi, all others are used on the move at
RISC OS and Linux computerclubs in The Netherlands and Belgium.

Greetings from Henri at Arnhen.nl.




File: InetSetUpPi.gif
Length: 5687
[coded by RISC OS Attacher v1.05]

begin 644 InetSetUpPi.gif
M1TE&.#EA%0*"`/0``````!$1$2(B(C,S,T1$1%55569F9G=W=XB(1)F95:JJ
M9KN[=P#,`(B(B)F9F:JJJKN[N\S,B.[NJLS,S-W=W>[N[O___VEG8VEG8VEG
M8VEG8VEG8VEG8VEG8VEG8VEG8RP`````%0*"```%_R`@CF1IGFBJKFSKOG`L
MSW1MWWBN[WSO_T"39$@L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``#L"
`
end
RISC OS filetype : 695 GIF

--- WimpLink 1.05p
* Origin: Henri's FidoNet SysOp (Test)Point on the i (2:280/1208.1)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.