boytm / minivtun-win Goto Github PK
View Code? Open in Web Editor NEWminivtun windows client
License: Apache License 2.0
minivtun windows client
License: Apache License 2.0
想请教一下,连接minivtun之后如何访问服务器的内网网卡呢?
centos6服务器端执行
/usr/sbin/minivtun -l 0.0.0.0:12398 -a 10.8.8.8/24 -n vnet0 -e '123123' -t aes-256 -d
iptables -t nat -A POSTROUTING -s 10.8.8.0/24 -o eth0 -j SNAT --to-source 10.104.232.195
客户端为openwrt中的minivtun客户端,连接上之后能正常经过访问外网,客户端跟服务器也能正常互ping,现在需求客户端能访问服务器端的内网网卡ip,像pptp跟l2tp一样,可以ping到内网网卡IP,并且使用内网网卡IP进行例如mysql的连接,那么服务器端应该要再怎么设置呢?
服务端 route :
[root@VM_232_195_centos ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.8.0 0.0.0.0 255.255.255.0 U 0 0 0 vnet0
10.104.192.0 0.0.0.0 255.255.192.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 10.104.192.1 0.0.0.0 UG 0 0 0 eth0
服务器为单网卡:
eth0 Link encap:Ethernet HWaddr 52:54:00:B3:3E:A9
inet addr:10.104.232.195 Bcast:10.104.255.255 Mask:255.255.192.0
请求大神抽空帮忙解答一下,感激不尽!
安装报错,请问这个要如何解决?
(BTW:请问大佬可以做一个exe版本么?可以直接cmd命令运行就太棒了)
./python -m pip install -r requirements.txt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already satisfied: wheel in c:\python27\lib\site-packages (from -r requirements.txt (line 1)) (0.37.1)
Requirement already satisfied: ipaddress in c:\python27\lib\site-packages (from -r requirements.txt (line 2)) (1.0.23)
Requirement already satisfied: pywin32 in c:\python27\lib\site-packages (from -r requirements.txt (line 3)) (228)
Requirement already satisfied: wmi in c:\python27\lib\site-packages (from -r requirements.txt (line 4)) (1.5.1)
Collecting M2Crypto
Using cached M2Crypto-0.38.0.tar.gz (1.2 MB)
Requirement already satisfied: typing in c:\python27\lib\site-packages (from M2Crypto->-r requirements.txt (line 5)) (3.10.0.0)
Building wheels for collected packages: M2Crypto
Building wheel for M2Crypto (setup.py) ... error
ERROR: Failed building wheel for M2Crypto
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.