Git Product home page Git Product logo

easy-ipsec's Introduction

easy-ipsec

easy-ipsec is designed to quickly deploy a tunnel type of site-to-site. easy-ipsec automatically raises the tunnel between two remote networks, users can only exchange keys. Generation of keys, installation of dependencies and configuration of the firewall occur automatically after the script is run.

How does it work

  1. Clone the repository anywhere
  2. For auto-installing use 'sudo ./setup'
  3. Run the easy-ipsec (sudo easy-ipsec)

ipsec parameters

required parameters

launch type
--init - at the first start or reconfiguration. the option clears, 
if any, the old attachment files and initializes the new ones.
--reboot - reboots the current configuration. Required if the configuration was broken.

authentication type
--cer - certificate
--psk - pre-shared key

first and second networks
At start it is required to specify on what network the script is launched. 
--mun --san respectively. It is necessary for the correct definition of subnets.

the gateway address of the remote network.

optional parameters

--debug - includes output of information on all stages of ipsec execution.
--chekoff - disables most of the checks. Required if an error occurred. 

When the configuration was successful, you can manage the ipsec connection use 'sudo service easy-ipsec PARAM'

If you doubt the compatibility with your distribution or if there was an error while configuring connections, you can try to start the configuration with the parameter '--chekoff'. But you must first set all the dependencies yourself. At this moment easy-ipsec supports only ipv4 and connections type of site-to-site but this will be fixed in the near future ;)

  1. After the ipsec is executed in the current directory, a file of the format .p12 appears. It contains the encrypted certificate and the key to it. It must be passed to the other end of the future tunnel and runed the auth-apply which has two parameters type of authentication used and file .p12.

  2. At the second end, you must do the same.

  3. After that you can raise tunnel, stop tunnel, restart tunnel using etcnet-ipsec.

easy-ipsec's People

Contributors

mrandybu avatar

Watchers

 avatar

Forkers

srx123456

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.