Рет қаралды 48,982
Find out how to install Home assistant (supervised) from scratch on UBUNTU as virtual machine using the KVM Hypervisor.
Really want to show your appreciation? You can always "Buy me a beer"...
www.buymeacoffee.com/homesight
Commands:
ifconfig
iptables -I FORWARD -o virbr0 -d 192.168.122.242 -j ACCEPT
- virbr0 = Virtual interface name (Gateway)
- 192.168.122.242 = Virtual Machine IP Address
iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to 192.168.122.242:8123
- 80 = incoming port (80 is the standard web port)
- 192.168.122.242:8123 = Home Assistant Virtual Machine Address + :8123
- NOTE: You'll need this command for any additional ports you need forwarded eg (1883 for MQTT)
** IF YOU WANT TO MAKE THE IPTABLES RULES PERMANENT, RUN THE FOLLOWING **
iptables-save
Music: www.bensound.com
Video: Free Stock Video Footage by Videezy!