-
Notifications
You must be signed in to change notification settings - Fork 0
Add uvpn #57
Commits on Nov 2, 2018
-
This file is taken from dhcp-4.3.2-0.x86_64/source/client/scripts/linux. The code will be embedded in th uvpn script in a later commit, but in an updated and reduced form. This external copy of the file serves as documentation so we can track the changes done to the code in the repository.
Configuration menu - View commit details
-
Copy full SHA for 886b41c - Browse repository at this point
Copy the full SHA 886b41cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27ce83a - Browse repository at this point
Copy the full SHA 27ce83aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b00c2f - Browse repository at this point
Copy the full SHA 5b00c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3335147 - Browse repository at this point
Copy the full SHA 3335147View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23a1cb9 - Browse repository at this point
Copy the full SHA 23a1cb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7d8c08 - Browse repository at this point
Copy the full SHA c7d8c08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7117d99 - Browse repository at this point
Copy the full SHA 7117d99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7222646 - Browse repository at this point
Copy the full SHA 7222646View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f58249 - Browse repository at this point
Copy the full SHA 9f58249View commit details -
This tools allows a user to create a (net,mnt,user)-namespace container which can be used to run openvpn. This tools uses sudo to gain privileges for the setup and requires a line like ALL ALL=NOPASSWD: /usr/bin/uvpn start_as_root,/usr/bin/uvpn stop_as_root in the sudoers file. The container will be connected to the guest network. For this the system needs a working vlan.guest0 vlan interface into the guest network. The usage for the user might be along this pattern: uvpn start uvpn exec openvpn ~/.charite-username.ovpn echo -e "search charite.de\nnameserver 141.42.1.1\nnameserver 141.14.16.1" | uvpn exec bash -c 'cat > /etc/resolv.conf' uvpn exec firefox --new-instance --ProfileManager uvpn exec firefox --new-instance -P charite uvpn show uvpn stop_container Because the network of the container is separate from the host system, ip based X11-forward will not work without more setup. So the above example would only work on the local workstation.
Configuration menu - View commit details
-
Copy full SHA for 02dce7b - Browse repository at this point
Copy the full SHA 02dce7bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.