File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ icon: material/cart-plus
7
7
目前创建的虚拟机配置统一为 2 核心 CPU、4 GB 内存与 16 GB 存储空间,该配置足够进行大部分计算机学院课程学习活动(如使用 Vivado 等)。对于 LXC 虚拟机,[ Vlab 实验软件] ( images.md#vlab-software ) 不占用虚拟机的存储空间。
8
8
9
9
虚拟机直接接入 Vlab 内网,通过 NAT 访问科大校园网及互联网(教育网出口),因此虚拟机内无需(也禁止)使用网络通,虚拟机也无法直接从 Vlab 外部访问。
10
+ 如果有实验需要访问运行在虚拟机中的端口的话,我们推荐你首先尝试 [ SSH 端口转发] [ ssh-port-forwarding ] 。
11
+ 它比端口映射更加安全,并且绝大多数时候能够满足你的需求。
12
+
13
+ [ ssh-port-forwarding ] : https://201.ustclug.org/dev/ssh/#port-forwarding
10
14
11
15
## 申请额外资源 {#extra-resources}
12
16
@@ -36,8 +40,6 @@ icon: material/cart-plus
36
40
37
41
由于合规性要求,我们会严格处理端口映射的申请,并且不会映射低端口(0-1023)和一些敏感端口(如 6379、8080 等)。
38
42
39
- [ ssh-port-forwarding ] : https://zhuanlan.zhihu.com/p/148825449
40
-
41
43
## 虚拟机互联 {#vm-interconnect}
42
44
43
45
Vlab 的所有虚拟机位于同一个二层网络中,如果有组队合作的需求,多个虚拟机之间可以直接通过内网地址互联(即 172.31 开头的 IP 地址,或者 2001:da8:d800:4bfc 开头的 IPv6 地址)。出于安全原因,TCP 22、1024-1029、5900 端口不能用于互联(UDP 端口暂无限制)。
You can’t perform that action at this time.
0 commit comments