mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-03 04:15:35 +08:00
Updated run udp2raw as non root (markdown)
@@ -18,7 +18,14 @@ sudo iptables -I INPUT -p tcp -m tcp --dport 4096 -j DROP
|
||||
|
||||
4. then run udp2raw without `-g` option
|
||||
```
|
||||
# run udp2raw with current user
|
||||
./udp2raw_amd64 -s -l0.0.0.0:4096 -r 127.0.0.1:7777 -k "passwd" --raw-mode faketcp
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
# run udp2raw as nobody
|
||||
sudo -u nobody ./udp2raw_amd64 -s -l0.0.0.0:4096 -r 127.0.0.1:7777 -k "passwd" --raw-mode faketcp
|
||||
```
|
||||
It works for both client and server.
|
Reference in New Issue
Block a user