S
S
saibaneko2018-05-11 13:40:32
linux
saibaneko, 2018-05-11 13:40:32

SoftetherVPN + dnsmasq on Docker. How to connect?

Colleagues, tell me, please. Maybe someone set up a bunch of Softether with LocalBridge in Docker? How to forward the tap interface and tell dnsmasq about it in another container.
That is, what we have:
1. Container with softether. We create a tap interface in it.
As I understand it, for this you need to run docker run -d --cap-add NET_ADMIN --device /dev/net/tun:/dev/net/tun
2. Container with dnsmasq. I don’t really understand how to tell him from tap in the first container. Also run docker run -d --cap-add NET_ADMIN --device /dev/net/tun:/dev/net/tun?
Or in both cases, you need to run with docker --network host to simplify the situation?
In short, I am swimming in the question. Help advice!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question