openfortivpn icon indicating copy to clipboard operation
openfortivpn copied to clipboard

Possibly caching issue ? pppd-ipparam

Open jseifeddine opened this issue 8 months ago • 0 comments

@adrienverge @tomaszkubacki

Thank you for this software and doc ❤️

I followed this method-one---short-version---pass-routes-by-pppd-ipparam

just one comment,

I made a change to pppd-ipparam in /opt/homebrew/etc/openfortivpn/openfortivpn/config

From:

pppd-ipparam=100.100.100.82

To:

pppd-ipparam=100.100.100.80

Problem

it seems to be caching that somewhere ?

restarted, stopped, started,

it's still showing the old route in netstat -rn

➜  ~ netstat -rn | grep 100.100.100.
100.100.100.82      link#20            UHWIig               ppp0       
➜  ~ brew list --versions|grep forti
openfortivpn 1.22.1

➜  ~ sw_vers
ProductName:		macOS
ProductVersion:		14.5
BuildVersion:		23F79

Maybe an issue with brew service, but i doubt that, as its pointing to the config file

==> /bin/launchctl list homebrew.mxcl.openfortivpn
{
	"StandardOutPath" = "/opt/homebrew/var/log/openfortivpn.log";
	"LimitLoadToSessionType" = "System";
	"StandardErrorPath" = "/opt/homebrew/var/log/openfortivpn.log";
	"Label" = "homebrew.mxcl.openfortivpn";
	"OnDemand" = false;
	"LastExitStatus" = 0;
	"PID" = 51693;
	"Program" = "/opt/homebrew/opt/openfortivpn/bin/openfortivpn";
	"ProgramArguments" = (
		"/opt/homebrew/opt/openfortivpn/bin/openfortivpn";
		"-c";
		"/opt/homebrew/etc/openfortivpn/openfortivpn/config";
	);
};

jseifeddine avatar Jun 20 '24 11:06 jseifeddine