dndx / phantun

Transforms UDP stream into (fake) TCP streams that can go through Layer 3 & Layer 4 (NAPT) firewalls/NATs.
Apache License 2.0
1.58k stars 128 forks source link

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: EPERM' #149

Closed gonewind73 closed 6 months ago

gonewind73 commented 6 months ago

./phantun_client --local 127.0.0.1:5501 --remote azurewind:5509 thread 'main' panicked at 'called Result::unwrap() on an Err value: EPERM', phantun/src/bin/client.rs:162:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

./phantun_server --local 5501 --remote 127.0.0.1:5509 thread 'main' panicked at 'called Result::unwrap() on an Err value: EPERM', phantun/src/bin/server.rs:161:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

how to solve it?

gonewind73 commented 6 months ago

use sudo , it is running