This shows you the differences between two versions of the page.
| computing:backupnode [2025/01/04 02:50] – created oemb1905 | computing:backupnode [2025/03/27 19:54] (current) – oemb1905 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ------------------------------------------- | ------------------------------------------- | ||
| + | Set up the physical host to forward, enable forward on the firewall and allow ssh. | ||
| - | This tutorial covers how to set up | + | sudo apt install bridge-utils |
| + | sudo brctl addbr br0 | ||
| + | sudo nano / | ||
| + | < | ||
| + | sudo nano / | ||
| + | < | ||
| + | ufw allow 22 | ||
| + | Physical host interface: | ||
| + | auto enp4s0 | ||
| + | iface enp4s0 inet manual | ||
| + | auto br0 | ||
| + | iface br0 inet static | ||
| + | address 44.13.19.10/ | ||
| + | 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/ | ||
| + | #up ip route add 44.13.19.12/ | ||
| + | #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. | ||
| + | |||
| + | |||
| + | --- // | ||