Modular Diplonat (with the option to disable useless modules) #8
1 changed files with 6 additions and 3 deletions
|
@ -40,10 +40,13 @@ cargo build
|
||||||
consul agent -dev # in a separate terminal
|
consul agent -dev # in a separate terminal
|
||||||
|
|
||||||
# adapt following values to your configuration
|
# adapt following values to your configuration
|
||||||
export DIPLONAT_PRIVATE_IP="192.168.0.18"
|
|
||||||
export DIPLONAT_REFRESH_TIME="60"
|
|
||||||
export DIPLONAT_EXPIRATION_TIME="300"
|
|
||||||
export DIPLONAT_CONSUL_NODE_NAME="lheureduthe"
|
export DIPLONAT_CONSUL_NODE_NAME="lheureduthe"
|
||||||
|
export DIPLONAT_FIREWALL_ENABLE="true"
|
||||||
|
export DIPLONAT_FIREWALL_REFRESH_TIME="300"
|
||||||
|
export DIPLONAT_IGD_ENABLE="true"
|
||||||
|
export DIPLONAT_IGD_PRIVATE_IP="192.168.0.18"
|
||||||
|
export DIPLONAT_IGD_REFRESH_TIME="60"
|
||||||
|
export DIPLONAT_IGD_EXPIRATION_TIME="300"
|
||||||
export RUST_LOG=debug
|
export RUST_LOG=debug
|
||||||
cargo run
|
cargo run
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue