-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple variants of similar hostnames? #63
Comments
See #57. You can't do a |
I think the curly-brace expansion is not part of POSIX, and off the top of my head, I think bash and zsh support it but dash (which is |
Well I was trying to avoid listing them specifically overall, since they are like double digits per env, 4 envs + like 10-20 outside those environments, like git, jira, wikies, logs and so on. and i don't even know all of them on top of my head... so if i miss one, something will break at some point for not being able to make a call. i guess i have to check if we have a list with all link somewhere in the wiki base, but i doubt it. and i'm using separate file to list them and can easily edit it so it's not the "physical" length of that list i'm worried about, but that i will miss a couple. what about the exclusions? i saw a discussion about it, is it working? so i can say don't use youtube, stackoverflow, udemy, pluralsight, facebook and so on for the vpn. it would be easier for me than listing all that should be used :D and even if i "miss" something i'm using fairly often it would just use the vpn and still work :D |
It sounds like you might be interested in the fancy-split-DNS proposed feature. I don't think @dlenski has made a final determination about whether or not this feature is really in scope for vpn-slice, but you might find the discussion on those issues informative. |
There's simply no way to implement this. DNS doesn't support wildcard queries.
Patches with a well-considered user interface are welcome. @gmacon is right that implementing this in a generalized way based on domain names rather than IP addresses will/would require new features that are rather far beyond the complexity and scope of what vpn-slice offers now. |
Hi, So I'm new to the vpn configurations like this and networking in general, so I could be asking a very stupid question, but can I configure this to use multiple hostnames that are similar. I'm trying to connect to my office network, and we have things like
account.dev.mycompany.com
,addressbook.dev.mycompany.com
,cart.dev.mycompany.com
and so on...so can i do something like a wildcard?
*.dev.mycompany.com
... (i mean not exactly like that... but you get the point)since those are different services they are on different IPs, so i can't just add XXX.XXX.XXX.XXX and be done with it.
or just somehow tell it to use all local resources?
I see there is also a discussion about exclusions... i guess this could also work for me. i would just add exclusions to my most frequently used sites outside of the corporate ones, and just be content with the rest being routed through the corporate network... but i'm not sure if it's implemented?
The text was updated successfully, but these errors were encountered: