This message was deleted.
# citrix-vad
s
This message was deleted.
m
I’m tempted to just use host files on the storefront servers so that nobody else can resolve the internal beacon, that way they will all think they are external but storefront will still see the beacon as up
m
You need to enable Optimal Gateway Routing on direct access, as stated in CTX200129. The easiest way to do that is via the GUI: 1. Open Storefron console 2. Select Stores node on the left pane 3. RIght-click on the appropriate store in the center pane 4. Select Configure Store Settings 5. Select Optimal HDX Routing on the left 6. Select the appropriate Gateway from the list and click on Manage Delivery Controllers 7. Check all the relevant sites and click OK 8. Uncheck the External Only checkbox 9. Click OK
m
beacons are so incredibly frustrating, I wish I could just force everyone to log in via the web…
m
Beacons are fairly simple. Your internal beacons should be URLs that can only be reached internally
m
right, and ZPA totally breaks that
m
Ah ZPA...
m
so what do I set for direct HDX connection? if I only have 1 delivery controller
do I set it up for the gateway or for direct?
m
gateway
Ignore the Direct HDX connection entry
m
ok, let me see if this works
m
all that matters is the optimal gateway and that you uncheck the external only checkbox
that will cause Storefront to always tell the client to go through Gateway, regardless of whether the user is logging in through SF or Gateway
m
I don’t want the user to ever hit SF at all, how do I make that happen?
m
that's a completely different thing
are you using the same URL for Storefront and Gateway?
m
no
m
if you have different URLs, then when a user enters the Gateway URL, they should go to the Gateway logon page
m
sure, but this is workspace where it then gets the config file with the sotrefront address in it and tries to talk direct to that
m
in the case users are not accessing the environment through the browser, but through CWA
then inevitably they will log on through Storefront internally
m
I think the easiest way is to just have storefront beacon be only resolvable from storefront itself via host files
m
but, their HDX sessions will be routed through the Gateway if you enable optimal gateway routing as I outlined above
m
yeah but I really don’t want to have to set up GSLB internally for storefront just so workspace app can hit it and redirect back out to the gateway because it thinks it’s internal
m
Storefront itself doesn't do anything with the beacons
the beacons are used by CWA to figure out whether it is internal or external
m
doesn’t it fail if storefront sees the beacon is down?
m
it is CWA that checks the beacons, not Storefront
m
so you can just point it to something that doesn’t exist?
and then it’ll always think it’s external?
m
technically
m
I’ll just do that then
m
the only thing is that I believe it always checks the Storefront URL as part of that process, even if it's not defined as a beacon
but it's worth a shot
m
hmmmm, host files it is then
m
again, host file entries on SF are not going to do anything for how beacons work on the client
m
if the client can’t ever resolve storefront then it’ll always think it’s external though right?
so set the beacon to the service address and have that address be non resolveable
other than to itself
m
What you would have to do is to use a Storefront base URL that cannot be resolved, and have host entries in the Storefront servers that point that base URL to themselves or the load balancing VIP. You would have to add a host record in the ADC as well to point the base URL to the LB VIP so that you can reach SF from Gateway
So for your beacons, you can have whatever dummy unresolvable URL you want for internal, and whatever resolvable URL you want for external
is there a way you can exclude the storefront URL from ZPA so external clients can access it when outside the network?
m
yeah but it’s probably more effort than the above
m
Well, in that case, I suggest to do a test with an unresolvable internal beacon to see if that is sufficient. It's been a while since I've tested this, so the resolvable base URL may or may not be an issue for you
good luck
m
it looks to be working just with the unresolvable internal beacon so I guess I’ll leave it there
r
We do this. We force all of IT to hit the Gateway. Want me to share my settings?
I can DM you and give you my settings if you want to look.
let me know
m
yeah, share away
I’m not convinced it isn’t just doing OGR at this point, I’d have to disable it and try again
I did disable it and it still works, and now it prompts me for MFA because it sees I’m going through the gateway and not via storefront. So maybe I do want OGR just so internally the okta SSO will work.
r
Just seen this. My bad man. Let me grab it
I added a DNS name on Zone that is vystarcu.org to point to the NSG gateway VIP. Then Preconfigured the Workspace to go there.
Then under the NetScaler Gateway URL/StoreFront Accounts List I put VyStarApplications;https://connect.domain.com/Citrix/VyStarApplications/discovery;On;Applications. ( GPO)
I had ask them to allow the Firewall to hit the gateway being its sits on the DMZ side.
Not sure what ZPA is though
m
it’s like a split tunnel vpn
it allows you to see inside and outside at the same time
r
oh
m
we use it to get access to internal stuff without needing a full vpn
r
oh ok.
m
but it frequently breaks shit that relies on split DNS being actually split
r
Doesn't sound like its a Citrix Admin friend lol
m
it’s not really but I think I have this all working
I just need to figure out how to cut over because everyone is currently getting stores enforced via GPO
and a lot of people are off net so can’t get GPO updates
the least messy way for end users is going to be to take over the existing URLs, but then I have to set up GSLB internally…
r
I know the beacons and stores are in HKCU, but not 100% how you would do this for off network users.
m
that’s the big issue because we injected it into hklm and they can’t override it
r
hmm
m
so we either need to touch every machine and fix it, or use the existing URLs and create the new stores with the exact same names
r
What about Netscaler Reponse to redirect the URL? Reaching here
m
that won’t work for Workspace app
r
URL rewrite, One of the two
ok
m
if everyone only used the web this would be so easy
I hate the workspace app so much, it just causes so many headaches
r
Can you export a provisioning file from Storefront, Then setup some exteranl resource. Like Sharefile. Then have them open the file? Or something similar to redo the HKML settings?
Well they might not have permissions on HKLM