Skip to content
Snippets Groups Projects
Commit 6213a84a authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

...

parent 782db3e6
No related branches found
No related tags found
No related merge requests found
...@@ -115,14 +115,16 @@ Select node type (or node role) from suggested list with short descriptions. By ...@@ -115,14 +115,16 @@ Select node type (or node role) from suggested list with short descriptions. By
#### Node base configuration #### Node base configuration
Open ```/opt/cellframe-node/etc/cellframe-node.conf``` with command ```sudo nano /opt/cellframe-node/etc/cellframe-node.conf``` and find next section: Open ```/opt/cellframe-node/etc/cellframe-node.conf``` with command ```sudo nano /opt/cellframe-node/etc/cellframe-node.conf``` and find next section:
```# VPN stream channel processing module ```
# VPN stream channel processing module
[srv_vpn] [srv_vpn]
# Turn to true if you want to share VPN service from you node # Turn to true if you want to share VPN service from you node
enabled=false enabled=false
# List of loca security access groups. Built in: expats,admins,services,nobody,everybody # List of loca security access groups. Built in: expats,admins,services,nobody,everybody
network_address=10.11.12.0 network_address=10.11.12.0
network_mask=255.255.255.0 network_mask=255.255.255.0
#pricelist=[kelvin-testnet:0.00001:KELT:3600:SEC:mywallet0,kelvin-testnet:0.00001:cETH:3600:SEC:mywallet1,private:1:WOOD:10:SEC:mywallet0]``` #pricelist=[kelvin-testnet:0.00001:KELT:3600:SEC:mywallet0,kelvin-testnet:0.00001:cETH:3600:SEC:mywallet1,private:1:WOOD:10:SEC:mywallet0]
```
Turn ```enabled``` parameter to ```true``` thats enable VPN service on your node. Then, the next lines ```network_address``` and ```network_mask``` usualy you don't need to touch. Default configuration reserves network addresses for 254 connections at one time, if you have more - change network mask to smth like ```255.255.0.0``` and network address to ```10.11.0.0``` thats gives you 4095 local addresses. Turn ```enabled``` parameter to ```true``` thats enable VPN service on your node. Then, the next lines ```network_address``` and ```network_mask``` usualy you don't need to touch. Default configuration reserves network addresses for 254 connections at one time, if you have more - change network mask to smth like ```255.255.0.0``` and network address to ```10.11.0.0``` thats gives you 4095 local addresses.
Thats important - all the addresses are local and used only inside virtual private network (VPN). For this address and mask also should be configured OS - should be present DNS server, switched on IP4 forwarding and configured NAT. Example of such configurations are below: Thats important - all the addresses are local and used only inside virtual private network (VPN). For this address and mask also should be configured OS - should be present DNS server, switched on IP4 forwarding and configured NAT. Example of such configurations are below:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment