Code Monkey home page Code Monkey logo

ansible-ipsec's People

Contributors

kravietz avatar r900 avatar saurabhnanda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-ipsec's Issues

Support for NAT-ed environments?

If some servers are inside EC2 and some are outside EC2, the configuration generated by this Ansible role does not work. I think it is because EC2 servers are sitting inside a NAT-ed environment.

If you can tell me how to set this up, I can raise a PR to implement this.

ipsec-tools depreciation

Since the ipsec-tools project has been discontinued and as result the tools have been removed from Debian and Ubuntu, this project requires a substantial design changes.

One option is libreswan which is still supported but seems to be designed for VPN tunnels primarily (but it supports transport mode).

The functionality of setkey can be replaced by ip xfrm in terms of creating manually-keyed IPSec SAs.

Another option is switching to Wireguard.

Cc @saurabhnanda @domhaas @piotron @o-sole @NielsKSchjoedt

IPSec VS tinc VPN

Hi,

I have quite a few dedicated servers residing in different datacenters. I need to be able to connect them in a private network, so e.g. my web servers can communicate securely with memcached, postgresql etc. on different servers. Currently I'm using tinc for this, but I have seen something that looks like network overhead in this setup: https://stackoverflow.com/questions/47350951/tinc-shh-ipsec-tuning-for-high-throughput

As part of renewing the servers I'm considering switching to use IPsec provisioned using this ansible role instead. Do you have any thoughts on the performance or experience you care to share? :-)

Possible bug - ipsec_inet setting is not being respected

I have the following config:

- hosts: all
  roles:
    - name: ansible-ipsec
      vars:
        ipsec_secret: "REDACTED"
        ipsec_inet:
          - ansible_default_ipv4
        ipsec_policy: require
        ipsec_mode: ike
        ipsec_open_ssh: true
        ipsec_open_icmp: true
        ipsec_forward: false
        ipsec_compress: true

But, I can see the following snippets in /etc/ipsec-tools.conf:

### SPD entries for storefront/2a01:4f9:c010:8d7::1 <-> dataserver/2a01:4f9:2b:3cc::2

# storefront -> dataserver
spdadd 2a01:4f9:c010:8d7::1 2a01:4f9:2b:3cc::2 any -P out ipsec ipcomp/transport//use esp/transport//require;
# dataserver -> storefront
spdadd 2a01:4f9:2b:3cc::2 2a01:4f9:c010:8d7::1 any -P in  ipsec ipcomp/transport//use esp/transport//require;

Release 1.1 - AWX - UndefinedVariable

Hi, after your recent changes we started to have issues with this playbook.
step ipse-tools configuration returns

{
    "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'address'",
    "_ansible_notify": [
        "setkey restart"
    ],
    "changed": false,
    "_ansible_no_log": false
}

Everything works to 2a344d9 after that we're getting message above.
Our servers are running on Ubuntu, some may not have ipv6 interfaces.

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.