VPN Connection
Get Config File
Go into https://purpleflood.touchcastmaas.dev/ and click on Sign In via SAML button
If you are already logged to teams / outlook then it will automatically redirect to logged page like this:
Download the Yourself (user-locked profile) link which will download a filename named profile-NUMBER.ovpn
Download the client for your platform, suggestion is using OpenVPN Connect v3
Connecting
Mac
TODO: someone with mac to fill the steps
Linux
To connect, use the command openvpn3 session-start --config PATH_TO_PROFILE_OVPN
for example
openvpn3 session-start --config ~/Downloads/profile-6.ovpn
It will show some information and trigger a browser window to continue with SAML authentication:
Using configuration profile from file: /home/daniel/Downloads/profile-9.ovpn
Session path: /net/openvpn/v3/sessions/48a6c142sb59bs48acsb203sebe8aba93890
Web based authentication required.
Session running, awaiting external authentication.
Further manage this session using 'openvpn3 session-manage' and 'openvpn3 session-auth'
Opening in existing browser session.
If evertything is fine will just keep a connection in the background
To check is connected, it can be checked with: openvpn3 sessions-list
----------------------------------------------------------------------------
Path: /net/openvpn/v3/sessions/48a6c142sb59bs48acsb203sebe8aba93890
Created: 2024-10-11 08:50:33 PID: 173134
Owner: daniel Device: tun0
Config name: /home/daniel/Downloads/profile-9.ovpn (Config not available)
Session name: purpleflood.touchcastmaas.dev
Status: Connection, Client connected
-----------------------------------------------------------------------------
Testing the connection
You can check your new ip at http://checkip.amazonaws.com/ and should show the openvpn ip: 172.210.61.10
Also you should be able to ping the openvpn internal server: ping 10.0.0.4
Disconnecting
Mac
TODO: someone with mac to fill the steps
Linux
To disconnect the simple way is to find the PID through openvpn3 sessions-list
In this example the PID is 173134, so kill the command with sudo: sudo kill -9 PID
Usually the first call to openvpn3 sessions-list
will show there is no info about the session, will clean it and next time is called it will show there is no session