DynFi Manager Connexion Agent installation

This is the place to discuss DynFi Manager's generic questions.

Moderator: gregober

Post Reply
mojolacerator
Posts: 7
Joined: 26 Mar 2023, 20:24

DynFi Manager Connexion Agent installation

Post by mojolacerator » 26 Mar 2023, 20:26

I Get a "404" error when using the below link:

wget -O - https://dynfi.com/connection-agent/down ... staller.sh | sh

is there a link that is more updated?
Last edited by mojolacerator on 26 Mar 2023, 20:26, edited 1 time in total.
User avatar
gregober
Posts: 275
Joined: 26 Mar 2019, 15:06

Re: DynFi Manager Connexion Agent installation

Post by gregober » 26 Mar 2023, 22:34

The right path is: https://dynfi.com/files/connection-agen ... staller.sh
As on this post: https://dynfi.com/en/articles/dynfi-man ... ion-agent/

May I ask where did you find this link ?
We would need to either remove it or update It.


Thanks
User avatar
gregober
Posts: 275
Joined: 26 Mar 2019, 15:06

Re: DynFi Manager Connexion Agent installation

Post by gregober » 27 Mar 2023, 09:15

Thanks, I have fixed the link.
mojolacerator
Posts: 7
Joined: 26 Mar 2023, 20:24

Re: DynFi Manager Connexion Agent installation

Post by mojolacerator » 02 Apr 2023, 16:31

doesnt seem work


root@OPNsense:~ # wget -O - https://dynfi.com/files/connection-agent/opnsense/df conag-latest-installer.sh | sh
--2023-04-02 10:30:05-- https://dynfi.com/files/connection-agent/opnsense/dfcon ag-latest-installer.sh
Resolving dynfi.com (dynfi.com)... 213.251.152.5
Connecting to dynfi.com (dynfi.com)|213.251.152.5|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17281 (17K) [application/octet-stream]
Saving to: 'STDOUT'

- 100%[===================>] 16.88K --.-KB/s in 0s

Preparing installation...
2023-04-02 10:30:06 (272 MB/s) - written to stdout [17281/17281]

awk: can't open file sh
source line number 1
tail: illegal offset -- +
Fetching dependencies...
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
autossh: 1.4g

Number of packages to be installed: 1

16 KiB to be downloaded.
[1/1] Fetching autossh-1.4g.pkg: 100% 16 KiB 16.7kB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Installing autossh-1.4g...
[1/1] Extracting autossh-1.4g: 100%
Installing DynFi Connection Agent plugin...
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
pkg: archive_read_open_filename(/tmp/os-dfconag-1.9.txz): Unrecognized archive f ormat
pkg: No packages available to install matching '/tmp/os-dfconag-1.9' have been f ound in the repositories
User avatar
gregober
Posts: 275
Joined: 26 Mar 2019, 15:06

Re: DynFi Manager Connexion Agent installation

Post by gregober » 03 Apr 2023, 10:03

The proposed method won't work. Please just download the script and run it.

Like:

Code: Select all

root@pfsense:~# curl https://dynfi.com/files/connection-agent/pfsense/dfconag-latest-installer.sh --output /tmp/dfconag-installer.sh && sh /tmp/dfconag-installer.sh
mojolacerator
Posts: 7
Joined: 26 Mar 2023, 20:24

Re: DynFi Manager Connexion Agent installation

Post by mojolacerator » 04 Apr 2023, 02:11

nope:


root@OPNsense:~ # curl https://dynfi.com/files/connection-agen ... staller.sh --output /tmp/dfconag-installer.sh && sh /tmp/dfconag-installer.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12384 100 12384 0 0 17196 0 --:--:-- --:--:-- --:--:-- 17200
Preparing installation
Installing autossh (FreeBSD:13:amd64)
Fetching autossh-1.4g.pkg: 100% 23 KiB 23.4kB/s 00:01
Installing autossh-1.4g...
the most recent version of autossh-1.4g is already installed
Installing DynFi Connection Agent plugin
Installing dfconag-1.10...
Extracting dfconag-1.10: 100%
Could not open input file: /etc/rc.packages
=====
Message from dfconag-1.10:
User avatar
gregober
Posts: 275
Joined: 26 Mar 2019, 15:06

Re: DynFi Manager Connexion Agent installation

Post by gregober » 04 Apr 2023, 10:51

Excuse us, but what is your target system ?
  1. System
  2. Version
(We should have started with that).

On a system running OPNsense 23.1.3_4-amd64 install works perfectly:
root@firewall:~ # curl https://dynfi.com/files/connection-agen ... staller.sh --output /tmp/dfconag-installer.sh && sh /tmp/dfconag-installer.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12384 100 12384 0 0 52780 0 --:--:-- --:--:-- --:--:-- 52697
Preparing installation
Installing autossh (FreeBSD:13:amd64)
Fetching autossh-1.4g.pkg: 100% 23 KiB 23.4kB/s 00:01
Installing autossh-1.4g...
the most recent version of autossh-1.4g is already installed
Installing DynFi Connection Agent plugin
Installing dfconag-1.10...
package dfconag is already installed, forced install
Extracting dfconag-1.10: 100%
Could not open input file: /etc/rc.packages
=====
Message from dfconag-1.10:

--


Thank you for installing DynFi Connection Agent.
mojolacerator
Posts: 7
Joined: 26 Mar 2023, 20:24

Re: DynFi Manager Connexion Agent installation

Post by mojolacerator » 05 Apr 2023, 02:51

dynfi isnt in "etc " at all.



Type opnsense
Version 23.1.5_4
Architecture amd64
Commit 5aae1b41e
Mirror https://pkg.opnsense.org/FreeBSD:13:amd64/23.1
Repositories OPNsense
Updated on Sun Apr 2 10:59:55 EDT 2023
Checked on Mon Apr 3 20:11:20 EDT 2023
User avatar
gregober
Posts: 275
Joined: 26 Mar 2019, 15:06

Re: DynFi Manager Connexion Agent installation

Post by gregober » 05 Apr 2023, 10:53

I have moved this thread to the right forum.
There is a forum for "DynFi Firewall" and another one for "DynFi Manager" these are two distinct products and you must post in the right forum otherwise everyone gets confused.

Just installed connexion agent on latest OPNsense and it is working with no problem:

root@firewall:~ # wget -O - https://dynfi.com/files/connection-agen ... staller.sh | sh
wget: Command not found.
root@montmartre:~ # pkg add -f https://dynfi.com/files/connection-agen ... ag-1.9.txz
Fetching os-dfconag-1.9.txz: 100% 17 KiB 16.9kB/s 00:01
Installing dfconag-1.9...
package dfconag is already installed, forced install
Extracting dfconag-1.9: 100%
Stopping configd...done
Starting configd.
OK
=====
Message from dfconag-1.9:

--


Thank you for installing DynFi Connection Agent.
Please note that the link is different from the one initially sent which works for pfSense, not for OPNsense.
Infos on this page are generally accurate: https://dynfi.com/en/articles/dynfi-man ... ion-agent/
Post Reply