Browse Source

More minor formatting changes

pull/2/head
Babak Farrokhi 8 years ago
parent
commit
0ee9e5b59e
No known key found for this signature in database GPG Key ID: 6B267AD85D632E9A
  1. 15
      README.md

15
README.md

@ -9,13 +9,16 @@ community.
0. become root 0. become root
1. create tun device 1. create tun device: `$ tunctl -t tun0`
`$ tunctl -t tun0`
2. enable the edge process 2. enable the edge process
`$ ./edge -d n2n0 -c mynetwork -k encryptme -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw` ```
or $ ./edge -d n2n0 -c mynetwork -k encryptme -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw
`$ N2N_KEY=encryptme ./edge -d n2n0 -c mynetwork -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw` ```
or
```
$ N2N_KEY=encryptme ./edge -d n2n0 -c mynetwork -u 99 -g 99 -m 3C:A0:12:34:56:78 -a 1.2.3.4 -l a.b.c.d:xyw
```
Once you have this worked out, you can add the `-f` option to make edge detach Once you have this worked out, you can add the `-f` option to make edge detach
and run as a daemon. and run as a daemon.
@ -47,7 +50,7 @@ You may choose to install edge SUID-root to do this:
1. Become root 1. Become root
2. `chown root:root edge` 2. `chown root:root edge`
3. `chmod +s edge` 3. `chmod +s edge`
done 4. done
Any user can now run edge. You may not want this, but it may be convenient and Any user can now run edge. You may not want this, but it may be convenient and
safe if your host has only one login user. safe if your host has only one login user.

Loading…
Cancel
Save