The welland gateway¶
You look after welland and want to know what its gateway, tweed, serves, and how to reach a Pi through it. Deploying to it is The gateway host. Who may log in, with which keys, is Accounts and logins.
What the gateway provides¶
Each row names a part of tweed and gives its value. The addresses are from host_vars:
ansible/inventory/host_vars/fpgas.online.yml in fpgas.online-infra.
Name |
tweed. Ansible names it |
Serves |
DHCP, DNS and TFTP (dnsmasq), the NFS root, and the web tier of welland.fpgas.online and tinytapeout.fpgas.online |
System |
Debian 13 (trixie) |
Uplink |
|
Pi network |
|
NFS root |
|
Which package versions the served root holds is read in the root itself, on tweed:
$ dpkg-query --admindir=/srv/nfs/rpi/bookworm/root/var/lib/dpkg -W 'fpgas-online-*' python3-rpi-hwid
tweed has no FPGA board of its own. Login is by key only. Ansible logs in as ansible. People log in to their
own operator accounts, or to the restricted pi jump account (Accounts and logins).
Reaching tweed¶
From outside the site, ssh reaches tweed over IPv6, at 2404:e80:a137:2100::1. The name
tweed.welland.mithis.com also has an IPv4 address, 87.121.95.37. That is the site’s upstream gateway, which
does not pass ssh to tweed (host_vars). The name’s other IPv6 address, 2404:e80:a137:9921::2,
does not answer ssh from outside the site. Inside the site the name gives 10.99.21.2 and 10.21.0.1.
Reaching a Pi¶
Nothing upstream of tweed can reach a Pi, because each Pi is in its own VLAN. Jump through tweed to the Pi’s
address, 10.21.<switch>.<port>:
$ ssh -J <you>@tweed.welland.mithis.com pi@10.21.2.46
$ ssh -J pi@tweed.welland.mithis.com pi@10.21.2.46 # through the jump account
The pi jump account can only run ssh and ssh-keyscan. A jump needs your key trusted by the jump account
and by the Pi, and the Pis trust only the operators’ GitHub keys. Anyone else logs in to the jump account and
runs ssh pi@10.21.2.46 from there, which uses the jump account’s own key.
Visitors reach a Pi on a forwarded port instead. On its uplink, tweed forwards port <s><pp>22 to the Pi on
switch s, port pp (Network and power). The
upstream gateway sets which public address and port reach that (What a site needs from its upstream
network). The Pis’ password is public by design, and the login banner prints it.
What is planned for the gateway is on The welland site.