[Suggestion] Suggestion to Support TCP/UDP Port Forwarding and Protection
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 22.6k
- Forks
- 1.5k
- Avg merge
- 4h 30m
- Merged PRs (30d)
- 11
Description
What would you like to be added or improved?
- Support TCP/UDP port forwarding (public port → internal IP/port).
- Apply basic security policies for TCP/UDP traffic:
• IP whitelist/blacklist
• Connection limits
• Rate limiting (to prevent brute-force attacks or DDoS) - Integrate with Safeline’s existing IP blocking mechanism to enable cross-protocol blocking.
- Provide a web-based interface for configuring TCP/UDP rules with batch management capabilities.
Why is it needed?
Currently, Safeline only supports HTTP/HTTPS traffic forwarding and protection.
For TCP/UDP services (e.g., SSH, MySQL, Redis, game servers, custom APIs), there is no native support.
Some competitors, such as BT (BaoTa) WAF, already provide TCP/UDP port forwarding capabilities, allowing users to manage both HTTP and non-HTTP traffic from a single interface.
If Safeline could also support TCP/UDP forwarding, it would greatly improve unified management and security control for all types of network traffic.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by mapping SafeLine’s existing HTTP/HTTPS forwarding and protection paths, then trace how its IP blocking mechanism is integrated. This issue is broad design work: done would require a decided scope and implementation plan covering TCP/UDP forwarding, traffic policies, cross-protocol blocking, and web-based batch rule management.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100