Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuba2k2/docker-mqtt-vpn
A Docker wrapper for MQTT_VPN.
https://github.com/kuba2k2/docker-mqtt-vpn
cgnat docker docker-compose esp8266 mqtt vpn
Last synced: 17 days ago
JSON representation
A Docker wrapper for MQTT_VPN.
- Host: GitHub
- URL: https://github.com/kuba2k2/docker-mqtt-vpn
- Owner: kuba2k2
- Created: 2021-09-22T20:07:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-22T20:08:08.000Z (over 3 years ago)
- Last Synced: 2024-11-03T22:24:46.458Z (2 months ago)
- Topics: cgnat, docker, docker-compose, esp8266, mqtt, vpn
- Language: Shell
- Homepage: https://hub.docker.com/r/kuba2k2/mqtt-vpn
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MQTT_VPN for Docker
A Docker wrapper for [MQTT_VPN](https://github.com/martin-ger/MQTT_VPN), `IP over MQTT for ESP controllers and Linux`.## Usage
With Docker Compose:
```yml
version: "3.9"
services:
mqtt:
environment:
# uncommented fields are required, all other optional# Name of interface to use (mandatory)
- IF_NAME=mq0
# IP address of interface to use (mandatory)
- IF_IP=10.2.0.1
# Address of MQTT broker (like: tcp://broker.io:1883) (mandatory)
- BROKER=example.com# Netmask of interface to use (default 255.255.255.0)
# - NETMASK=
# user of the MQTT broker
# - USERNAME=
# password of the MQTT broker user
# - PASSWORD=
# preshared key for all clients of this VPN (no password = no encryption, default)
# - SECRET=
# IPv6 address of interface to use
# - IF_IPV6=
# prefix length of the IPv6 address (default 64)
# - PREFIX=
# ID of MQTT client (MQTT_VPN_)
# - CLIENTID=
# IP address of a target to NAT
# - NAT_IP=
# outputs debug information while running
# - DEBUG=1image: kuba2k2/mqtt-vpn:latest
network_mode: "host"
container_name: mqtt-vpn
cap_add:
- NET_ADMIN
restart: unless-stopped
```