Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unblock-proxy.sh with wireguard #3

Open
scopolamine1401 opened this issue Aug 26, 2022 · 1 comment
Open

unblock-proxy.sh with wireguard #3

scopolamine1401 opened this issue Aug 26, 2022 · 1 comment

Comments

@scopolamine1401
Copy link

Hi,

I wonder if I can get this work with wireguard. I want to setup this on an Ubuntu VPS. When clients connect to this VPS via wireguard, they can use smartdns

Thank you

@suuhm
Copy link
Owner

suuhm commented Mar 18, 2023

Hi, sorry for late response.
yepp this is possible, so ur clients just have to setup DNS server with the virtual wg IP of ur VPS, like:

[Interface]
...
DNS = VIRTUAL_IP_WG-VPS
...

or simply with: wg set wg0 peer DNS = VIRTUAL_IP_WG-VPS

Just also play a bit with the PostUp / PostDown Rules in ur Serverconfig. Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants