Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mxtools/uvpn/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (20 sloc)
1.05 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Container im Gästenetz starten: | |
uvpn start # richtet den container im gästenetz ein | |
Spezial für Charite wegen ihres Splitbrain-DNS Container anpassen: | |
echo -e "search charite.de\nnameserver 141.42.1.1\nnameserver 141.14.16.1" | uvpn exec bash -c 'cat > /etc/resolv.conf' | |
Dann im Container VPN starten: | |
uvpn exec openvpn ~/.charite-musterfrau.ovpn | |
Da das `openvpn` im Vordergrund bleibt, entweder mit Ctrl-Z und "bg" in den | |
Hintergrund schicken oder einfach in einem anderen Terminal weitermachen. | |
Neuen Browser im Container starten, um Profil einzurichten (einmalig): | |
uvpn exec firefox --new-instance --ProfileManager | |
Da kannst dann charite-zeugs einstellen, insbesondere deren Zwangs-proxy. | |
Testseite: http://vpntest.charite.de | |
Bei späteren Aufrufen kannst du das oben erstellte Browser-Profil auch direkt | |
starten: | |
uvpn exec firefox --new-instance -P charite | |
Das Stoppen des VPNs funktioniert mit ^C im OpenVPN-Fenster. Der folgende | |
Befehl beendet auch alles. | |
uvpn stop | |
Zum Sehen, ob da noch was läuft, gibt’s noch | |
uvpn show |