Page 1 of 1

FTP Server and Gateway 4G - RevPiConnect +

Posted: 12 Mar 2020, 09:48
by Valentin_RcosPi
Hello,
My project is to use RevPi Connect as an FTP server accessible remotely via a 4G router. Attached is the diagram of my project.
I managed to install an FTP server on my RevPi and I manage to transfer data files from my PIC32MZ system by passing the ETH1 of the RevPi.

On ETH0 of RevPi I have an Internet connection and I can ping Google and access the FTP server.
Where I block is to establish a gateway between ETH1 and ETH0 so that the PIC32MZ system can access the Internet to retrieve the time.


Image


I followed tutorials but impossible to communicate ETH0 and ETH1 from RevPi. How to do ?

Thanks ! :D

Re: FTP Server and Gateway 4G - RevPiConnect +

Posted: 17 Mar 2020, 17:35
by dirk
Hi Valentin_RcosPi, this seams like a standard routing question. Have a look at the raspberry pi documentation here. So this involves enabling routung via a sysctl configuration and NAT.
Maybe you use SFTP which is already available with your SSH access.