Git Product home page Git Product logo

docker-pppoe-server's Introduction

PPPoE服务器

使用方式

通过pipework支持使得容器拥有自己的IP,便于实现网络层以下的协议

pipework可配置参数为:

  1. pipework_cmd - pipework 命令行,参考example
  2. pipework_key - pipework 密钥,需要与服务器一致

可配置参数

  • PPPOE_DNS1 - 首选DNS服务器,默认为119.29.29.29
  • PPPOE_DNS2 - 备用DNS服务器,默认为114.114.114.114
  • PPPOE_LOCAL - 网关地址,默认为11.11.11.1
  • PPPOE_REMOTE - 地址池起始地址,默认为11.11.11.11
  • PPPOE_NUM - 地址池数量,默认为100
  • PPPOE_IFACE - 容器中使用的接口,默认为eth1

注意事项

privileged需要设置为true,否则无法正常创建ppp设备!

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.