subspacecommunity / subspace

A fork of the simple WireGuard VPN server GUI community maintained
MIT License
1.8k stars 131 forks source link

DNS generation problem #215

Open VictorP-CWISE opened 2 years ago

VictorP-CWISE commented 2 years ago

Describe the bug In generated wg0.conf file DNS address always 10.99.97.1, env SUBSPACE_NAMESERVERS do not change that and with generated wg0.conf file access to network have only Ubuntu desktop, macOS laptop can connect to server but have no access to the internet or you need manually replace DNS string with any DNS hosts

To Reproduce Steps to reproduce the behavior:

  1. Go to Subspace home page
  2. Fill device name and add macOS platform
  3. Click on 'Add device'
  4. Click on 'Connect device'
  5. Download WireGuard config
  6. Add config to Mac WireGuard client app
  7. Connect with it to WireGuarg server
  8. Try to load any web page

Expected behavior DNS in wg0.conf taken from SUBSPACE_NAMESERVERS or server directly, internet connection works on any platform

Desktop (please complete the following information):