Coder Social home page Coder Social logo

Comments (9)

DimitriPapadopoulos avatar DimitriPapadopoulos commented on July 18, 2024 1

First things first, which is the version of pppd and where did you get openfortivpn from?

If the version of pppd is < 2.5.0, then openfortivpn should have been built with --enable-legacy-pppd. If that's not the case:

  • report it as a bug to the packagers,
  • use ipcp-accept-remote as a workaround, as you do.

from openfortivpn.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on July 18, 2024 1

You have to use the routes proposed by the server, as that's often part of the implicit contract when using corporate VPN servers.

I don't know what Luci web is. We don't maintain it and the error is probably in Lucy web.

from openfortivpn.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on July 18, 2024

For the rest, it's hard to tell without actual routes and IP addresses. Do you ping DNS hostnames or IP addresses?

from openfortivpn.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on July 18, 2024

4G mobile network works ok.

With Hughes satellite connection I have problems.

Could be an MTU problem. Satellite connections may have lower MTU values than usual. Look for MTU values in the output of ip addr in either case. Try Troubleshooting MTU size over IPSEC VPN.

from openfortivpn.

antoniovalenzuela avatar antoniovalenzuela commented on July 18, 2024

First things first, which is the version of pppd and where did you get openfortivpn from?

If the version of pppd is < 2.5.0, then openfortivpn should have been built with --enable-legacy-pppd. If that's not the case:

  • report it as a bug to the packagers,
  • use ipcp-accept-remote as a workaround, as you do.

pppd version 2.4.9

openfortivpn from https://mirror-03.infra.openwrt.org/releases/23.05.3/packages/arm_cortex-a9_vfpv3-d16/packages/

from openfortivpn.

antoniovalenzuela avatar antoniovalenzuela commented on July 18, 2024

For the rest, it's hard to tell without actual routes and IP addresses. Do you ping DNS hostnames or IP addresses?

With ipcp-accept-remote
ping to IP address no response and the route exist

Forticlient Windows without connection issue through Satellite.

from openfortivpn.

antoniovalenzuela avatar antoniovalenzuela commented on July 18, 2024

4G mobile network works ok.
With Hughes satellite connection I have problems.

Could be an MTU problem. Satellite connections may have lower MTU values than usual. Look for MTU values in the output of ip addr in either case. Try Troubleshooting MTU size over IPSEC VPN.

It's SSL VPN TCP 443.

from openfortivpn.

antoniovalenzuela avatar antoniovalenzuela commented on July 18, 2024

New background Sat connection.

The console connection (with ipcp-accept-remote) has no problems, the routes work properly.

ping1

Luci web connection connected, but without ping response.

luci

I checked the scripts, maybe some need to be modified

netifd

from openfortivpn.

antoniovalenzuela avatar antoniovalenzuela commented on July 18, 2024

Luci use the arg "no-routes"

/lib/netifd/proto/openfortivpn.sh

    [ -n "$port" ] && port=":$port"
    append_args "$peeraddr$port" --ifname="$ifname" --use-syslog  -c /dev/null
    append_args "--set-dns=0"
    append_args "--no-routes"
    append_args "--pppd-use-peerdns=1"

no-routes with ipcp-accept-remote assign this routing table (wrong way)
181.212.X.X * 255.255.255.255 UH 0 0 0 ppp0

only ipcp-accept-remote (default routes yes)
181.212.X.X lte 255.255.255.255 UGH 0 0 0 eth1

Where 181.212.X,X is the remote VPN server.

My routes are manual in OpenWRT.

When commeting or discard this arg, assumes the routes provided by the server and the connectivity to the destination works.
#append_args "--no-routes"

I prefer not to use the routes assigned by the server. I think it is better for me to use the Windows client when using the satellite connection.

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.