My previous thread I asked how to remote into Proxmox. I was given some vague directions (NAT redirect to 8006; how do I do this?), and now I figure I should try to do remote access to Proxmox with a VPN.
I've installed Proxmox successfully on my Dell PowerEdge R710 Server (local IP is 192.168.0.100), and within Proxmox I've installed a Debian VM with PiVPN (which is OpenVPN from what I've read), which is local IP 192.168.0.101.
During the OpenVPN install on the VM, I created an OVPN file with the following settings:
I would like to be able to VPN into the Proxmox Web Interface (local IP is 192.168.0.100 and uses port 8006). So, how would I go about doing this? Here is what I've done since creating the OVPN file:
So now what? I've tried connecting to the following through my browser, but have gotten nothing back:
I must be missing something I assume?
I've also seen these 2 guides online which look really helpful (which I'm willing to try if people here believe this is not the right way to get remote VPN access to Proxmox):
https://www.hungred.com/how-to/setup-lxc-nat-proxmox/
https://www.hungred.com/how-to/setup-openvpn-on-proxmox-lxc/
but they don't really explain what to do afterwards. Like do I need to install OpenVPN on my system and then login through it?
I've installed Proxmox successfully on my Dell PowerEdge R710 Server (local IP is 192.168.0.100), and within Proxmox I've installed a Debian VM with PiVPN (which is OpenVPN from what I've read), which is local IP 192.168.0.101.
During the OpenVPN install on the VM, I created an OVPN file with the following settings:
(let's just say my Public IP is 7.7.7.7 in this example)Protocol: UDP
Port: 1194
OpenVPN Elliptical Curves? No
Encryption Key: 2048 (Diffie-Hellman Key, and HMAC key)
Public IP: 7.7.7.7
DNS Provider: Google
I would like to be able to VPN into the Proxmox Web Interface (local IP is 192.168.0.100 and uses port 8006). So, how would I go about doing this? Here is what I've done since creating the OVPN file:
- Installed OpenVPN on my Windows Machine
- SCP'd the OVPN file to
Code:
D:\Program Files\OpenVPN\config
- SCP'd the OVPN file to Proxmox's
Code:
/home/root/ovpn
- On my Router, set to Forward
Code:
Port 1194, IP 192.168.0.101, Protocol UDP
- In Windows, I started up OpenVPN, put in the password, and it says
Code:
Connected To: <OVPN file's name>
Code:Assigned IP: 10.10.10.10
So now what? I've tried connecting to the following through my browser, but have gotten nothing back:
Code:
http://10.10.10.10:1194
https://10.10.10.10:1194
http://10.10.10.10:8006
https://10.10.10.10:8006
http://192.168.0.101:1194
https://192.168.0.101:1194
http://192.168.0.101:8006
https://192.168.0.101:8006
http://7.7.7.7:1194
https://7.7.7.7:1194
http://7.7.7.7:8006
https://7.7.7.7:8006
I must be missing something I assume?
I've also seen these 2 guides online which look really helpful (which I'm willing to try if people here believe this is not the right way to get remote VPN access to Proxmox):
https://www.hungred.com/how-to/setup-lxc-nat-proxmox/
https://www.hungred.com/how-to/setup-openvpn-on-proxmox-lxc/
but they don't really explain what to do afterwards. Like do I need to install OpenVPN on my system and then login through it?