Jump to content

Hi, 

 

I am running a home lab server with proxmox as my hupervisor. I have installed Debian 12 on proxmox as a VM which has ip 192.168.0.102. I have installed rancher with docker and registered this VM as a single node on the cluster. 

 

I am trying to setup wireguard server on rancher so that I can access my server remotely. However I'm facing the following challenges, here's what my setup looks like:

I setup a new deployment and created the wireguard from Linuxserver.io docs. 

Since sysctl parameters cannot he setup directly on rancher, I setup a sidecar on my wireguard pod to configure the sysctl argument.

I added a service for exposing the port so that external applications can access this deployment. Port 51820 is exposed at port 32138. I also mapped pod label (key value) in the service. I then port forwarded 32138 as both external and internal port with ip address 192.168.0.102 in my router. 

 

the wireguard server launches in server normally but when I connect my android phone via the QR Code, it does not register the QR saying invalid configuration. What am I missing here? Further whenever I restart my pod, it gets a new pod id which erases it's connection with the nodeport service. how can I make this connection persistent? 

 

happy to share more details if needed. Thank you. 

 

 

Link to comment
https://linustechtips.com/topic/1571767-issues-while-deploying-wireguard-on-rancher/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×