Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
[SOLVED] Wireguard - Unable to connect to Proxmox host
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Wireguard - Unable to connect to Proxmox host (Read 595 times)
rashnoy
Newbie
Posts: 2
Karma: 0
[SOLVED] Wireguard - Unable to connect to Proxmox host
«
on:
June 07, 2024, 11:00:01 pm »
Hi,
So I just installed OPNsense in a VM on a Proxmox host and passed through two NICs to the VM (one for WAN and one for LAN).
My WAN is assigned an IP 192.168.68.2 (the 192.168.68.0/24 is my ISP provided router's network)
and my LAN is on 192.69.10.1/24.
I created a Wireguard tunnel with 192.70.10.1/24 network and have a peer connected to it with an IP of 192.70.10.2. I have set the Allowed IPs on Wireguard client for the peer as 192.70.10.0/24, 192.69.10.0/24.
Now, I am able to establish a connection to the tunnel and can also SSH into another VM inside of Proxmox that is connected to the LAN with an IP of 192.69.10.2.
I have also set up the Proxmox host machine to be on the LAN with an IP of 192.69.10.10. I am able to ping the OPNsense from Proxmox host and vice versa. So I know that the host is connected to the LAN.
But I can't connect to the Proxmox host (either through the web GUI or SSH) from the Wireguard peer. I have spent 3 days trying to figure this out by following multiple guides on how to setup Wireguard and still couldn't find a solution.
I have set a rule on the Wireguard group to forward all incoming traffic as it is from any source to any destination and added the same rule on the LAN interface.
I would appreciate any help that I can get on how to solve this.
Thanks.
«
Last Edit: June 10, 2024, 08:04:38 pm by rashnoy
»
Logged
rashnoy
Newbie
Posts: 2
Karma: 0
Re: Wireguard - Unable to connect to Proxmox host
«
Reply #1 on:
June 10, 2024, 08:04:21 pm »
Figured it out.
I had set the LAN port on the host with a static IP but no gateway. Added the gateway and I am now able to connect to the host.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
[SOLVED] Wireguard - Unable to connect to Proxmox host