aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: af84a5c70a58aa029d9d6418dfb53c92b0f988a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Diplonat
========

## Feature set

 * [ ] (Re)Configure NAT via UPNP/IGD (prio: high)  
 * [ ] (Re)Configure nftable (prio: low)  
 * [ ] (Re)Configure DNS via ??? (prio: low)  

## Operate

```bash
cargo build
consul agent -dev # in a separate terminal

# adapt following values to your configuratio
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 RUST_LOG=debug
cargo run
```