Giter Club home page Giter Club logo

minivtun-rs's People

Contributors

optman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

minivtun-rs's Issues

error[E0425]: cannot find value `Mark` in module `sockopt`

hi.

on my mac.
yudeMacBook-Air:minivtun-rs ym$ cargo build --release

it exports:
...
Compiling minivtun-rs v0.1.0 (/Users/ym/minivtun-rs)
error[E0425]: cannot find value Mark in module sockopt
--> src/main.rs:67:49
|
67 | setsockopt(socket.as_raw_fd(), sockopt::Mark, &fwmark)?;
| ^^^^ not found in sockopt

For more information about this error, try rustc --explain E0425.
error: could not compile minivtun-rs due to previous error
yudeMacBook-Air:minivtun-rs ym$

how to fix it?

"invalid local ipv4 address"?

hi.

on my linux vps,
root@racknerd-7b97d8:/minivtun-rs/target/release# ./minivtun-rs --ifname mvr --ipv4-addr 10.20.10.1 --key mykey --local 0.0.0.0:2189 --mtu 1200 --type aes-256
Error: InvalidArg("invalid local ipv4 address")
root@racknerd-7b97d8:
/minivtun-rs/target/release# ./minivtun-rs --ifname mvr --ipv4-addr 192.20.10.1 --key mykey --local 0.0.0.0:2189 --mtu 1200 --type aes-256
Error: InvalidArg("invalid local ipv4 address")
root@racknerd-7b97d8:~/minivtun-rs/target/release#

怎么设置有效的ipv4 address?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.