Compare commits
2 Commits
323db065ad
...
0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 868a80f527 | |||
| 07d282555c |
18
README.md
18
README.md
@@ -36,24 +36,14 @@ In case routes clash or cant be added to Wireguard, Warnings will be logged.
|
||||
|
||||
## 1.2. Install
|
||||
|
||||
### 1.2.1. Environment
|
||||
|
||||
Variable|Description|Default
|
||||
-|-|-
|
||||
`INTERFACE`* | Wireguard-Interface Name |
|
||||
`FILTER_PROTOCOL` | Protocol to react on | All
|
||||
`FILTER_TABLE` | Table to react on | All
|
||||
|
||||
*\* Required*
|
||||
|
||||
<br>
|
||||
|
||||
### 1.2.2. Docker
|
||||
### 1.2.1. Docker
|
||||
|
||||
Depending on the needs, the Container can be run in `network_mode: host` to be able to accessrouting-tables and interfaces of the host.
|
||||
|
||||
Additionally the capability `NET_ADMIN` is required for interacting with interfaces.
|
||||
|
||||
<details><summary><code>docker-compose.yml</code></summary>
|
||||
|
||||
```yaml
|
||||
@@ -63,9 +53,7 @@ services:
|
||||
routingTableWGTranslator:
|
||||
image: ruakij/RoutingTableWGTranslator
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
network_mode: "host"
|
||||
environment:
|
||||
- INTERFACE="<wgInterfaceName or empty for wg0>"
|
||||
```
|
||||
@@ -73,7 +61,7 @@ services:
|
||||
|
||||
<br>
|
||||
|
||||
### 1.2.3. Without Docker
|
||||
### 1.2.2. Without Docker
|
||||
|
||||
Clone the Repository `git clone <URI>` and build the Program with `go build cmd/app`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user