What's new

Openconnect VPN Server/Client, is it possible?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

xfgavin

Occasional Visitor
Hi Merlin,

Thank you for making our routers more powerful!
I would like to know if it is possible to merge openconnect VPN server/client into asuswrt-merlin? This will definitely benefit users that have openvpn/pptp blocked by their ISP or country like China.
 
There are currently no plans for supporting any additional VPN technologies.
 
One can always build their own -- https://gitlab.com/groups/ocserv

Challenge here is integration with AsusWRT - and to that end, having seen/reviewed their source, I agree with RMerlin - very tough to pull in, and without Asus direct support, impossible to maintain..

Probably better to play with this on something other than a Router/AP - x86 VM is a good place to start...
 
Note that the client is already available in Entware:

Code:
admin@Stargate88:/tmp/home/root# opkg list | grep OpenConnect
openconnect - 7.06-3 - A VPN client compatible with Cisco's AnyConnect SSL VPN and ocserv.  OpenConnect is a client that follows the Cisco's AnyConnect SSL VPN protocol, which is supported by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800,  2800, 3800, 7200 Series and Cisco 7301 Routers, as well as the OpenConnect VPN server.
 
Thank you very much for both of your suggestion.
I would like to compile an ocserv binary and drop it in my router.
I followed the instruction to Compile custom programs from source
However, I failed at last step:
./configure CC=OUTPUTFROMGREP --prefix=/opt --host=arm-linux

It said
configure: error: in `/home/xfgavin/asuswrt/asuswrt-merlin/ocserv-0.11.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

The config.log is attached.
Could you please let me know what I should do for next?
Thank you.
 

Attachments

  • config.txt
    20.8 KB · Views: 626
Thank you very much for both of your suggestion.
I would like to compile an ocserv binary and drop it in my router.
I followed the instruction to Compile custom programs from source
However, I failed at last step:
./configure CC=OUTPUTFROMGREP --prefix=/opt --host=arm-linux

It said
configure: error: in `/home/xfgavin/asuswrt/asuswrt-merlin/ocserv-0.11.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

The config.log is attached.
Could you please let me know what I should do for next?
Thank you.

It'd be much easier just to install entware and then install the openconnect package.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top