-
Notifications
You must be signed in to change notification settings - Fork 166
Can not edit config to run on port 53? (function get_free_udp_port) #29
Comments
You can make it easier, run it with environment variable SERVER_PORT=53
|
Unfortunately that did not work either. Result is the same: net.ipv4.ip_forward = 1 |
See "systemctl status wg-quick@wg0.service" and |
Result of the first command:
|
Second command:
. |
@l-n-s any comment on this? You can try with any Debian Distro and it will show this. |
My Debian machine works fine. Have you tried to do a clean install? Either uninstall everything and remove all the config files (if you can). Or reinstall the OS. |
Yes I have. Brand new Debian 9.0 and 9.8 |
Still not working unfortunately. I tried on AWS, GCP and Bare metal servers. Port 53 is a no go. |
I edited the portion of the code to give me 53 for a random lookup so my final config has port 53 in it:
function get_free_udp_port { local port=$(shuf -i 053-053 -n 1) ss -lau | grep $port > /dev/null if [[ $? == 1 ]] ; then echo "$port"
also tried
function get_free_udp_port { local port=$(shuf -i 053-053 -n 1) ss -lau | grep $port > /dev/null if [[ $? == 1 ]] ; then echo "53"
And none of this works. In the end, I end up with this:
Try `iptables -h' or 'iptables --help' for more information.
Created symlink /etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service → /lib/systemd/system/wg-quick@.service.
Job for wg-quick@wg0.service failed because the control process exited with error code.
See "systemctl status wg-quick@wg0.service" and "journalctl -xe" for details.
Client config --> /root/client-wg0.conf
Now reboot the server and enjoy your fresh VPN installation! :^)
Can someone help so I can install wireguard to Port 53? Seems like if I replace it with a 3 digit number, it works (053 doesn't work I tried)
The text was updated successfully, but these errors were encountered: