Giter Site home page Giter Site logo

iptables-shield's Introduction

iptables-shield

小伞IP盾构机 被控脚本修复

1.转发机初始化:

执行Shell:

wget -O /root/ip_control.sh https://raw.githubusercontent.com/xb0or/iptables-shield/master/ip_control.sh && chmod +x ip_control.sh && bash ip_control.sh

2.手动加定时任务(请自行替换网址和key,注意不要丢掉空格):

*/5 * * * * . /etc/profile;ip_table -url http://baidu.com -key XXXXXXX

主控端部署完毕,您可以手动执行该命令查看执行是否有问题:

ip_table -url http://baidu.com -key XXXXXXX

Gost隧道转发

一部分是转发机(国内端),另一部分是落地机(国外端)。

1.转发机初始化

执行Shell:

wget -O /root/ip_control.sh https://raw.githubusercontent.com/xb0or/iptables-shield/master/ip_control.sh && chmod +x ip_control.sh && bash ip_control.sh

选择 执行选项 《1》。

2.手动加定时任务(请自行替换网址和key,注意不要丢掉空格):

*/5 * * * * . /etc/profile;ip_table -url http://baidu.com -key XXXXXXX

3.落地机初始化(请注意开放防火墙哦)

wget -O /root/ip_control.sh https://raw.githubusercontent.com/xb0or/iptables-shield/master/ip_control.sh && chmod +x ip_control.sh && bash ip_control.sh

选择 执行选项 《2》。

3.添加定时任务(请自行替换网址和key,注意不要丢掉空格)

*/5 * * * * . /etc/profile;iptables_gost -url http://baidu.com -key XXXXXXX

iptables-shield's People

Contributors

xb0or 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.