Open danield555 opened 11 months ago
Running in userspace mode means that the other processes running in the Action would need to support SOCKS5 or HTTP proxies and set their ALL_PROXY
or HTTP_PROXY
to point to the localhost port where the tailscaled
has been set to listen, like --socks5-server=localhost:1055 --outbound-http-proxy-listen=localhost:1055
https://tailscale.com/kb/1112/userspace-networking/
We focus on having the Action run in TUN mode because it makes all sockets-based applications in the GitHub runner work. Support for SOCKS5/HTTP_PROXY in apps isn't universal.
as soon as I add the --tun=userspace-networking the tailscale works, but... I needed to add --exit-gateway="xx" to exit from a specific ip to a service, and the exit gateway is not taken into account when using networking mode ?
This relates to #113 about not working with curl being missing. That's another assumption that may not be true within a container, along with sudo
possibly not being there either.
to reproduce, see the workflow example :