Configure network for Remote Access
mainTo enable cloud remote access, the primary network interface on the host must be named enp0s2.
Steps to rename interface:
- Create
/etc/systemd/network/98-enp0s2.linkon the host. - Add the following content, replacing
xx:xx:xx:xx:xx:xxwith your actual MAC address:
[Match]
MACAddress=xx:xx:xx:xx:xx:xx
[Link]
Name=enp0s2- Update network settings: Update your firewall rules and
/etc/network/interfacesto reflect the new interface name. - Apply changes: Run
sudo update-initramfs -uand reboot the host.
Note: Remote access via the cloud does not work with Docker on macOS. Use a Debian VM instead.
[Match]
MACAddress=xx:xx:xx:xx:xx:xx
[Link]
Name=enp0s2