Skip to content

hosseini92/docker-udp2raw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-udp2raw

Docker Pulls Docker Image Version (latest by date)

Change Log

2023-12

  • update udp2raw 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 udp2raw usage. Build-in version is Here

How To Use It

you can 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

Server

name_server="docker-udp2raw-server"
bin_server=udp2raw_amd64 # or udp2raw_arm ...
sudo docker run -d \
            --restart always \
            --network host \
            --cap-add NET_ADMIN \
            --name $name_server \
            docker-udp2raw:latest \
            $bin_server -s -l 0.0.0.0:8855 -r 127.0.0.1:7777 -k "passwds" --raw-mode icmp --fix-gro --sock-buf 10240 --cipher-mode xor --auth-mode simple

Client

name_client="docker-udp2raw-client"
bin_client=udp2raw_amd64 # or udp2raw_arm ...
sudo docker run -d \
            --restart always \
            --network host \
            --cap-add NET_ADMIN \
            --name $name_client \
            docker-udp2raw:latest \
            $bin_client -c -l 0.0.0.0:3333 -r 127.0.0.1:8855  -k "passwds" --raw-mode icmp --fix-gro --sock-buf 10240 --cipher-mode xor --auth-mode simple

Notice

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

Releases

No releases published

Packages

No packages published

Languages

  • Shell 51.2%
  • Dockerfile 48.8%