synaesthesia Posted January 15, 2013 Posted January 15, 2013 Hi folks, this is half a HAP question and half RDWeb so not sure if this is the right place. Feel free to move around if need be. Anyway, does anyone happen to have a fully usable guide on getting this working properly? Using HAP 8.5 with good success (damn it's easy, staff love it!). Intention is to have SIMS published as a remoteapp to it. Got as far as generation an .rdp file which after reading up other threads here we got working, but only internally. Externally it doesn't find the server name. My knowledge of RemoteApps and this area in general is very patchy at best so wasn't sure if we'd set it up right. HAP is set up on our remote server as the default website and that seems to break RDWeb Access (couldn't access the config page for instance) - but then I still wasn't sure if we needed to even touch RDWeb if we had the .RDP file. Obviously I'm very near clueless on this - any help would be gratefully received!
nickbro Posted January 15, 2013 Posted January 15, 2013 (edited) This is my SIMS RDP file, note I use a launcher program that maps the S:\ drive redirectclipboard:i:1 redirectposdevices:i:0 redirectprinters:i:1 redirectcomports:i:1 redirectsmartcards:i:1 devicestoredirect:s:* drivestoredirect:s:* redirectdrives:i:1 session bpp:i:32 prompt for credentials on client:i:1 span monitors:i:1 use multimon:i:1 remoteapplicationmode:i:1 server port:i:3389 allow font smoothing:i:1 promptcredentialonce:i:1 authentication level:i:2 gatewayusagemethod:i:2 gatewayprofileusagemethod:i:1 gatewaycredentialssource:i:0 full address:s:{INTERNAL NETWORK ADDRESS} alternate shell:s:||SIMS Remote remoteapplicationprogram:s:||SIMS Remote gatewayhostname:s:{GATEWAY SERVER} remoteapplicationname:s:SIMS.net Remote remoteapplicationcmdline:s: alternate full address:s:{INTERNAL NETWORK ADDRESS} Note the gateway host name, which is your server with the RDP Gateway installed Edited January 15, 2013 by ZeroHour removed school ref's - ZH
edutech4schools Posted January 15, 2013 Posted January 15, 2013 That is odd, I am also setting up rdweb apps to work over HAP and get an error when using externally. I will be watching this thread.
synaesthesia Posted January 15, 2013 Author Posted January 15, 2013 (edited) Still no luck, even making the mods from your RDP file, Nick. Made sure the RDP port is open for the server too (and confirmed). This is (edited) ours: redirectclipboard:i:1 redirectposdevices:i:0 redirectprinters:i:1 redirectcomports:i:1 redirectsmartcards:i:1 devicestoredirect:s:* drivestoredirect:s:* redirectdrives:i:1 session bpp:i:16 prompt for credentials on client:i:1 span monitors:i:1 use multimon:i:1 remoteapplicationmode:i:1 server port:i:3389 allow font smoothing:i:1 promptcredentialonce:i:1 authentication level:i:2 gatewayusagemethod:i:2 gatewayprofileusagemethod:i:1 gatewaycredentialssource:i:0 full address:s:servername.domain.internal alternate shell:s:||SIMS remoteapplicationprogram:s:||SIMS gatewayhostname:s:{GATEWAY SERVER} remoteapplicationname:s:SIMS .net remoteapplicationcmdline:s:"C:\Program Files (x86)\SIMS\SIMS .net\Pulsar.exe" alternate full address:s:servername.domain.internal Works perfectly internally - hence I suspect it's something more the RD side of things. Edited January 15, 2013 by ZeroHour removed school ref - ZH
nickbro Posted January 15, 2013 Posted January 15, 2013 It'll be the RDP gateway, make sure it's configured and has the SSL certificate installed that matches HAP 1
synaesthesia Posted January 16, 2013 Author Posted January 16, 2013 Got it! And tested great RDP file now looks like this: redirectclipboard:i:1 redirectposdevices:i:0 redirectprinters:i:1 redirectcomports:i:1 redirectsmartcards:i:1 devicestoredirect:s:* drivestoredirect:s:* redirectdrives:i:1 session bpp:i:16 prompt for credentials on client:i:1 span monitors:i:0 use multimon:i:0 remoteapplicationmode:i:1 server port:i:3389 allow font smoothing:i:1 promptcredentialonce:i:1 authentication level:i:2 gatewayusagemethod:i:2 gatewayprofileusagemethod:i:0 gatewaycredentialssource:i:0 full address:s:hap.school.northants.sch.uk alternate shell:s:||SIMS remoteapplicationprogram:s:||SIMS gatewayhostname:s:hap.school.northants.sch.uk remoteapplicationname:s:SIMS .net remoteapplicationcmdline:s:"C:\Program Files (x86)\SIMS\SIMS .net\Pulsar.exe" alternate full address:s:hap.school.northants.sch.uk Basically everything is pointing externally now. No real change to configuration other than changing around some internal DNS which may or may not have had any effect (TTL is too long to warrant testing a change) - rather than having A records pointing our external domain name to our internal address (let's face it, our router does that anyway so there's no need for that to exist) we've now got a CNAME pointing external domain name to internal domain name. That's probably better practice anyway really as it forces it through DNS here. So, job's a gooden! Thanks for the input Also learned that RDP files by default use current monitor configuration, so when using dual monitor setups it throws that in for some unusual results too
nickbro Posted January 16, 2013 Posted January 16, 2013 Odd, dual monitors works very well with RDP files and me, I can drag SIMS from one monitor to another like I do with any other application at home
synaesthesia Posted January 16, 2013 Author Posted January 16, 2013 Not moaning at all - it does work wonderfully, but it creates the setup on a dual monitor system and when you go to a single monitor it tries to "split" teh screen between the two. Not a problem
nickbro Posted January 16, 2013 Posted January 16, 2013 Ah, I've never tried to resume a session on a single screen.
synaesthesia Posted January 16, 2013 Author Posted January 16, 2013 (edited) One last annoyance I can't quite shake. There's a rogue SSL certificate being punted with the RDP file somewhere. SSL is perfect for everything else but it's got a locally signed one for our server (internal network name) which obviously is no good for external connections. Certificate being punted isn't in the list of certificates on the server on IIS nor is it called by the RDP file, digital signatures or remote gateway setup. Argh! So close to perfection. *** Update: Found the little chuffer! Session host configuration, the little unassuming "Certificate" option down the bottom! Edited January 16, 2013 by synaesthesia
nickbro Posted January 16, 2013 Posted January 16, 2013 yep that's the one, but it needs to match the server name
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now