Redian新闻
>
Question on access linux VM in other people's home
avatar
Question on access linux VM in other people's home# Linux - Linux 操作系统
s*y
1
我想邀请我父母过来看我,腿受伤了,希望越快越好。
谢谢大家了。
avatar
P*5
2
上个月育了几个苗,然后手指受了伤,在版上请了假。
正式修养之前,把剩的玉米种子通通扔地里了,就是隔半米挖个小坑, 胡乱一埋。
然后湾区下了10天雨,昨天去后院看了看,35个种子,出了32个苗。
见过给力的,没见过这么给力的。
avatar
g*i
3
基督教,印度教,伊斯兰教,哪一个更适合中国国情?
对了还有神道教
avatar
T*k
4
神父摇了摇头,说:“活下去很容易,可是想要改变命运就不是那么容易了。没有高阶
能力者的保护,即使你建立起了一个理想国度,也随时会被能力者们摧毁。”
“也许会吧!不过也不能因为害怕就什么都不做了。”莎莉深深地吸了口气,挺起
了胸膛,说:“不管怎么说,我都会想办法把净水厂建起来的。”
如此说的时候,她的脸上都泛起了光辉。
神父看着莎莉,微笑着祝福了她。他知道,莎莉在短短时间内就学会了全部净水厂
相关的技术,这简直就是一个奇迹。但是拥有技术并不等于得到了净水厂,辐射水处理
核心需要的大量稀缺材料和精密部件都是极难得到的。至少就神父所知,除了龙城之外
,还没有哪家公司能够生产出它们来。
但是奇迹,总是从毫无希望中开始的。
神父慢慢地吞下了黑面包,然后在几个强壮男人帮助下,将使徒像从车上搬下,挪
到指定的位置竖立起来。神父取出一副精细工具,开始继续他的雕刻工作。他一举一动
都是非常轻柔,整整一个小时过去,神父都在修饰着使徒像的一根手指。而且即使是眼
力最好的人,也难以看出他究竟在雕像上改动了哪些地方。
午夜城中,苏等得快要失去耐心时,前来接收午夜城的部队终于赶到了。这是一支
还不到百人的部队,带
avatar
w*s
5
Hi, i have a question like this,
want to install ubuntu VMs in person A's pc at home,
when VMs are running, we can turn on ubuntu remote access.
then B will try to access his VM instance from his house using VM's ip,
C will do the same thing.
My question is, can it work ?
what ip shall B and C use for remote access ?
this is at home, there's no VPN.
avatar
B*i
6
8月以后能有就不错了

【在 s***y 的大作中提到】
: 我想邀请我父母过来看我,腿受伤了,希望越快越好。
: 谢谢大家了。

avatar
a*a
7
啥是紫玉米?
中国品种还是老外品种?
avatar
E*m
8
都不適合,大聖教是真正中國人的宗教。
avatar
T*k
9
这图杨有点苏的味道,看来使徒广撒种

【在 T*******k 的大作中提到】
: 神父摇了摇头,说:“活下去很容易,可是想要改变命运就不是那么容易了。没有高阶
: 能力者的保护,即使你建立起了一个理想国度,也随时会被能力者们摧毁。”
: “也许会吧!不过也不能因为害怕就什么都不做了。”莎莉深深地吸了口气,挺起
: 了胸膛,说:“不管怎么说,我都会想办法把净水厂建起来的。”
: 如此说的时候,她的脸上都泛起了光辉。
: 神父看着莎莉,微笑着祝福了她。他知道,莎莉在短短时间内就学会了全部净水厂
: 相关的技术,这简直就是一个奇迹。但是拥有技术并不等于得到了净水厂,辐射水处理
: 核心需要的大量稀缺材料和精密部件都是极难得到的。至少就神父所知,除了龙城之外
: ,还没有哪家公司能够生产出它们来。
: 但是奇迹,总是从毫无希望中开始的。

avatar
S*A
10
In this regard the VM have no different than a real PC.
It is the same way you access from B's home to your home PC.
You need to do the same port forwarding on your home router.
It does not matter it is VM or not.

【在 w*s 的大作中提到】
: Hi, i have a question like this,
: want to install ubuntu VMs in person A's pc at home,
: when VMs are running, we can turn on ubuntu remote access.
: then B will try to access his VM instance from his house using VM's ip,
: C will do the same thing.
: My question is, can it work ?
: what ip shall B and C use for remote access ?
: this is at home, there's no VPN.

avatar
s*y
11
谢谢了!

【在 B*****i 的大作中提到】
: 8月以后能有就不错了
avatar
P*5
12

no idea ah. will have truth when the corns come out.

【在 a****a 的大作中提到】
: 啥是紫玉米?
: 中国品种还是老外品种?

avatar
B*e
13
共产教吧。
avatar
w*w
14
这本书到目前看,还不知道写什么,人物也没什么性格。还远不如尘缘,估计TJ的可能
性比较大。

【在 T*******k 的大作中提到】
: 神父摇了摇头,说:“活下去很容易,可是想要改变命运就不是那么容易了。没有高阶
: 能力者的保护,即使你建立起了一个理想国度,也随时会被能力者们摧毁。”
: “也许会吧!不过也不能因为害怕就什么都不做了。”莎莉深深地吸了口气,挺起
: 了胸膛,说:“不管怎么说,我都会想办法把净水厂建起来的。”
: 如此说的时候,她的脸上都泛起了光辉。
: 神父看着莎莉,微笑着祝福了她。他知道,莎莉在短短时间内就学会了全部净水厂
: 相关的技术,这简直就是一个奇迹。但是拥有技术并不等于得到了净水厂,辐射水处理
: 核心需要的大量稀缺材料和精密部件都是极难得到的。至少就神父所知,除了龙城之外
: ,还没有哪家公司能够生产出它们来。
: 但是奇迹,总是从毫无希望中开始的。

avatar
w*s
15
actually i have no idea about this port forwarding,
if install VNC, do i need to worry about these ?
i mean what's the easiest way for a dummy to setup remote access across
several homes ? have no idea about firewalls.
many thanks !

【在 S*A 的大作中提到】
: In this regard the VM have no different than a real PC.
: It is the same way you access from B's home to your home PC.
: You need to do the same port forwarding on your home router.
: It does not matter it is VM or not.

avatar
h*t
16
我昨天约的是北京的8月12号,F1。。。
avatar
T*4
17
猪头终于捂不住了
俺说过要发包子的

【在 P******5 的大作中提到】
: 上个月育了几个苗,然后手指受了伤,在版上请了假。
: 正式修养之前,把剩的玉米种子通通扔地里了,就是隔半米挖个小坑, 胡乱一埋。
: 然后湾区下了10天雨,昨天去后院看了看,35个种子,出了32个苗。
: 见过给力的,没见过这么给力的。

avatar
D*n
18
烟南才尽了

【在 w**w 的大作中提到】
: 这本书到目前看,还不知道写什么,人物也没什么性格。还远不如尘缘,估计TJ的可能
: 性比较大。

avatar
S*A
19
Of course you need to config the port forwarding.
Your home machine have internal IP address which is
not visible from the rest of the internet.
Just look up your router manual how to setup port
forwarding.
Regarding VNC, it is usually a very bad idea to port
forward the VNC display directly. Because VNC has no
encryption and it is subject to sniffering and bruce force
attach.
It is much better have a home SSH server. Only port
forward to the SSH server, then use ssh tunnel to forward
to the VNC port. That way you don't expose your VNC
port directly on the internet.

【在 w*s 的大作中提到】
: actually i have no idea about this port forwarding,
: if install VNC, do i need to worry about these ?
: i mean what's the easiest way for a dummy to setup remote access across
: several homes ? have no idea about firewalls.
: many thanks !

avatar
s*y
20
太谢谢了!

【在 h*****t 的大作中提到】
: 我昨天约的是北京的8月12号,F1。。。
avatar
P*5
21

thanks ah. lick.

【在 T*******4 的大作中提到】
: 猪头终于捂不住了
: 俺说过要发包子的

avatar
w*s
22
will give it a try, thanks a lot !

【在 S*A 的大作中提到】
: Of course you need to config the port forwarding.
: Your home machine have internal IP address which is
: not visible from the rest of the internet.
: Just look up your router manual how to setup port
: forwarding.
: Regarding VNC, it is usually a very bad idea to port
: forward the VNC display directly. Because VNC has no
: encryption and it is subject to sniffering and bruce force
: attach.
: It is much better have a home SSH server. Only port

avatar
l*l
23
记得去年某农友bso过的。不记得是否xx0816了

【在 a****a 的大作中提到】
: 啥是紫玉米?
: 中国品种还是老外品种?

avatar
w*s
24
if the openSSH uses port 22, which protocol is it (only TCP, UDP in the
router menu)
also this port 22 is for source port or dest port ?
how about "forward to port" ?
thanks very much !

【在 S*A 的大作中提到】
: Of course you need to config the port forwarding.
: Your home machine have internal IP address which is
: not visible from the rest of the internet.
: Just look up your router manual how to setup port
: forwarding.
: Regarding VNC, it is usually a very bad idea to port
: forward the VNC display directly. Because VNC has no
: encryption and it is subject to sniffering and bruce force
: attach.
: It is much better have a home SSH server. Only port

avatar
l*n
25
玉米的间距要那么大吗?

【在 P******5 的大作中提到】
: 上个月育了几个苗,然后手指受了伤,在版上请了假。
: 正式修养之前,把剩的玉米种子通通扔地里了,就是隔半米挖个小坑, 胡乱一埋。
: 然后湾区下了10天雨,昨天去后院看了看,35个种子,出了32个苗。
: 见过给力的,没见过这么给力的。

avatar
z*e
26
normally tcp port 22, but you can change that

【在 w*s 的大作中提到】
: if the openSSH uses port 22, which protocol is it (only TCP, UDP in the
: router menu)
: also this port 22 is for source port or dest port ?
: how about "forward to port" ?
: thanks very much !

avatar
a*a
27
没必要, 1尺足够了, 但是最好四面透风

【在 l********n 的大作中提到】
: 玉米的间距要那么大吗?
avatar
z*e
28
I am not expert but I can share something. I had a few vm on esxi, each of
those have a virtual ethernet adapter which, if I see from the router or
other machine, they all use their dedicated NIC. So it just works like there
's a direct connection between router and the vm, and the hypervisor is
transparent between them.
e.g.
esxi hypervior has ip addr of 192.168.1.100
vm1 on hypervisor has ip addr of 192.168.1.101
vm2 on hypervisor has ip addr of 192.168.1.102
from the user's view of persective there are 3 individual NICs, although
physically there is only one.

【在 w*s 的大作中提到】
: actually i have no idea about this port forwarding,
: if install VNC, do i need to worry about these ?
: i mean what's the easiest way for a dummy to setup remote access across
: several homes ? have no idea about firewalls.
: many thanks !

avatar
S*A
29
The port of 22 is both source port and the dest port.
It depend on which way the packet is going. If the packet
send from your openssh, it is source 22.
In the router you UI want to config the dest port.
it is the first packet that come from external IP with dest port
as 22 to connect to your ssh server. After that, the
router will remember the connection and deal with the
packet on the other direction as well.
The source port in that UI is the port you want to use
on the router. You can set it other than 22. e.g. If you set
that to 222, you just need to connect to your router port 222
from external IP.

【在 w*s 的大作中提到】
: if the openSSH uses port 22, which protocol is it (only TCP, UDP in the
: router menu)
: also this port 22 is for source port or dest port ?
: how about "forward to port" ?
: thanks very much !

avatar
S*A
30
that is what I am saying, the VM or not, it make no difference
from the router point of view.

there

【在 z*********e 的大作中提到】
: I am not expert but I can share something. I had a few vm on esxi, each of
: those have a virtual ethernet adapter which, if I see from the router or
: other machine, they all use their dedicated NIC. So it just works like there
: 's a direct connection between router and the vm, and the hypervisor is
: transparent between them.
: e.g.
: esxi hypervior has ip addr of 192.168.1.100
: vm1 on hypervisor has ip addr of 192.168.1.101
: vm2 on hypervisor has ip addr of 192.168.1.102
: from the user's view of persective there are 3 individual NICs, although

avatar
z*e
31
sorry I missed your point. I should've read it more carefully

【在 S*A 的大作中提到】
: that is what I am saying, the VM or not, it make no difference
: from the router point of view.
:
: there

avatar
w*e
32
其实就是要穿透两层,一层局域网NAT,一层是host和vm
除了上面说的在router做port forwarding,vm使用虚拟网卡,还有一招大绝招,一次
穿透任意多层,无需修改任何中间router的设置,vm上一条命令全搞定。就是ssh反向
代理。自行google就知道了,唯一的要求是有个公共ip的跳板
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。