Coder Social home page Coder Social logo

chef-tcpproxy's Introduction

chef-tcpproxy

Build Status

Description

Configures the IPv4/IPv6 connection proxy - tcpproxy - from http://spreadspace.org/tcpproxy/ via /etc/tcpproxy.conf. But it does not install it since there are multiple ways.

Usage

Use recipe[tcpproxy::default] for configuring from the information in node['tcpproxy'].

Requirements

Platform

As long as the configuration for tcpproxy is located at /etc/tcpproxy.conf it works with any installation forms.

For supported Chef/Ruby version see Travis.

Recipes

default

Uses name => hash entries from node['tcpproxy']['listen'] to generate a configuration like this:

node['tcpproxy']['listen']['example1'] = {
	"local" => "* 8000",
	"resolv" => "ipv4",
	"remote" => "www.google.at 80",
	"remote-resolv" => "ipv6",
	"source" => "2a02:3e0:2002:1:218:deff:fe03:ed"
}

example1 is an internal name not expressed in the configuration for distinguishing the different listen entries. The above example produces:

listen * 8000 {
  resolv: ipv4;
  remote: www.google.at 80;
  remote-resolv: ipv6;
  source: 2a02:3e0:2002:1:218:deff:fe03:ed;
};

License

chef-tcpproxy is licensed under the Apache License, Version 2.0. See LICENSE for more information.

chef-tcpproxy's People

Contributors

cmur2 avatar

Watchers

 avatar  avatar

Forkers

tianyunchong

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.