How do i setup wireguard VPN with Break up and no NAT?

0
4
How do i setup wireguard VPN with Break up and no NAT?


I’ve tried a number of occasions to setup wireguard (recently it has been wg-easy to get a GUI) to my wishes, however with no luck. I am undecided the place it goes flawed. I take advantage of an AI assistant to assist me. The immediate i exploit, which additionally describes what i want, is that this:

“I run an occasion of https://github.com/wg-easy/wg-easy/tree/grasp in my proxmox server. It runs in docker compose with “network_mode=host”. It has IP 192.168.1.103. I want it to attach my telephone to my dwelling community, 192.168.1.0/24, when i am out. Necessities:

  • Break up-tunnel. Solely site visitors to and from my native community, ought to go
    by way of the tunnel.
  • No masquerade/NAT. I would like to have the ability to see in my
    community (as an illustration, in Adguard House), what machine connects to
    what, so VPN shoppers ought to have devoted IP’s, as a substitute of exhibiting
    the IP of the VPN server.
  • Set and overlook. All configurations on the
    VPN server needs to be everlasting, that means that i do not wish to bear in mind
    to do one thing particular when restarting the server.

I’ve entry to my router and port forwarding settings. Every little thing is behind a NGINX Proxy Supervisor occasion, as proxy hosts. I’ve made a proxy host that factors to vpn.customdomain.dk. Inform me, step-by-step, what to do, what to fill out the place, what each step does and why. Additionally embrace how i take a look at each step and make sure every little thing works as meant and if not, troubleshoot.”

it goes properly within the begin, however when attempting to take away masquerade/NAT, it get’s fairly difficult with iptables, postup and postdown instructions and it complicates issues moreover that there’s the ‘Docker host’ Proxmox LXC and in that, there’s the ‘Wireguard VPN Server’ Docker container.

Is anybody keen to assist information me to this consequence? Thanks prematurely

LEAVE A REPLY

Please enter your comment!
Please enter your name here