mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-31 12:19:34 +08:00
Updated run udp2raw as non root (markdown)
parent
2e6d1b50a9
commit
e8ad293143
@ -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.
|
Loading…
x
Reference in New Issue
Block a user