Coder Social home page Coder Social logo

Comments (13)

ssurba avatar ssurba commented on August 17, 2024 3

In my case exactly the same error as in the original post was caused by ppp package missing from the system.

from openfortivpn.

Zenithar avatar Zenithar commented on August 17, 2024 1

Ok fixed with a reboot, current kernel has been updated and not matching the "new" one.

from openfortivpn.

GitteHuber avatar GitteHuber commented on August 17, 2024 1

Up until 1.3.0 I had the exact same problem and debug output as cgogolin. Just wanted to confirm that version 1.3.1 fixed it. ( On my Ubuntu 16.4.2 machine, at least)

from openfortivpn.

Zenithar avatar Zenithar commented on August 17, 2024

Same problem for me with 1.2.0 from AUR on a ArchLinux.

from openfortivpn.

twiebe avatar twiebe commented on August 17, 2024

In my case, a route has been pushed by the vpn server, that matches the remote address of the vpn endpoint itself. Therefor, all following vpn packets will not reach the vpn server, which causes the input output error.

A static route to the endpoint address via the local gateway helps.

I've seen other vpn clients add these routes automatically, to avoid such issues. I'd suggest to do this in openfortivpn as well.

from openfortivpn.

aggregat4 avatar aggregat4 commented on August 17, 2024

@twiebe can you post the command you used to set the route? I'm not sure what addresses you mean exactly. I have a similar problem.

from openfortivpn.

twiebe avatar twiebe commented on August 17, 2024

@aggregat4:
The public address of your vpn server.

F.e.:
If your vpn server's public address would be 8.8.8.8 and your vpn server would push the route 8.8.0.0/16, then your host would try to send all further packets, after the route has been pushed, to your vpn server through pppX instead of ethX.

As a workaround, you could set a static route to your vpn server through your regular gateway before starting openfortivpn:
# ip route add VPN_SERVER_PUBLIC_ADDR via DEFAULT_GATEWAY_ADDR

from openfortivpn.

mrbaseman avatar mrbaseman commented on August 17, 2024

the routing problems discussed above should be fixed in 1.3.1. Now openfortivpn adds such a route to the gateway host before setting up the pushed routes.

from openfortivpn.

mvernimmen-CG avatar mvernimmen-CG commented on August 17, 2024

That route does not appear to get set with 1.4.0, I had to apply the workaround before starting openfortivpn to get it to work. Also the routes that the vpn hands out are not set by openfortivpn, I had to add them myself. This is on Raspbian GNU/Linux 8 (jessie).

from openfortivpn.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on August 17, 2024

@mvernimmen-CG It would have been better to open a new ticket. Since this has been fixed in version 1.3.1, causes are probably different although symptoms are similar.

My suggestions:

  • Please provide error messages using option -v - see first post in this ticket.
  • Since this looks like an embedded system, is command /usr/sbin/netstat available?

from openfortivpn.

mvernimmen-CG avatar mvernimmen-CG commented on August 17, 2024

Sure, I'll do that. I posted in here because the ticket was open, I see you closed it now :)

from openfortivpn.

henkRW avatar henkRW commented on August 17, 2024

Up until 1.3.0 I had the exact same problem and debug output as cgogolin. Just wanted to confirm that version 1.3.1 fixed it. ( On my Ubuntu 16.4.2 machine, at least)

I can confirm it. I had similar problem with 1.3.0 version after update to 1.6.0 Forti VPN started work.

from openfortivpn.

mrbaseman avatar mrbaseman commented on August 17, 2024

@henkRW thanks for this feedback.

from openfortivpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.