Hi,
I’m quite new to proxmox et homeladb stuffs. I managed to install Proxmox, create a VM, install Docker, and install Portainer, Nginx and wg-easy and…. I’m stuck.
I’m thinking this has to do with my poor understanding of « network » things….
I have a laptop
A NUC, with one NIC only, on which Proxmox is installed, with a VM with Docker and the containers
I only have one router (my ISP one) which I already got a sense is not enough (I’m planning to investigate PiHole).
Router with 51820 UDP open
Nginx to route to the 192.168.x.x : Port for the UI
Laptop and NUC on LAN : I can access the wg-easy UI, and I can therefore create new client, great.
Laptop "outside" (shared connection with my phone) and NUC on LAN : I can also access the wg-easy UI, I created a subdomain (in Cloudflare) to point to my external IP and redirect the whole thing through Nginx.
So all good.
Now, if I’m behind my router, ie on my LAN (laptop + NUC), and I launch the WG VPN, it all works fine, I can see I’m connected through the VPN (the UI interface shows I'm connected and packets are flowing), I can access my machines on the same LAN and I can also actually access other external websites (maybe that is weird ?)
But accessing my machines on my LAN while I'm on my LAN trough Wireguard is not really helpfull.....
Now, if I’m connected to a shared connection on my phone, ie laptop « outside » my LAN, and the NUC (which is my server) still on my LAN, and activate the WG VPN on my laptop, I can see I'm connected to the VPN (ip -4 -brief a is showing the VPN ip adress), but I can’t access anaything : neither the machines on my LAN, nor the world wide web.
I feel like this is an IP setup configuration issue, but for the life of me, I can’t find how to sort this out.
As you can see I’m very confused….
Any recommendation on how to set this up, so I can access my NUC (and other VM machines) from the outside, through the Wireguard tunnel ?
I'm thinking this is probably very silly, something within either :
- the container(s) network(s) ?,
- and/or the VM ? UFW is open for 51820 UDP, as well as 80 and 443 for nginx and other ports for portainer, nginx ui, wg-easy ui,
- and/or the Proxmox PVE ?
Thanks
I’m quite new to proxmox et homeladb stuffs. I managed to install Proxmox, create a VM, install Docker, and install Portainer, Nginx and wg-easy and…. I’m stuck.
I’m thinking this has to do with my poor understanding of « network » things….
I have a laptop
A NUC, with one NIC only, on which Proxmox is installed, with a VM with Docker and the containers
I only have one router (my ISP one) which I already got a sense is not enough (I’m planning to investigate PiHole).
Router with 51820 UDP open
Nginx to route to the 192.168.x.x : Port for the UI
Laptop and NUC on LAN : I can access the wg-easy UI, and I can therefore create new client, great.
Laptop "outside" (shared connection with my phone) and NUC on LAN : I can also access the wg-easy UI, I created a subdomain (in Cloudflare) to point to my external IP and redirect the whole thing through Nginx.
So all good.
Now, if I’m behind my router, ie on my LAN (laptop + NUC), and I launch the WG VPN, it all works fine, I can see I’m connected through the VPN (the UI interface shows I'm connected and packets are flowing), I can access my machines on the same LAN and I can also actually access other external websites (maybe that is weird ?)
But accessing my machines on my LAN while I'm on my LAN trough Wireguard is not really helpfull.....
Now, if I’m connected to a shared connection on my phone, ie laptop « outside » my LAN, and the NUC (which is my server) still on my LAN, and activate the WG VPN on my laptop, I can see I'm connected to the VPN (ip -4 -brief a is showing the VPN ip adress), but I can’t access anaything : neither the machines on my LAN, nor the world wide web.
I feel like this is an IP setup configuration issue, but for the life of me, I can’t find how to sort this out.
As you can see I’m very confused….
Any recommendation on how to set this up, so I can access my NUC (and other VM machines) from the outside, through the Wireguard tunnel ?
I'm thinking this is probably very silly, something within either :
- the container(s) network(s) ?,
- and/or the VM ? UFW is open for 51820 UDP, as well as 80 and 443 for nginx and other ports for portainer, nginx ui, wg-easy ui,
- and/or the Proxmox PVE ?
Thanks