0

I know this will be a bit of a stretch but...

So I'm running ArchLinux on a Desktop PC with an i5, RX 6800, and a Realtek Wifi card from TP Link.

I installed the linux wifi hotspot AUR package and changed create_ap.conf to not virtualise the AP network as the Wifi card doesn't support it, the source is eno1 (ethernet jack), and enabled the create_ap service. So far no problèmes.

Do make clients on the AP network able to communicate with services running on the host I created a macvlan through nmcli that makes this possible. It has the static 192.168.1.2 IP. And it works my phone can ping services on the AP host via this IP.

Now to the problem in docker, I want to serve my containered services to Wifi clients as different "devices" on the wifi network (just giving them unique IPs basicly). I tried using docker macvlan L2 directly on the AP host interface (wlp5s0) and IPs and Macadresses work fine, my wifi clients communicate with the containers fine, and as create AP manages the NAT for the network internet access should be fine. Well no it's not, I don't get outgoing internet on the containers which is a problem as I try to use Pihole as the DHCP and DNS server for this network and just because other containers I want to communicate with the outside world can't.

I also tried ipvlan broth l2 and l3 and settings the parent as wlp5s0 just doesn't work (ressource is busy) and setting the parent as the macvlan bridge between the host and AP yields the same results as using macvlan directly.

New contributor
Benoît Roumain is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.