Giter Club home page Giter Club logo

Comments (5)

jiaxinonly avatar jiaxinonly commented on May 17, 2024

使用openconnect,我也遇见了同样的问题,使用anyconnect也不行,会报错:
error: VPN establishment capability for a remote user is disabled. A VPN connection will not be established.

请问在centos7上该如何连接vpn呢?

from anylink.

itviewer avatar itviewer commented on May 17, 2024

目前 profile.xml 是写死到代码里了,需要修改

<WindowsVPNEstablishment>AllowRemoteUsers</WindowsVPNEstablishment>

<WindowsVPNEstablishment>AllowRemoteUsers</WindowsVPNEstablishment>

下面添加

<LinuxVPNEstablishment>AllowRemoteUsers</LinuxVPNEstablishment>

然后自己编译

附件是我自己编译好的,解压替换原来的可执行文件试试
anylink.zip

from anylink.

itviewer avatar itviewer commented on May 17, 2024

使用以下命令编译的,或许可以避免 libc 依赖
go build -ldflags '-linkmode "external" -extldflags "-static"'
anylink.zip

from anylink.

bjdgyc avatar bjdgyc commented on May 17, 2024

已经修改profile文件

from anylink.

jiaxinonly avatar jiaxinonly commented on May 17, 2024

非常感谢各位,目前0.7.1版本,支持在centos7.5上,使用anyconnect和openconnect连接,0.5.1之前的版本,更改了数据库无法直接更换二进制文件,可以手动导出用户,并且保持用户名,pin码,OTP密钥一致即可

from anylink.

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.