You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
So i found some "problems" with the WG script and here i have some changes to get it "working" ---------------------------------------------------------------
As i said in #138 (comment) we need some values to edit the setupVars.conf :
Router config
Ask for mac address with fixed ip and port 51820 open with UDP.
True
LXC mac address = mac address
False
Echo -e "Please fix an ip and open port 51820 UDP for [MacAddress] on your router first"
End Script
I think WGDashboard is not a good implementation because if you use it to create new client profile it wont use the setupVars.conf but wg-dashboard.ini which not allow a dual DNS provider (if exist i didnt find it).
I really dont know any other WG Gui so my "workaround" is to edit the wg-dashboard.ini with the setupVars.conf values:
peer_global_dns=DNS1
remote_endpoint=pivpnHOST ---------------------------------------------------------------
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So i found some "problems" with the WG script and here i have some changes to get it "working"
---------------------------------------------------------------
As i said in #138 (comment) we need some values to edit the setupVars.conf :
Router config
Ask for mac address with fixed ip and port 51820 open with UDP.
True
LXC mac address = mac address
False
Echo -e "Please fix an ip and open port 51820 UDP for [MacAddress] on your router first"
End Script
DNS for PiHole
Ask if PiHole exist{
True
DNS1=PiHoleIp
DNS2=1.1.1.1
False
DNS1=1.1.1.1
DNS2=8.8.8.8
}
Domain
Ask if DDNS or Domain exist:
True
pivpnHOST=Domain
False
pivpnHOST=PublicIP
---------------------------------------------------------------
WGDashboard
I think WGDashboard is not a good implementation because if you use it to create new client profile it wont use the setupVars.conf but wg-dashboard.ini which not allow a dual DNS provider (if exist i didnt find it).
I really dont know any other WG Gui so my "workaround" is to edit the wg-dashboard.ini with the setupVars.conf values:
peer_global_dns=DNS1
remote_endpoint=pivpnHOST
---------------------------------------------------------------
Tunnel Mode
In addition to all said i found this tutorial which helps to add the option of Split Tunnel (Really useful if you want to use the VPN always on).
https://www.wundertech.net/setup-wireguard-on-a-raspberry-pi-vpn-setup-tutorial/
I know is an "advanced user" option but is a gamechanger in vpnlands.
Thats all folks!
Beta Was this translation helpful? Give feedback.
All reactions