Skip to content

dogbutcat/docker-udp2raw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-udp2raw

Docker Pulls Docker Image Version (latest by date)

Change Log

2023-12

  • update udpspeeder to 20230206.0

2021-09

  • update udp2raw version

2020-06

  • update script

2019-03

  • update udp2raw

Introducing

this image is based on alpine image & you need basic docker knowledge. You can get it from Google or Git-book for Chinese Learning. Then DON'T ASK ME! :D

Word first

this is for udpspeeder usage. Build-in version is Here

How To Use It

please replace command option with default entry point udp2raw_amd64 like what you need to add to end docker run as below

docker run -p 1234:1234/udp -p 5678:5678/udp dogbutcat/docker-udp2raw:1.0.0 \
          -s -l 0.0.0.0:1234 -r 127.0.0.1:5678 -k "passwds" --raw-mode faketcp -g

you can also replace the entry point with (reference here)

  • udp2raw_x86
  • udp2raw_arm
  • udp2raw_amd64_hw_aes
  • udp2raw_arm_asm_aes
  • udp2raw_mips24kc_be
  • udp2raw_mips24kc_be_asm_aes
  • udp2raw_x86_asm_aes
  • udp2raw_mips24kc_le
  • udp2raw_mips24kc_le_asm_aes
docker run -p 1234:1234 -p 5678:5678/udp dogbutcat/docker-udp2raw:1.0.0 udp2raw_x86 \
          -s -l 0.0.0.0:1234 -r 127.0.0.1:5678 -k "passwds" --raw-mode faketcp -g

Caveats

please remember drop tcp package on listen port as it only accept udp to transfer to faketcp, you can get specific iptable rule with -g option throught command

docker run -p 1234:1234 -p 5678:5678/udp dogbutcat/docker-udp2raw:1.0.0 udp2raw_x86 \
          -s -l 0.0.0.0:1234 -r 127.0.0.1:5678 -k "passwds" --raw-mode faketcp -g

because udp2raw running on level 2, if not work correct, maybe MUST need add --net=host/--cap-add=NET_ADMIN or network_mode:"host"/cap_add: NET_ADMIN in compose AND remember to bypass udp port 1024-65535 from firewall

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published