-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from mariux64/add-readme-for-uvpn
Add `README.md` for uvpn
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
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 |