Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Port range or all ports (0-65535) Forwarding #921

Open
Shadowu410 opened this issue Jan 4, 2025 · 0 comments
Open

Support for Port range or all ports (0-65535) Forwarding #921

Shadowu410 opened this issue Jan 4, 2025 · 0 comments
Labels
enhancement New feature or request status:accepted

Comments

@Shadowu410
Copy link

Is your feature request related to a problem? Please describe.
Currently one lb rule only serve one port, and I noticed that a macro definition in the code limit total lb rules number to be 1024.

Describe the solution you'd like
Support for port range or all ports forwarding in one single lb rule. For example, loxicmd create lb 88.88.88.1 --tcp=3000-5000:12345 --endpoints=192.168.70.3:1 --mode=fullnat

Describe alternatives you've considered
nftables is considered, configration likes below:
chain prerouting {
type nat hook prerouting priority dstnat; policy accept;
iifname eth0 ip daddr 88.88.88.1 tcp dport 3000-5000 dnat ip 192.168.70.3:12345
}

Additional context
N/A

@Shadowu410 Shadowu410 added the enhancement New feature or request label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request status:accepted
Projects
None yet
Development

No branches or pull requests

2 participants