mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Update openwrt readme
This commit is contained in:
parent
9e09ddc326
commit
bf0ad28b4b
|
@ -1,4 +1,4 @@
|
|||
## Instructions
|
||||
## Compilation
|
||||
|
||||
From the OpenWRT build directory:
|
||||
|
||||
|
@ -8,3 +8,11 @@ cp -r n2n/packages/openwrt package/n2n
|
|||
make menuconfig # select Network -> VPN -> n2n-edge and n2n-supernode
|
||||
make package/n2n/compile V=s
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
The edge node can be started with `/etc/init.d/edge start`.
|
||||
Its configuration file is `/etc/config/n2n-edge.conf`.
|
||||
|
||||
The supernode can be started with `/etc/init.d/supernode start`.
|
||||
Its configuration file is `/etc/config/n2n-supernode.conf`.
|
||||
|
|
|
@ -21,13 +21,8 @@
|
|||
|
||||
#ifdef N2N_HAVE_AES
|
||||
|
||||
#ifdef USE_LIBCRYPTO_PATH
|
||||
#include <crypto/aes.h>
|
||||
#include <crypto/sha.h>
|
||||
#else
|
||||
#include <openssl/aes.h>
|
||||
#include <openssl/sha.h>
|
||||
#endif
|
||||
|
||||
#define N2N_AES_TRANSFORM_VERSION 1 /* version of the transform encoding */
|
||||
#define N2N_AES_IVEC_SIZE (AES_BLOCK_SIZE)
|
||||
|
|
Loading…
Reference in New Issue
Block a user