support setting client network interface by name #6383
Labels
enhancement
good first issue
Good for newcomers
Hacktoberfest
We think it's good for https://hacktoberfest.digitalocean.com/
need pull request
Is your feature request related to a problem?
While setting the target interface's ip should work in most cases, it's possible that multiple devices have the same ip.
Also i'm having trouble using a wireguard vpn when i set Table=off. Table=off disables setting up the routes for the vpn and it justs shows up as a regular device. The connection is fine as pycurl can access it when i set the device but aiohttp fails. probably related but not directly.
Describe the solution you'd like
Users should be able to set the inet device directly.
Describe alternatives you've considered
UnixConnector seems like a good starting place.
loop.create_connection with (socket.SOL_SOCKET, socket.SO_BINDTODEVICE, iface) inspired from here also seems like a good idea
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: