Giter VIP home page Giter VIP logo

Comments (4)

ambrop72 avatar ambrop72 commented on August 17, 2024 1

Hey, by default udpgw lets the OS pick the local port. There is the option to manage the port range manually: --local-udp-addrs <local_addr>:first_port num_ports. Probably you want <local_addr> to be 0.0.0.0.

from badvpn.

ambrop72 avatar ambrop72 commented on August 17, 2024

Hi,
You can set the output buffer size for the UDPGW connection with the --udpgw-connection-buffer-size command line option. The default is 8 (packets).

from badvpn.

khiempg avatar khiempg commented on August 17, 2024

Hi,
Thank for your support, I changed to 1024,in both tun2sock.h and on udpgw , performance is getting better. There is no "Out of buffer" in client site, that is great.
But there is some packet loss (compare with no proxy case for UDP, same environment). I did not see any error log on gateway. I changed some parameter in udpgw.h, but there is still packet loss.
Do you give me some comment for process packet loss or debug this case?

One again, thank for quick response.

from badvpn.

xDragonZ avatar xDragonZ commented on August 17, 2024

I notice that udpgw used quite amount of port, is there any way to optimize it?

from badvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.