mattlongman / Hassio-Access-Point

Hass.io addon to let you create a WiFi access point, perfect for using WiFi devices on off-grid installations.
MIT License
93 stars 66 forks source link

Feature Request: Routing client internet traffic via primary wireless connection #43

Closed MariusHerget closed 1 year ago

MariusHerget commented 1 year ago

Hey,

I have read in #13 (comment) that the internet traffics is routed through eth. I have a usecase where I want to connect to a WiFi (with a second wireless device) but still provide a hotspot for my local IoT devices (which sometimes need internet access).

Has this feature been added since the comment, and if not: Is it possible to implement this?

Best Marius

mattlongman commented 1 year ago

If you had a second (compatible) Wi-Fi card then this would theoretically be possible with some code changes. The pre-release 0.4.5 has the option to specify the 'ethernet' interface which in this case would be the Wi-Fi connection connecting to the main network.

Unfortunately, I don't have the equipment to test this.

MariusHerget commented 1 year ago

Thanks! Will check it out :)

MariusHerget commented 1 year ago

Just checked it out. Can confirm that this works!

Thank you very much!

Test Setup:
- Host Wifi via an Integrated Wifi Card (Intel Wireless-AC 3165)
- Hotspot WiFi via an TP-Link ARCHER T3U PLUS USB WiFi Antenna (rtl88x2bu chipset)