Replies: 42 comments 2 replies
-
Hi - should be completely fine - it's pure python - ( python versions 3.9 or newer) - so as long your python satisfies that then it should be completely fine. The dependencies are listed in README. You can test it by cloning the repo and running from there. Easy way to try it out. Aside from some convenience python modules, it uses wireguard tools and nftables - both are needed to run vpn anyway (or iptables if thats your thing) with or without wg-tool. Feel free to tag me if I can help. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the fast reply. I installed the dependencies using
|
Beta Was this translation helpful? Give feedback.
-
testing: build and installing:
once its installed and available in /usr/bin then it would be in your path. let me know how it goes. |
Beta Was this translation helpful? Give feedback.
-
to keep the repo clean probably better to create a test directory and run in there. |
Beta Was this translation helpful? Give feedback.
-
be nice if someone made a .deb package for wg_tool |
Beta Was this translation helpful? Give feedback.
-
A docker image would be better given all the dependencies I think... |
Beta Was this translation helpful? Give feedback.
-
good idea on docker ... i forgot to answer your question fully- you run poetry build in the top level of repo - and ditto for installer script which takes one arg which is the destination prefix. Those to things (build/install) are normally done by the package builder tool. packages take care of the dependencies - so installing a package makes it simple too. |
Beta Was this translation helpful? Give feedback.
-
I broke my system as I feared... I only had python 3.8 and meant to add 3.10... There was some conflict which was suggested to run I've been trying to fix it for the last hour in vain... I will try again tomorrow as I am useless after midnight... A docker package is certainly the way to go xD |
Beta Was this translation helpful? Give feedback.
-
geez so sorry - thats really annoying - :( |
Beta Was this translation helpful? Give feedback.
-
hope you can things back to normal |
Beta Was this translation helpful? Give feedback.
-
the only need for 3.9 is using match() instead of if else ... there are a few places but it would be possible to make a version without match() statements I would think. |
Beta Was this translation helpful? Give feedback.
-
again - so sorry |
Beta Was this translation helpful? Give feedback.
-
Really, no worries... It probably will be less hassle installing the system from scratch (it's a remote server), it will just need some extra configs (FW, SSH, some other custom packages, ...)... I just hope it is worth it :P as I am still in the "testing phase" xD |
Beta Was this translation helpful? Give feedback.
-
remote machine ... ug .. thats a lot of work. |
Beta Was this translation helpful? Give feedback.
-
would be doable to make copies of the 2 files using match() and change them to use if else - those quite likely would work okay with python 3.8. |
Beta Was this translation helpful? Give feedback.
-
The correct fix is to change your server config config/server/server.conf and change the /usr/bin/nft to /usr/sbin/nft Wow - tis late there!!! |
Beta Was this translation helpful? Give feedback.
-
also please try instead of wg show: |
Beta Was this translation helpful? Give feedback.
-
If no traffic then (assuming vpn server itself has internet / local access) - the nftables config is likely not right for your setup |
Beta Was this translation helpful? Give feedback.
-
I will push the python3 change and the pip option fix to gh repo - |
Beta Was this translation helpful? Give feedback.
-
Can you check the postup script to be sure you have the right network settings - the default script should work as long as your vpn server has internet access - but it does need to be edited for your own network,. thanks |
Beta Was this translation helpful? Give feedback.
-
Still on my todo list - create requirements file. Please Let me know if you got the postup script working. Thanks! |
Beta Was this translation helpful? Give feedback.
-
requirements.txt added in commit 7a548d2 |
Beta Was this translation helpful? Give feedback.
-
Sadly not. Sorry for my disappearance but I am on holidays (since over a week actually)... I'll be back home later this week and will dig deeper to find a fix |
Beta Was this translation helpful? Give feedback.
-
Sorry to hear that - happy to help where I can. I assume vpn server has internet access so when the vpn clients get nat'ed their traffic should get to internet as well (and would appear to come from vpn server of course). Have wonderful rest of holidays and very merry christmas ! |
Beta Was this translation helpful? Give feedback.
-
May be worth double checking that the network settings look right in your postup nftables script. |
Beta Was this translation helpful? Give feedback.
-
No worries, last time I checked, server had internet and handshake was successful, yet no internet on the client... |
Beta Was this translation helpful? Give feedback.
-
ok that sounds good - have fun day :) |
Beta Was this translation helpful? Give feedback.
-
(it really does sound like the postup script is worth looking over) |
Beta Was this translation helpful? Give feedback.
-
one more thought occurred to me - please make sure ip forwarding is turned on |
Beta Was this translation helpful? Give feedback.
-
Hi any updates from your side? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Before I start messing with my system installing all dependencies and such, is the script compatible with both Ubuntu/Debian ?
I have been looking for a decent management script and google lead me here <3
Beta Was this translation helpful? Give feedback.
All reactions