How to install TrackIT-PortGuard

Minimum Requirements

- Latest or at least a FreeBSD 12, Windows 7, Linux Kernel 3.16, GLIBC 6 installed onto your target machine with virtualisation capable amd64 architecture.
- Minimum 64MB of free space on /var/lib for the binaries
- Networking

Prerequisites

- Ensure that you are not lock out yourself.

Installation on Windows

                # 1) Log in to your Windows Box and download the zip file, enter installers/windows and run setup.exe
                



Installation on *nix systems

    # 1) Log in to your FreeBSD, Linux Box and bring-up a root shell
        root@vmhost:~ #

    # 2) Download the latest release
        wget https://portguard.npulse.net/release.zip or download manually from github page
        or in FreeBSD: fetch https://portguard.npulse.net/release.zip or download manually from github page

    # 3) Extract the archive you have downloaded
        unzip release.zip
        
        root@vmhost:~# unzip release.zip
            Archive:  release.zip
            creating: release/
        extracting: release/CHANGELOG
        extracting: release/LICENSE
            creating: release/samples/
        extracting: release/samples/ip_allow.txt
        extracting: release/samples/index.php
        extracting: release/samples/main.conf
            creating: release/installers/
            creating: release/installers/FreeBSD/
            creating: release/installers/FreeBSD/lib/
        extracting: release/installers/FreeBSD/lib/freebsd.64
        extracting: release/installers/FreeBSD/lib/freebsd.32
        extracting: release/installers/FreeBSD/rc.conf.trackit
        extracting: release/installers/FreeBSD/setup.32
        extracting: release/installers/FreeBSD/setup.64
        extracting: release/installers/FreeBSD/trackit.init
            creating: release/installers/Linux/
            creating: release/installers/Linux/lib/
        extracting: release/installers/Linux/lib/centos.64
        extracting: release/installers/Linux/lib/centos.32
        extracting: release/installers/Linux/setup.64
        extracting: release/installers/Linux/trackit-portguard.service
        extracting: release/installers/Linux/setup.32
            creating: release/installers/Windows/
        extracting: release/installers/Windows/setup.exe
            creating: release/installers/OldLinux/
            creating: release/installers/OldLinux/lib/
        extracting: release/installers/OldLinux/lib/debian.64
        extracting: release/installers/OldLinux/lib/debian.32
        extracting: release/installers/OldLinux/setup.debian.32
        extracting: release/installers/OldLinux/setup.debian.64
        extracting: release/installers/OldLinux/trackit.init.debian
            creating: release/installers/RaspberryPI32/
            creating: release/installers/RaspberryPI32/lib/
        extracting: release/installers/RaspberryPI32/lib/debian.32
        extracting: release/installers/RaspberryPI32/setup.debian.32
        extracting: release/installers/RaspberryPI32/trackit.init.debian     
             
    
    # 4) Enter installers/{OS} folder and run setup.{arch} script
        
            root@vmhost:~# cd release/installers && ls -la
            drwxr-xr-x  7 root  wheel  512 Feb  4 17:33 .
            drwxr-xr-x  4 root  wheel  512 Feb  4 17:33 ..
            drwxr-xr-x  3 root  wheel  512 Feb  4 17:33 FreeBSD
            drwxr-xr-x  3 root  wheel  512 Feb  4 17:33 Linux
            drwxr-xr-x  3 root  wheel  512 Feb  4 17:33 OldLinux
            drwxr-xr-x  3 root  wheel  512 Feb  4 17:33 RaspberryPI32
            drwxr-xr-x  2 root  wheel  512 Feb  4 17:33 Windows
            

            root@vmhost:~# cd freebsd && ls -la
            total 28
            drwxr-xr-x  3 root  wheel  512 Jan 26 12:04 .
            drwxr-xr-x  7 root  wheel  512 Jan 26 12:04 ..
            drwxr-xr-x  2 root  wheel  512 Jan 26 12:04 lib
            -rw-r--r--  1 root  wheel   30 Jan 23 15:57 rc.conf.trackit
            -rwxr-xr-x  1 root  wheel  360 Jan 23 15:57 setup.32
            -rwxr-xr-x  1 root  wheel  360 Jan 23 15:57 setup.64
            -rwxr-xr-x  1 root  wheel  816 Jan 23 15:57 trackit.init
        
            root@vmhost:~# ./setup.64
            [N] 2023-01-26 12:07:38 | Kinga-Framework | 2023/01-11@build-229/FreeBSD64-L
            [N] 2023-01-26 12:07:38 | Product Name    | Trackit-Client
            [N] 2023-01-26 12:07:38 | Description     | Trackit-2023 PortGuard
            [N] 2023-01-26 12:07:38 | License         | Licensed as Community/Free
            [N] 2023-01-26 12:07:38 | Copyright       | Copyright for nPulse.net
            [N] 2023-01-26 12:07:38 | Guardian | Create Process, PID: 52994
            [N] 2023-01-26 12:07:38 | SW | VFS:BuiltIn Loaded
            [N] 2023-01-26 12:07:38 | ThreadPool | 10/10 Threads initialised
            [N] 2023-01-26 12:07:38 | LVM::MAIN | Initialising ..
            [E] 2023-01-26 12:07:38 | CONF | Unable to load, file is not accessible: main.conf
            [N] 2023-01-26 12:07:38 | CONF | Not Found: security->secret
            [N] 2023-01-26 12:07:38 | CONF | Not Found: security->api_key
        
        
            ----->>>    Please configure settings in main.conf file, then re-run this application!
        
        
            [N] 2023-01-26 12:07:40 | SW | Program exited gracefully...
       
    # 5) Enter a path (default: /var/lib/nPulse/trackit-portguard) where you can find  main.conf, edit and save.

    # 6) Start service with service trackit-portguard start
     
    # 7) You are fine now, software is running on the background.