Giter Site home page Giter Site logo

qnap-tinc's Introduction

qnap-tinc

Tinc VPN package for the Qnap NAS platforms

Tinc Compile Notes

The configure script from the tinc package will fail on the sed that comes with your qnap. If you install sed from the Optware package and run the commands below as admin, the ./configure script should succeed.

cd /bin/
mv sed sed-busybox
ln -s /opt/bin/sed sed

How to use this

This simply provides a QDK enviroment for Tinc on Qnap devices. It does not provde a installable binary package. You will need to:

  1. Compile Tinc for your device. On an x86 Qnap http://james.vautin.com/?p=285 can be helpful but he's wrong about gawk, the problem is with sed, see above. (James Vautin's site has been redone, see http://forum.qnap.net.pl/download/tinc-qpkg-building-guide.157/ for alternative Tinc compile info. I haven't tested it myself.)
  2. ssh into your Qnap and check this repo out with git.
  3. copy your compiled tincd binary into the x86 dir. (other platform specific dirs might work for those platforms.)
  4. Run qbuild to produce a .qpkg you can install.

The Tinc qpkg this generates needs a share named "Tinc". I suggest you make this share very private, so no users can access it after setup. For each /share/Tinc/[netname]/tinc.conf an instance of Tinc will be started for that netname's config directory.

Also, when the Tinc qpkg starts it will look for /share/Tinc/sample. If that doesn't exist it will create a stub network config directory containing the tinc scripts I like and auto generate private and public keys. You should then rename this directory to your desired netname and then rename/edit the tinc.conf.sample file to tinc.conf . You'll need to provide the other ../hosts/HostName files.

Reminder: Once you get this running, remoke access by all users as they don't need it for Tinc to work and you don't want to accidently leak your private key.

As of May 29, 2014 all my Qnap devices are deployed remotely and there won't be more updates until I have a need for more Qnaps. I'll still try to field support requests to help get people started.

qnap-tinc's People

Contributors

sandymac avatar

Stargazers

DengQi avatar M@rl!n avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

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.