The AWS VPN is a hosted VPN in the AWS cloud.
To download the client, use the Okta Chicklet.
File > Manage Profiles
~/.config/AWSVPNClient/OpenVpnConfigs
Replace 192.168.1.0 with your home network and add to the .ovpn file and import.
route 192.168.1.0 255.255.255.0 net_gateway
(Fred's note: this shouldn't be necessary, but is also a good way to force certain networks out locally)
By default DNS resolution doesn't work on Ubuntu. Try this command to see if it resolves the issue temporarily: `resolvectl domain tun0 "~pvt.xdrtest.accenturefederalcyber.com"
FIX: add dhcp-option DOMAIN pvt.xdrtest.accenturefederalcyber.com
to your config file.
host
Rick Page experienced this. He could connect. He could ping both public and private IP addresses. But his machine wouldn't resolve any hostnames.
Here's his fix:
I got it working. TL;DR: OS X Network stack is a jerk, refuses to update DNS servers - but destroying and recreating “Wifi service” in sys pref more than once seemed to do the trick
I think “Wifi Service” in OS X was refusing to let AWS VPN client update DNS servers. First I decided to try and manually update my DNS from comcast to opendns and noticed it always reverted back to comcast; I fought the UI to create a new Wifi service that uses Manual IP + OpenDNS – this let me ping yahoo.com but not XDR sites ofc; After recreating Wifi service with DHCP + comcast DNS (to show you my “progress” by comparing), I noticed nslookup showed me 10.40.2.X finally – so now it works! Until this point I think the client was not able to change the DNS setting, or perhaps it was even being changed back somehow
Takeaways
- Using DHCP wont let “me” set DNS server, they revert back automatically (but see 4)
- Using OpenDNS and not comcast let me ping yahoo.com but not XDR server, ofc. Thinking comcast DNS is wonky, which happens frequently.
- Using manual IP seemed to let me control DNS but not let AWS VPN update DNS either (but again see 4)
- After destroying and recreating Wifi Service (iirc, 3rd time), using DHCP + comcast DNS let me connect to the AWS VPN – critically, it updated this DNS this time, so I can access XDR network now. (Don’t update, don’t have multiple, destroy all of them completely or else OS X hangs on to old DNS setting even after VPN)