Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Being able to use --tunnel-domains and --direct-domains flags in conjunction with one another when using Sauce Connect

Currently, we have multiple domains that we specify in our tunnel instances with either the --tunnel-domains flag or --direct-domains flag. We would like to the ability to use these two flags in conjunction with one another(Currently this is not possible) so that given two conflicting -d or -t parameters, the more specific domain name should win.

  • Guest
  • Feb 22 2018
  • Future consideration
  • Attach files
  • Guest commented
    February 23, 2018 17:11

    I can actually relax this to state:

    Given two conflicting --tunnel-domains or --direct-domains, an exact match beats a wildcard match. 

  • Jean Sandberg commented
    July 18, 2019 21:22

    Hello!

    Technically, you can use both parameters. If the same domain is in both, then --tunnel-domains overrides. However, we found that it's not working as expected and have an open bug for this. It seems that everything is going through the tunnel.

    Regarding wanting the exact match to beat the wildcard, that is something that we would have to add, but it makes a lot of sense and I've heard this request before. I've created a ticket in our backlog for this, but I do not have an ETA at this time.

    Best,

    Jean