User Tools

Site Tools


computing:backupnode

  • backupnode
  • Jonathan Haack
  • Haack's Networking
  • webmaster@haacksnetworking.org

backupnode


Set up the physical host to forward, enable forward on the firewall and allow ssh.

sudo apt install bridge-utils
sudo brctl addbr br0
sudo nano /etc/sysctl.d/99-sysctl.conf
<net.ipv4.ip_forward=1>
sudo nano /etc/default/ufw
<DEFAULT_FORWARD_POLICY="ACCEPT">
ufw allow 22

Physical host interface:

auto enp4s0 
iface enp4s0 inet manual
auto br0
iface br0 inet static
  address 44.13.19.10/26
  gateway 44.13.19.1
  nameservers 8.8.8.8
  bridge-ports enp4s0
  bridge-stp off
  bridge-fd 0
  bridge_hw enp4s0
  up ip route add 44.13.19.11/32 dev br0
  #up ip route add 44.13.19.12/32 dev br0
  #and so on ...

Inside the virtual appliance:

auto enp1s0
iface enp1s0 inet static
  address 44.13.19.11
  netmask 255.255.255.192
  gateway 44.13.19.1
  nameservers 8.8.8.8

The numbers above are made up and so the subnet mask will be inaccurate. Make sure to adjust as needed.

oemb1905 2025/03/27 19:52

computing/backupnode.txt · Last modified: 2025/03/27 19:54 by oemb1905