Configuring the firewall¶
Configure the firewall for your automotive operating system (OS) image.
Prerequisites
- A custom OS image manifest that has network configurations, such as the one you used in Configuring networking
Procedure
-
Add SSH packages to your manifest:
-
Add the
firewalld
package: -
Configure the firewall with SSH
root
access:Example firewall, SSH, and port configuration# Configure the firewall to permit ssh login - type: org.osbuild.firewall options: enabled_services: - ssh ports: - 8584:tcp # Permit ssh login as root, so sshd runs (demo tests) - type: org.osbuild.sshd.config options: config: PasswordAuthentication: true PermitRootLogin: true
-
Enable firewall and SSH services to run through
systemd
:
Next steps¶
- Configure interprocess communications (IPCs) between your ASIL and QM containers and across partitions.
- Encrypt your filesystem.
- Enable BlueChi orchestration.
- Build your automotive OS image with
kernel-automotive
or your custom kernel.