My client is using Fortinet to connect to their server. However, they sent me a Fortinet client for Windows 😅. I Googled it and found a way to install Fortinet on my Ubuntu, but it seems like their repository is down at the time of writing this post.
Out of curiosity, I wondered if someone had already dockerized Fortinet. And yes! I found a working and well-maintained version on Github.
Here’s how I set up Fortinet on my Ubuntu using Docker:
Sometimes, Fortinet seems to hang up for no apparent reason. In such cases, we need to --force-recreate the container to restart it.
Now, all I need to do is connect to my client’s server via the proxy exposed from the Docker, which is 127.0.0.1:1080.
To make things easier, I created a Makefile as shortcut: