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.71k stars 137 forks source link

Cannot set up interface - Correct installation? #167

Closed adl09 closed 1 month ago

adl09 commented 1 month ago

Hi, i'm trying to set up both client and server interfaces using the provided example without success. Since i have not much experience working with Rust projects i want to detail what i'm doing and the problem i've got:

I've built the project doing this: git clone https://github.com/dndx/phantun cd phantun cargo build --release

And i can run both /phantun/target/release/client and server using for example: root@albert:~/phantun/target/release# RUST_LOG=info ./client --local 127.0.0.1:1234 --remote 10.0.0.1:4567 INFO client > Remote address is: 10.0.0.1:4567 INFO client > 8 cores available INFO client > Created TUN device tun0

But it keeps there forever without response..

x86_64 / 6.8.0-45-generic Ubuntu 24.04 (but i'm getting same results using a Debian 12 VM)