-
Notifications
You must be signed in to change notification settings - Fork 457
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
Allow to change IPv4/v6 Prefix from environment variables #7
base: master
Are you sure you want to change the base?
Conversation
- Add .gitignore - README
I would love to see this merged! |
@Freekers , if you want to try it out, check this Docker image : valentinnc/subspace:latest or my repo https://github.com/valentin2105/subspace. |
@valentin2105 Wohoo that works perfectly! Thank you so much! |
@valentin2105 Can you please merge up to this commit in your repo? I need it to work with my reverse proxy: 502f0f5 A more recent commit is fine as well :) Thank you very much! |
@Freekers can you try it from my repo ? I have merged master from subspace. (from Github UI so maybe it's broken). Thanks. (ask if you want I update the docker Image) |
The Docker image has not been updated yet on Docker Hub if I'm not mistaken? I will check back tomorrow :) |
@valentin2105 Something went wrong during the merge. In handlers.go, the struct got duplicated. I tried fixing it myself in addition to making the Listenport variable, but I didn't succeed. Thank yoU! |
@Freekers I have fixed in my repo and Updated the docker image, it should be good ;) |
@valentin2105 Thank you very much! Your image is working for me now! Many thanks!! Kind regards. |
@Freekers Your code seem fine,
|
@valentin2105 Thanks for your reply :)
|
@Freekers Did you run :
|
@valentin2105 Ah, no I didn't do that. Now I see what you mean by the old binary in git. I feel stupid now! Sorry about that. I have to go now, I'll check back tomorrow. Thanks for all your help so far! |
@Freekers , Don't feel stupid, there is no documentation at all in the repo. If you want, I can add these modification in my repo, push it here and build my docker image with it, so You can test and confirm that it work ? :) |
Thanks for all your help!! I managed to recompile subspace's binary, rebuild the Docker and can now confirm that your and mine changes are working :) Kind regards. |
Allow changing WireGuard's Listenport from environment variable
@valentin2105 thank you so much for your fork and docker hub image! saved me a ton of time doing it myself |
Hi. could you tell me how I can change default GW(i mean for client use Lan network and not 0.0.0.0/0). And I cant change the pool and have DNS uncorrected
with the next setting for subspace, i have the next client config:
I want to have next client config
i.e. want to only access to LAN. and next steps create SSO. thanks |
This PR include :
Change the IPv4/v6 Pool via environment variables :
Change the IPv4/v6 Gateway via environment variables :
( .1 or :1 is used by default if not present)
Enable or disable IPv6 NAT
Change the DNS Server via environement variable :
Feel free to ask if any change is needed.