Hello,
I would like to get acces to a VM from outside my home network. I have installed Home assisant.
My /etc/network/interfaces file :
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto enp2s0
iface enp2s0 inet static
address 192.168.1.25 //this is the ip address of my proxmox server
netmask 255.255.255.0
gateway 192.168.1.1
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/enp2s0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 192.168.1.25/24
gateway 192.168.1.1
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
And I follow this tutorial for port forwarding and the configuration of duckdns inside home assistant : https://www.youtube.com/watch?v=AK5E2T5tWyM
My router interface Nat (see attached file)
I opened the ports on my router by redirecting to HA's ip address:
my file : configuration.yaml of Home assistant
homeassistant:
external_url: https://my-domain.duckdns.org:8123
internal_url: https://my-domain.duckdns.org:8123
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
I can access to home assistant inside of my network but not from outside ...
I check my port forwarding and it work :
https://canyouseeme.org/
I think the problem come from to interfaces file but ... I'm not sure ...
I would like to get acces to a VM from outside my home network. I have installed Home assisant.
My /etc/network/interfaces file :
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto enp2s0
iface enp2s0 inet static
address 192.168.1.25 //this is the ip address of my proxmox server
netmask 255.255.255.0
gateway 192.168.1.1
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/enp2s0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 192.168.1.25/24
gateway 192.168.1.1
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
And I follow this tutorial for port forwarding and the configuration of duckdns inside home assistant : https://www.youtube.com/watch?v=AK5E2T5tWyM
My router interface Nat (see attached file)
I opened the ports on my router by redirecting to HA's ip address:
my file : configuration.yaml of Home assistant
homeassistant:
external_url: https://my-domain.duckdns.org:8123
internal_url: https://my-domain.duckdns.org:8123
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
I can access to home assistant inside of my network but not from outside ...
I check my port forwarding and it work :
https://canyouseeme.org/
I think the problem come from to interfaces file but ... I'm not sure ...
Attachments
Last edited: