-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
coova-chilli: Download Speed Capped at 40-50 Mbps with CoovaChilli on OpenWrt 23.05.5 (MT7621 + xt_coova) #25703
Comments
can you show fragments from |
Hi @brada4 , thanks for you reply. This is the output from iptables-save
Also regarding nft list ruleset, I'm using iptables-zz-legacy as iptables-nft didn't gave me redirection. Thanks |
@brada4 , sharing iptables output as well if this help in anyways. :~# iptables -L -n -v
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
23 3643 DROP all -- br-network4 * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT icmp -- tun4 * 0.0.0.0/0 172.24.100.1
0 0 ACCEPT udp -- tun4 * 0.0.0.0/0 172.24.100.1 udp dpt:53
0 0 ACCEPT udp -- tun4 * 0.0.0.0/0 172.24.100.1 udp dpts:67:68
0 0 ACCEPT udp -- tun4 * 0.0.0.0/0 255.255.255.255 udp dpts:67:68
0 0 ACCEPT tcp -- tun4 * 0.0.0.0/0 172.24.100.1 tcp dpt:3991
142 14944 ACCEPT tcp -- tun4 * 0.0.0.0/0 172.24.100.1 tcp dpt:3990
0 0 DROP all -- tun4 * 0.0.0.0/0 172.24.100.1
154 13302 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
3614 291K input_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom input rule chain */
3502 269K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* !fw3 */
0 0 syn_flood tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02 /* !fw3 */
1 326 zone_lan_input all -- br-lan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
107 20506 zone_wan_input all -- wan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 zone_network3_input all -- br-network3 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 zone_network4_input all -- br-network4 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
4 1360 reject all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
32840 40M ACCEPT all -- * * 0.0.0.0/0 172.24.100.0/24
40408 24M ACCEPT all -- * * 172.24.100.0/24 0.0.0.0/0
0 0 ACCEPT all -- wan * 0.0.0.0/0 172.24.100.0/24 coova: name: chilli side: dest
0 0 ACCEPT all -- * wan 172.24.100.0/24 0.0.0.0/0 coova: name: chilli side: source
0 0 ACCEPT all -- tun4 wan 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- tun4 !wan 0.0.0.0/0 0.0.0.0/0
244 14600 TCPMSS tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS clamp to PMTU
0 0 ACCEPT all -- * tun4 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT all -- tun4 * 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- * br-network4 0.0.0.0/0 0.0.0.0/0
1 80 DROP all -- br-network4 * 0.0.0.0/0 0.0.0.0/0
13933 6091K forwarding_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom forwarding rule chain */
12386 5970K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* !fw3 */
1547 121K zone_lan_forward all -- br-lan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 zone_wan_forward all -- wan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 zone_network3_forward all -- br-network3 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 zone_network4_forward all -- br-network4 * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 reject all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
154 13302 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
4151 1150K output_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom output rule chain */
3962 1136K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* !fw3 */
1 341 zone_lan_output all -- * br-lan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
188 13779 zone_wan_output all -- * wan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 zone_network3_output all -- * br-network3 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
0 0 zone_network4_output all -- * br-network4 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain forwarding_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_network1_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_network2_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_network3_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_network4_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_network1_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_network2_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_network3_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_network4_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_network1_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_network2_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_network3_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_network4_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain reject (4 references)
pkts bytes target prot opt in out source destination
5 406 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */ reject-with tcp-reset
94 21076 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */ reject-with icmp-port-unreachable
Chain syn_flood (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 25/sec burst 50 /* !fw3 */
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_lan_dest_ACCEPT (4 references)
pkts bytes target prot opt in out source destination
1 341 ACCEPT all -- * br-lan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_lan_forward (1 references)
pkts bytes target prot opt in out source destination
1547 121K forwarding_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan forwarding rule chain */
1547 121K zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Zone lan to wan forwarding policy */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_lan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_lan_input (1 references)
pkts bytes target prot opt in out source destination
1 326 input_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan input rule chain */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
1 326 zone_lan_src_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_lan_output (1 references)
pkts bytes target prot opt in out source destination
1 341 output_lan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom lan output rule chain */
1 341 zone_lan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_lan_src_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
1 326 ACCEPT all -- br-lan * 0.0.0.0/0 0.0.0.0/0 ctstate NEW,UNTRACKED /* !fw3 */
Chain zone_network1_dest_ACCEPT (2 references)
pkts bytes target prot opt in out source destination
Chain zone_network1_forward (0 references)
pkts bytes target prot opt in out source destination
0 0 forwarding_network1_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network1 forwarding rule chain */
0 0 zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Zone network1 to wan forwarding policy */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_network1_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network1_input (0 references)
pkts bytes target prot opt in out source destination
0 0 input_network1_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network1 input rule chain */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
0 0 zone_network1_src_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network1_output (0 references)
pkts bytes target prot opt in out source destination
0 0 output_network1_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network1 output rule chain */
0 0 zone_network1_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network1_src_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
Chain zone_network2_dest_ACCEPT (2 references)
pkts bytes target prot opt in out source destination
Chain zone_network2_forward (0 references)
pkts bytes target prot opt in out source destination
0 0 forwarding_network2_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network2 forwarding rule chain */
0 0 zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Zone network2 to wan forwarding policy */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_network2_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network2_input (0 references)
pkts bytes target prot opt in out source destination
0 0 input_network2_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network2 input rule chain */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
0 0 zone_network2_src_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network2_output (0 references)
pkts bytes target prot opt in out source destination
0 0 output_network2_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network2 output rule chain */
0 0 zone_network2_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network2_src_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
Chain zone_network3_dest_ACCEPT (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * br-network3 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network3_forward (1 references)
pkts bytes target prot opt in out source destination
0 0 forwarding_network3_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network3 forwarding rule chain */
0 0 zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Zone network3 to wan forwarding policy */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_network3_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network3_input (1 references)
pkts bytes target prot opt in out source destination
0 0 input_network3_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network3 input rule chain */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
0 0 zone_network3_src_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network3_output (1 references)
pkts bytes target prot opt in out source destination
0 0 output_network3_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network3 output rule chain */
0 0 zone_network3_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network3_src_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- br-network3 * 0.0.0.0/0 0.0.0.0/0 ctstate NEW,UNTRACKED /* !fw3 */
Chain zone_network4_dest_ACCEPT (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * br-network4 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network4_forward (1 references)
pkts bytes target prot opt in out source destination
0 0 forwarding_network4_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network4 forwarding rule chain */
0 0 zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Zone network4 to wan forwarding policy */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_network4_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network4_input (1 references)
pkts bytes target prot opt in out source destination
0 0 input_network4_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network4 input rule chain */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
0 0 zone_network4_src_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network4_output (1 references)
pkts bytes target prot opt in out source destination
0 0 output_network4_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom network4 output rule chain */
0 0 zone_network4_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_network4_src_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- br-network4 * 0.0.0.0/0 0.0.0.0/0 ctstate NEW,UNTRACKED /* !fw3 */
Chain zone_wan_dest_ACCEPT (6 references)
pkts bytes target prot opt in out source destination
27 2909 DROP all -- * wan 0.0.0.0/0 0.0.0.0/0 ctstate INVALID /* !fw3: Prevent NAT leakage */
1708 132K ACCEPT all -- * wan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_wan_dest_REJECT (1 references)
pkts bytes target prot opt in out source destination
0 0 reject all -- * wan 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_wan_forward (1 references)
pkts bytes target prot opt in out source destination
0 0 forwarding_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan forwarding rule chain */
0 0 zone_lan_dest_ACCEPT esp -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Allow-IPSec-ESP */
0 0 zone_lan_dest_ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:500 /* !fw3: Allow-ISAKMP */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_wan_dest_REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_wan_input (1 references)
pkts bytes target prot opt in out source destination
107 20506 input_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan input rule chain */
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:68 /* !fw3: Allow-DHCP-Renew */
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8 /* !fw3: Allow-Ping */
12 384 ACCEPT 2 -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Allow-IGMP */
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate DNAT /* !fw3: Accept port redirections */
95 20122 zone_wan_src_REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_wan_output (1 references)
pkts bytes target prot opt in out source destination
188 13779 output_wan_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom wan output rule chain */
188 13779 zone_wan_dest_ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
Chain zone_wan_src_REJECT (1 references)
pkts bytes target prot opt in out source destination
95 20122 reject all -- wan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */ |
There is space char missing.
|
Thanks @brada4 for the findings, as I mentioned above these are the commands I'm using for xt_coova to kick in.
There is already a space char between them in my up.sh and tried adding one more space char but didn't make any change. Will this be an issue of iptables-zz-legacy version I'm using? Also can you please suggest if I can use iptables-nft instead of iptables-zz-legacy for coova if this is the issue? |
Also looking into iptables the name and coova module initialized correctly it seems despite the space char issue still persist on iptables-save. |
You see youroutput is a new issue, try forums, or opennds first. |
Issue: CoovaChilli Performance and Errors with xt_coova on OpenWrt 23.05.5
Setup Details
Problem 1: Speed Capping on Download
When performing a speed test via CoovaChilli:
Additional Testing
Performed an iperf test:
Problem 2: Errors When Using
kname="chilli"
After setting
kname="chilli"
in the configuration, the following errors are observed in the logs:Problem 3: Upload Speed is Unlimited, Bandwidth Limitation Not Working
Configuration Details
Custom
up.sh
Script changes forxt_coova
:Chilli Configuration:
@brada4 @sevan @pparent76 could you guys please look into this and help if you find anything wrong?
The text was updated successfully, but these errors were encountered: