EPF
EPF is Easy Port Forwarder and Traffic Tunnel for Ubuntu and other distros.
Install / Use
/learn @Incognito-Coder/EPFREADME
Easy Port Forwarder
A bash script to set up port forwarding in iptables on Linux operating systems automatically and easily,It also supports 6to4 tunnel.
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
you can access to shell based menu with this command
sudo ./epf.sh menu
root@fakemind:~$ sudo ./epf.sh menu
Welcome to Easy Port Forwarder
1) Port Forward 3) Port to Port 5) Remove Rules 7) Restore Rules 9) Show Rules 11) Print Usage
2) NAT Forward 4) Tunnel 6TO4 6) Save Rules 8) Set MTU 10) Update Script 12) Quit
Please enter your choice:
Supported OSes
- Ubuntu|Debian
- CentOS
- ArchLinux
- AlmaLinux
Stargazers over time
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
