Comments (9)
Hi Ralf, sorry for not following your contribution up.
Yes, please rebase on master and post a comment on #65. We'll follow it there.
from openfortivpn.
Hi @schlatterbeck, could you share your openfortivpn compiling tutorial for openwrt, and prebuilt binary files for mips_24kc platform is more appreciated.
from openfortivpn.
@excelwang Out of curiosity, have you actually tried to compile? If so, did you encounter any problems while compiling?
from openfortivpn.
@schlatterbeck, Thanks for your reply. I have tried twice.
The first time, I tried to cross-compile openfortivpn, but encountered compilation dependencies missing problem (afterward, I knew it was caused by the missing of cross-compiled openssl library).
The second time, I tried to use a prebuilt openssl library shipped with lede/openwrt 17.01.4. But I gave it up at last, as I have no idea how to change openfortivpn's autogen.sh to use the cross compile environment. After all, I doubt if I could build a runnable openwrt version.
Any advice for further step is very appreciated!
from openfortivpn.
I understand the whole difficulty here is to:
- get a working cross-compiling environment with all necessary dependencies,
- tweak the build infrastructure of openfortivpn to work within this cross-compiling environment.
I've seldom messed with cross-compiling myself - and never with openfortivpn - so I won't be much help. For item 2 I would just suggest forgetting autogen.sh
and tweaking individuals commands:
aclocal
autoconf
automake --add-missing
Once you get there, I don't see why it wouldn't be possible to build openfortivpn for OpenWrt with minimal changes. I might help once you get there but I cannot help with prior items 1 and 2.
from openfortivpn.
@schlatterbeck. Finally I successfully cross compiled a working openfortivpn for openwrt. Mainly 2 steps:
- cross compile the openssl.
2.modefiy the Makefile of openfortivpn: change gcc to the cross-compile gcc.
from openfortivpn.
Hello,
I have compiled succesfully openfortivpn in Fedora and it works, but now I'm trying unsuccessfuly to cross-compile it in my OpenWRT building environment for an ar71xx (mips) Tp-Link router. Could any of you elaborate how should I do it? It is the first package that I'm trying to compile from external sources ....
Thanks in advance
from openfortivpn.
from openfortivpn.
I finally got it compiled and working (except the ip routes that are not accepted by the client, but do work in fedora)
This is the file structure that I used
./package/feeds/custom/openfortivpn
./package/feeds/custom/openfortivpn/Makefile
./package/feeds/custom/openfortivpn/files
./package/feeds/custom/openfortivpn/files/openfortivpn.init
and on the Makefile (thanks Ralf) I changed:
PKG_SOURCE_URL:=https://github.com/adrienverge/openfortivpn.git
#PKG_SOURCE_URL:=[email protected]:adrienverge/openfortivpn.git
Also on feeds.conf.default add:
src-git custom https://github.com/adrienverge/openfortivpn.git
then proceed as normal:
./scripts/feeds update -a
./scripts/feeds install -a
make -j1 V=s package/openfortivpn/compile
And you get your ipk file. You can also select openfortivpn in menuconfig and build your binary with openfortivpn inside.
Thanks everyone
from openfortivpn.
Related Issues (20)
- Incorrect tunnel peer IP HOT 8
- macOS 14.2 and 1.21 blocks HOT 2
- Intermittent DNS Resolution Failure HOT 12
- DNS from VPN not being added properly to resolv.conf on Ubuntu 22.04 HOT 9
- Detecting VPN Disconnections sooner for retry HOT 5
- URI missing as configuration parameter HOT 2
- Using openvpn breaks openfortivpn HOT 3
- Invalid session ID error when trying to connect from a different network HOT 5
- Use private key file from Windows?
- macOS 14.2.1 and 1.21.0 blocks HOT 5
- modify firewall HOT 3
- connecting with @ in username and context in host HOT 3
- Empty cookie error after server upgrade from 7.2.7 to 7.2.8 HOT 10
- "Error writing to SSL connection" on FreeBSD
- 405 Method Not Allowed HOT 1
- openfortivpn on MAC gets stuck HOT 6
- openfortivpn version 1.22.0
- Wrong value in the 'Accept-Encoding' header HOT 2
- openfortivpn version 1.22.1
- IPCP terminated by peer (conflicting remote IP address) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfortivpn.