summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/README.rst
blob: f773e2f9c98ffa2909d4098644785cd8ee607901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
VPN port
--------
What's here is a quick port of the legacy bitmask_client vpn code.
It only works through the cli right now::

  bitmaskctl user create tmp_user_baz002@demo.bitmask.net --pass 1234
  signup    ok
  user      tmp_user_baz002

  bitmaskctl user auth tmp_user_baz002@demo.bitmask.net --pass 1234
  srp_token iye7s1J7M3_iCdB4gXEAhxs-if3XOCwpKNPnvTC8ycE
  uuid      b63ac83826c7e1e903ed18f6f7780491

  bitmaskctl vpn get_cert
  get_cert  ok

  bitmaskctl vpn check
  vpn_ready ok


You also might want to install the helpers (a pop-up should appear, asking for
authentication)::

  bitmaskctl vpn install
  install   ok

And finally you should be able to launch the VPN::

  bitmaskctl vpn start
  start     ok
  result    started

  bitmaskctl vpn status
  firewall  ON
  vpn       AUTH

  bitmaskctl vpn status
  firewall  ON
  vpn       CONNECTED
  ↑↑↑       11.3 K
  ↓↓↓       3.9 K


Feedback needed
---------------
Much of what's exposed in the above API should be made transparently (download
certificate). However, I prefer to test it manually before hiding it from the
CLI.

The UI integration should follow soon.

Meanwhile, please report any bugs you find with its expected behavior.