Skip to content

EPF is Easy Port Forwarder and Traffic Tunnel for Ubuntu and other distros.

Notifications You must be signed in to change notification settings

subzero9319/EPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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
  • CentOS

About

EPF is Easy Port Forwarder and Traffic Tunnel for Ubuntu and other distros.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%