Low download and upload speed #444

Closed
opened 2025-11-13 12:00:50 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @victorvs0uz4 on GitHub (Jun 17, 2025).

Hello,
I recently closed a connection between my VPS and my LAN network using a Proxmox LXC container, but when I performed some download and upload tests on Nextcloud, the speeds did not exceed 100Mbps. Is there any way to change Newt's MTU?

I think it must be limiting.

Originally created by @victorvs0uz4 on GitHub (Jun 17, 2025). Hello, I recently closed a connection between my VPS and my LAN network using a Proxmox LXC container, but when I performed some download and upload tests on Nextcloud, the speeds did not exceed 100Mbps. Is there any way to change Newt's MTU? I think it must be limiting.
GiteaMirror added the stale label 2025-11-13 12:00:50 -06:00
Author
Owner

@oschwartz10612 commented on GitHub (Jun 17, 2025):

Yes! You can change the mtu on both the Gerbil and Newt side (make sure to keep both the same) using the --mtu or MTU env vars. I think its not in the docs but we should add it.

@oschwartz10612 commented on GitHub (Jun 17, 2025): Yes! You can change the mtu on both the Gerbil and Newt side (make sure to keep both the same) using the --mtu or MTU env vars. I think its not in the docs but we should add it.
Author
Owner

@oschwartz10612 commented on GitHub (Jun 17, 2025):

Let me know if it improves the speed but I think the general performance is in this area due to the user space networking and proxy. We plan on maybe doing a native tunnel at some point but for now you could experiment with raw WG for speed.

@oschwartz10612 commented on GitHub (Jun 17, 2025): Let me know if it improves the speed but I think the general performance is in this area due to the user space networking and proxy. We plan on maybe doing a native tunnel at some point but for now you could experiment with raw WG for speed.
Author
Owner

@victorvs0uz4 commented on GitHub (Jun 17, 2025):

Okay, how do I change Gerbil's MTU? Would it be via docker-compose?

@victorvs0uz4 commented on GitHub (Jun 17, 2025): Okay, how do I change Gerbil's MTU? Would it be via docker-compose?
Author
Owner

@oschwartz10612 commented on GitHub (Jun 17, 2025):

Yep same --mtu or MTU env var (I would use the var)

@oschwartz10612 commented on GitHub (Jun 17, 2025): Yep same --mtu or MTU env var (I would use the var)
Author
Owner

@victorvs0uz4 commented on GitHub (Jun 17, 2025):

sorry, can you give an example of how I can set it?

@victorvs0uz4 commented on GitHub (Jun 17, 2025): sorry, can you give an example of how I can set it?
Author
Owner

@oschwartz10612 commented on GitHub (Jun 18, 2025):

services:
  gerbil:
    image: fosrl/gerbil
    container_name: gerbil
    restart: unless-stopped
    environment:
      - MTU=1280                          <-----------------
    command:
      - --reachableAt=http://gerbil:3003
      - --generateAndSaveKeyTo=/var/config/key
      - --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config
      - --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth
    volumes:
      - ./config/:/var/config
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    ports:
      - 51820:51820/udp
@oschwartz10612 commented on GitHub (Jun 18, 2025): ``` services: gerbil: image: fosrl/gerbil container_name: gerbil restart: unless-stopped environment: - MTU=1280 <----------------- command: - --reachableAt=http://gerbil:3003 - --generateAndSaveKeyTo=/var/config/key - --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config - --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth volumes: - ./config/:/var/config cap_add: - NET_ADMIN - SYS_MODULE ports: - 51820:51820/udp ```
Author
Owner

@github-actions[bot] commented on GitHub (Jul 3, 2025):

This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.

@github-actions[bot] commented on GitHub (Jul 3, 2025): This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
Author
Owner

@alexandrescieux commented on GitHub (Jul 13, 2025):

Maybe related to #512

@alexandrescieux commented on GitHub (Jul 13, 2025): Maybe related to [#512](https://github.com/orgs/fosrl/discussions/512)
Author
Owner

@github-actions[bot] commented on GitHub (Jul 28, 2025):

This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.

@github-actions[bot] commented on GitHub (Jul 28, 2025): This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 12, 2025):

This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.

@github-actions[bot] commented on GitHub (Aug 12, 2025): This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#444