Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
YiRanCN committed Nov 13, 2023
1 parent 73bd030 commit 74da482
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/study/net/OpenVPN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [OpenVPN 限制流量带宽-网卡级别限制](https://bajie.dev/zh-cn/posts/20211018-openvpn_limit_bandwidth/)
- [解决 OpenVPN 客户端所有网络全走 VPN 的问题,server.conf 和 client.conf 配置文件详解](https://www.ilxqx.com/archives/jie-jue-openvpn-ke-hu-duan-suo-you-wang-luo-quan-zou-vpn-de-wen-ti)
- [openvpn 官方命令行文档](https://build.openvpn.net/man/openvpn-2.6/openvpn.8.html)
- [通过 openvpn 分析 tun 实现隧道的数据流程](https://www.junmajinlong.com/virtual/network/data_flow_about_openvpn/)

### 脚本

Expand Down
Binary file added docs/study/net/images/vpn-yuanlitu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/study/net/tun_tap.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ TAP 等同于一个以太网设备,它操作第二层数据包如以太网数

Tun 虚拟设备和物理网卡的区别是 Tun 虚拟设备是 IP 层设备,从/dev/net/tun 字符设备上读取的是 IP 数据包,写入的也只能是 IP 数据包,因此不能进行二层操作,如发送 ARP 请求和以太网广播。与之相对的是,Tap 虚拟设备是以太网设备,处理的是二层以太网数据帧,从/dev/net/tun 字符设备上读取的是以太网数据帧,写入的也只能是以太网数据帧。从这点来看,Tap 虚拟设备和真实的物理网卡的能力更接近。

[原理图](./images/vpn-yuanlitu.jpg)

- [介绍 Linux 下的 Tun/Tap](https://www.lxlinux.net/12108.html)
- 写的真不错,了解 tun、tap 以及 vpn 的原理图
- [理解 Linux 虚拟网卡设备 tun/tap 的一切](https://www.junmajinlong.com/virtual/network/all_about_tun_tap/index.html)
4 changes: 4 additions & 0 deletions docs/study/net/代理.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### 参考

- [关于『代理』的不完全使用指北](https://blog.revincx.icu/posts/proxy-summary/)
- 代理和 vpn 还是有很大区别的
3 changes: 3 additions & 0 deletions docs/study/program/Lua/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### 学习资料

- [Lua 笔记系列](https://www.junmajinlong.com/lua/index/)
1 change: 1 addition & 0 deletions docs/study/program/Rust/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ https://doc.rust-lang.org/std/index.html
- [官方网站](https://www.rust-lang.org/zh-CN)
- [百度百科-Rust 语言](https://baike.baidu.com/item/Rust%E8%AF%AD%E8%A8%80/9502634)
- [Rust 程序设计预研 简体中文版 非官方](https://kaisery.github.io/trpl-zh-cn/title-page.html)
- [骏马金龙-Rust 的入门书籍](https://rust-book.junmajinlong.com/)
4 changes: 3 additions & 1 deletion docs/study/system/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
sidebar_position: 1
---

# mac 电脑
### 学习资料

- [骏马金龙-操作系统系列文章](https://www.junmajinlong.com/os/index/)

### mac 用久了,如何清理比较大的文件

Expand Down
3 changes: 3 additions & 0 deletions docs/study/system/openWRT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### 参考

- [百度百科-openWRT](https://baike.baidu.com/item/openWRT/3528947)

0 comments on commit 74da482

Please sign in to comment.