Hi there,
I have another qeuestion One of the first things I wanted to set up with my new Proxmox installation is wireguard.
But I had a lot of problems with my own LXC and manuall installation, so skipped this one moved to the next services. Now that basic things are running, I am back to get wireguard running.
Now I have installed the wireguard LXC helper script on default port and added a user. I scanned the QR code with my android wireguard client and connection is successful. But I dont have neither access to internet, nor to my local network. Wireguard client show only sent data but nothing received.
So first thinks I check while searching on the net were the firewall settings. As posted on multiple places, I have added:
with
I can reach the internet and my local network form within the LXC wireguard container.
Port forwarding is enabled on my router.
What am I missing?
Thank in advance
best greetings
I have another qeuestion One of the first things I wanted to set up with my new Proxmox installation is wireguard.
But I had a lot of problems with my own LXC and manuall installation, so skipped this one moved to the next services. Now that basic things are running, I am back to get wireguard running.
Now I have installed the wireguard LXC helper script on default port and added a user. I scanned the QR code with my android wireguard client and connection is successful. But I dont have neither access to internet, nor to my local network. Wireguard client show only sent data but nothing received.
So first thinks I check while searching on the net were the firewall settings. As posted on multiple places, I have added:
toPostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
/etc/wireguard/wg0.conf
with
I see the device eth0@if93.ip addr
I can reach the internet and my local network form within the LXC wireguard container.
Port forwarding is enabled on my router.
What am I missing?
Thank in advance
best greetings
Last edited: