tailscale-dev/docker-guide-code-examples

Funnel not working

BaileyHelfer opened this issue · 1 comments

I sued the same compose file as shows in the example with tailscale as the sidecar proxy and mealie as the service that is being proxied. I used an Auth key and have the same container tag setup in my ACL. The serve function works but the funnel will not work.

The issue was that in my ACL I needed to either add the ip of the container or add the container tag to the ACL. Adding the container tag made more sense for my use case so this was the outcome:
nodeAttrs": [
{
// Funnel policy, which lets tailnet members control Funnel
// for their own devices.
// Learn more at https://tailscale.com/kb/1223/tailscale-funnel/
"target": ["autogroup:member"],
"attr": ["funnel"],
},
{
// Funnel policy, which lets tailnet members control Funnel
// for their own devices.
// Learn more at https://tailscale.com/kb/1223/tailscale-funnel/
"target": ["tag:container"],
"attr": ["funnel"],
},
].

Posting this if anyone else comes across a similar issue