Giter Site home page Giter Site logo

epf's Introduction

Easy Port Forwarder

A bash script to set up port forwarding in iptables on Linux operating systems automatically and easily.

Usage

OneClick command to download script:

curl -o epf.sh -L https://raw.githubusercontent.com/Incognito-Coder/EPF/master/iptables.sh && chmod +x epf.sh

then you must see epf.sh in your current dir.

Example

bash epf.sh 185.132.80.187 443,8080,2083,2096 tcp

First arg is your destination server.
Second arg is Specific port,it can be single [443] or array [1234,8745,8585].
Third arg is Protocol mode TCP/UDP pass lowercase string tcp , udp .

Cleaning IPTable Rules

this command flush all chain rules in iptables.

./epf.sh flush

Using Menu

u can access to shell based menu with this command

sudo ./epf.sh menu
ubuntu@fakemind:~$ sudo ./epf.sh menu
Welcome to Easy Port Forwarder
1) Port Forward   3) Port to Port   5) Save Rules     7) Print Usage
2) NAT Forward    4) Flush Rules    6) Restore Rules  8) Quit
Please enter your choice:

Supported OSes

  • Ubuntu|Debian
  • CentOS
  • ArchLinux

epf's People

Contributors

incognito-coder avatar arash-ariaye 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.