Raspberry Pi as Router & Server
The Plan is to use a Serial RS232 Connection for connecting the AMIGA to my Home-Network and the Internet. I want it 2 achieve the „classical“ way also with it's Speed-Limitations of Serial connection.
I'm doing this even if i know it would be slow and that i can achieve this maybe with pi-Storm and it's Wlan.
My config is spanned over 2 Raspberries - one is my Fileserver with RAID and one is My Media-Pi connected via WLAN and linked by SerialConnection
Services/Daemons on Server
As i'm experienced with Services i would not write in Detail howto install each Service/Server but link appropriate HOWTOs u can follow.
- FTP-Server
- Gopher-Server
- Telnet-Server
Notice i'm working without SSL/TLS for now - simply plain-text as it is enough for my Local Network.
FTP-Server: VSFTPD
https://zuber-kariye.medium.com/creating-a-simple-ftp-server-in-rpi4-8c5a45401418
Instead of ftp-Folders in User-Home-Directories i'm using a dedicated FTP-Folder on my RAID-Harddisks.
So my initial, simplified vsftpd.conf looks like this:
listen=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 use_localtime=YES connect_from_port_20=YES ftpd_banner=Welcome to media-pi FTP chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd allow_writeable_chroot=YES user_sub_token=$USER local_root=/mnt/raid_ssd/services/ftp/$USER
==== Gopher-Server:
https://manpages.ubuntu.com/manpages/trusty/man8/pygopherd.8.html
For now i leaved the Default-Config unchanged exept for root-Folder - i simply moved the /var/gopher-Folder 2 my raid.
port = 70 servertype = ForkingTCPServer timeout = 60 abstract_headers = on abstract_entries = always tracebacks = yes usechroot = yes enable_tls = no root = /mnt/raid_ssd/services/gopher
Telnet
Coming soon