-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] Can't execute /etc/ppp/ip-up: Permission denied #768
Comments
Could you please run openfortivpn directly from the command line (verbose mode) and send the sanitized output? Alternatively report issues to the NetworkManager-fortisslvpn site. Clearly this is an issue with
|
Hi @DimitriPapadopoulos ,
So it is identical, I did open a issue on NetworkManager-fortisslvpn and they sugested I should look into this issue and indeed that issue kind of looks like something I am having but don't really know what to try/do next |
I'm not sure #503 is related, as far as I can tell the error messages are different:
Strange. If I recall correctly, both |
It's best to run openfortivpn from the command line, make sure it works. Then try a few variations of the options until we can reproduce the issue. If we cannot reproduce it, then it's really up to the NetworkManager or more probably Manjaro guys. |
Also report the output of:
|
I will run openfortivpn on it's own and see if everything works correctly and report back |
So I used the openfortivpn as you sugested, and I can connect to the vpn but I cannot access any internal websites.
In the config file I only specified the host, port, username, password and the trusted cert. |
The warning about the already existing gateway route makes me wonder what is going wrong, especially since it is issued twice. Does it look differently on a freshly booted system? |
Today I booted my system and tried it again. the console output is exactly the same and I cannot access internal services. So I don't know why. |
OpenFortiGUI uses openfortivpn internally. The only reasons why openfortivpn would fail are:
The warnings are suspect indeed, something might be wrong with routing but it's hard to tell from the existing data. Perhaps you can show the output of Also just to make sure this is a routing problem and not a DNS problem, can you try to access internal services by IP address instead of DNS name? |
As far as I can tell you're running openfortivpn 1.14.1. OpenFortiGUI sources have been updated to openfortivpn 1.14.1 between 0.9.0 and 0.9.1-dev. Which version of OpenFortiGUI are you running? |
I use the latest version of openfortigui that is available in the AUR repository aka 0.9.0-2. So I think it uses openfortivpn 1.14.1 As for the output of route and ifconfig:
|
As far as I can see OpenFortiGUI 0.9.0-2 uses openfortivpn 1.14.0. Anyway, there are few differences between the 0.14 versions so it's certainly not relevant. |
As for the
Also have you tried this?
|
@Mihai-B In one of your previous (edited) comments you had mentioned:
Is it still the case? Could you try adding |
OMG this was a fail moment from me. Sry about that. so here is the before and after of ip route command
and after:
The
I do not have
Yes I can access the services if I use directly the IP |
I did add, that is why I edited my reply, because I added it and it was the same result |
Ah, then it's probably a DNS issue, not a routing issue. Can you show |
And also |
Could you also show the output of:
Where The |
and
After VPN connection:
and
|
I also have the |
Do we actually want |
Well, |
I will raise an issue with the Arch devs about the whole pppd/ip-up thing. When running openfortivpn from the command line, the DNS servers and the DNS Domain suffix are successfully received. The permission denied error does not occur and I have not understood how NetworkManager obtains the DNS information from pppd-based VPN services. Might that be an NetworkManager-fortisslvpn issue? The Problem by the OP may also be DNS related, as he cannot access internal websites. That may be an indication of the DNS problem that I am seeing. A workaround would be to specify the DNS server and suffix manually when configuring the VPN connection in NetworkManager. |
Actually openfortivpn is still using the legacy method of modifying |
Same issue when using networkmanager-fortisslvpn plugin, had to set manually DNS IPs to make it work. No problems when using openfortivpn from command line. |
This ticket has grown too long, I don't even recall what this "same issue" might refer too. Also I seem to recall this was about an OpenFortiGui issue. Hence I have to close this ticket, it has become intractable. If you think you have an OpenFortiGui issue, please open a new ticket here: |
Just as a note for people who might find this issue by looking up the error message (like I did). I can confirm this issue on recent Manjaro and the cause has already been found (but not fixed). Here's the corresponding post: https://gitlab.gnome.org/GNOME/NetworkManager-fortisslvpn/-/issues/30#note_1420586 So for now it seems like running |
Hi! |
So I was using OpenFortiGui for some time now and it works fine but I switched to this package + NetworkManager-fortisslvpn since it integrates better with GUI.
The problem is, I can create a successful connection, but I cannot access resources from the other part of the VPN's pipe.
Checking the logs I see this:
Am I doing something wrong or there is some problem with this plugin? It
I am on Manjaro and I using networkmanager-fortisslvpn 1.4rc1-2 and openfortivpn 1.14.1-1.
If I have to provide anything else let me know. If I am doing something wrong, any help is appreciated
The text was updated successfully, but these errors were encountered: