v*****o 发帖数: 76 | 1 router_1--laptopA
||
Internet
||
router_2--laptopB
Suppose A and B know external IPs mutually. Can A and B talk directly? Is it easy to implement under Linux?
Any ideas are appreciated. |
m**********g 发帖数: 434 | 2 怎么实现“A and B know external IPs mutually”???要安装啥软件、或申请啥服
务吗?
如果能实现这个,那我就可以在世界的任何地方,只要联上互联网,就可以看家里局域
网中linux os的set-top box上看家里的卫星电视了!!!
【在 v*****o 的大作中提到】 : router_1--laptopA : || : Internet : || : router_2--laptopB : Suppose A and B know external IPs mutually. Can A and B talk directly? Is it easy to implement under Linux? : Any ideas are appreciated.
|
l*****g 发帖数: 547 | 3 It's very simple. Let's say your computer B is behind the router.
1. set your router to expose your computer B
2. buy a domain name or go to step 4
3. If B is running on Linux, you can write some script to update the IP
address of the domain name;
4. If you don't want to pay the money, then let the script to report
the IP address by sending email to somewhere you like.
【在 m**********g 的大作中提到】 : 怎么实现“A and B know external IPs mutually”???要安装啥软件、或申请啥服 : 务吗? : 如果能实现这个,那我就可以在世界的任何地方,只要联上互联网,就可以看家里局域 : 网中linux os的set-top box上看家里的卫星电视了!!!
|
w********e 发帖数: 557 | 4
拿webcam对着电视,然后通过messenger看。:-)
【在 m**********g 的大作中提到】 : 怎么实现“A and B know external IPs mutually”???要安装啥软件、或申请啥服 : 务吗? : 如果能实现这个,那我就可以在世界的任何地方,只要联上互联网,就可以看家里局域 : 网中linux os的set-top box上看家里的卫星电视了!!!
|
v*****o 发帖数: 76 | 5 I really like this idea...
【在 w********e 的大作中提到】 : : 拿webcam对着电视,然后通过messenger看。:-)
|
m**********g 发帖数: 434 | 6 nice, but I still want to set up a home LAN(including router, satellite tv,
set-top box; or do I need to add a server?), and then I can do something on
it, ^^
【在 w********e 的大作中提到】 : : 拿webcam对着电视,然后通过messenger看。:-)
|
m**********g 发帖数: 434 | 7 Questions:
how to do #1?
for #2, yes, I bought a domain name.
for #3, yes, everything is running on Linux now; must B be a server? or just
a linux client, too? what script is it and where to put it on the B?
thanks again!!!
【在 l*****g 的大作中提到】 : It's very simple. Let's say your computer B is behind the router. : 1. set your router to expose your computer B : 2. buy a domain name or go to step 4 : 3. If B is running on Linux, you can write some script to update the IP : address of the domain name; : 4. If you don't want to pay the money, then let the script to report : the IP address by sending email to somewhere you like.
|
w********e 发帖数: 557 | 8
tv,
on
Why do you need a server? Just two yahoo or msn accounts are enough.
But this meant to be a joke.
You can consider something like slingshot that is meant for this purpose.
【在 m**********g 的大作中提到】 : nice, but I still want to set up a home LAN(including router, satellite tv, : set-top box; or do I need to add a server?), and then I can do something on : it, ^^
|
s*******a 发帖数: 8827 | 9 sounds like sony's locationfree player
【在 m**********g 的大作中提到】 : 怎么实现“A and B know external IPs mutually”???要安装啥软件、或申请啥服 : 务吗? : 如果能实现这个,那我就可以在世界的任何地方,只要联上互联网,就可以看家里局域 : 网中linux os的set-top box上看家里的卫星电视了!!!
|
l*****g 发帖数: 547 | 10 #1: check your router setup; DMZ
#3: I hope you learn Linux more in the future by using it.
get some webpage introduction on cron/crontab
just
【在 m**********g 的大作中提到】 : Questions: : how to do #1? : for #2, yes, I bought a domain name. : for #3, yes, everything is running on Linux now; must B be a server? or just : a linux client, too? what script is it and where to put it on the B? : thanks again!!!
|
|
|
v*****o 发帖数: 76 | 11 假设我们只能修改A和B,不能设置router,能够实现吗?
毕竟,设置router需要的知识不是每个人都有的。
【在 l*****g 的大作中提到】 : #1: check your router setup; DMZ : #3: I hope you learn Linux more in the future by using it. : get some webpage introduction on cron/crontab : : just
|
m**********g 发帖数: 434 | 12 thanks a lot! I'll try on that...^^
【在 l*****g 的大作中提到】 : #1: check your router setup; DMZ : #3: I hope you learn Linux more in the future by using it. : get some webpage introduction on cron/crontab : : just
|
m**********g 发帖数: 434 | 13 oh, why we cannot config router? the router is at home, so we can access it
via ip in the home lan, right? there should be a management software in the
router already, right?
correct me if i'm wrong on this. thanks!
【在 v*****o 的大作中提到】 : 假设我们只能修改A和B,不能设置router,能够实现吗? : 毕竟,设置router需要的知识不是每个人都有的。
|
p*****s 发帖数: 344 | 14 不是能talk就可以了,家里网络上传速度很重要。
【在 m**********g 的大作中提到】 : 怎么实现“A and B know external IPs mutually”???要安装啥软件、或申请啥服 : 务吗? : 如果能实现这个,那我就可以在世界的任何地方,只要联上互联网,就可以看家里局域 : 网中linux os的set-top box上看家里的卫星电视了!!!
|
p*****s 发帖数: 344 | 15 has anyone tried acrobat connect now under linux. It uses flash to share
webcam, desktop screen, microphone.
https://acrobat.com/#/connectnow/ConnectNowBegin
tv,
something on
【在 m**********g 的大作中提到】 : nice, but I still want to set up a home LAN(including router, satellite tv, : set-top box; or do I need to add a server?), and then I can do something on : it, ^^
|
l*****g 发帖数: 547 | 16 一般家里的router改起来非常easy.
or try google: ssh reverse tunnel 如果你改不了router的话
【在 v*****o 的大作中提到】 : 假设我们只能修改A和B,不能设置router,能够实现吗? : 毕竟,设置router需要的知识不是每个人都有的。
|
l*****g 发帖数: 547 | 17 no money....
【在 p*****s 的大作中提到】 : has anyone tried acrobat connect now under linux. It uses flash to share : webcam, desktop screen, microphone. : https://acrobat.com/#/connectnow/ConnectNowBegin : : tv, : something on
|
m**********g 发帖数: 434 | 18 isn't it free to register?
【在 l*****g 的大作中提到】 : no money....
|
v*****o 发帖数: 76 | 19 thanks..
【在 l*****g 的大作中提到】 : 一般家里的router改起来非常easy. : or try google: ssh reverse tunnel 如果你改不了router的话
|
g****s 发帖数: 181 | 20 我以前成功的弄过,不知对你有否帮助
假设家里的router ip: homerouter
laptop ip: homelaptop
首先更新我的router(buffalo), 到http://www.polarcloud.com/tomato 下载相关的firmware
打开网页 http://192.168.1.1 (or some machine is 2.1, 0.1 )
username : admin
password: admin (若你第一次,多半是这个,你可以在里面改)
到port forwarding选项
让 homerouter:2000 port forward to homelaptop:22 (这步 最关键 )
save and quit
现在空手到你的办公室,打开电脑
ssh -XY(graphic, optional) username@homerouter:2000 ( username is your
username on laptop )
输入密码
连上了
22=ssh scp rsync svn
这个对我有效,不知你 |
g****s 发帖数: 181 | 21 我以前成功的弄过,不知对你有否帮助
假设家里的router ip: homerouter
laptop ip: homelaptop
首先更新我的router(buffalo), 到http://www.polarcloud.com/tomato 下载相关的firmware
打开网页 http://192.168.1.1 (or some machine is 2.1, 0.1 )
username : admin
password: admin (若你第一次,多半是这个,你可以在里面改)
到port forwarding选项
让 homerouter:2000 port forward to homelaptop:22 (这步 最关键 )
save and quit
现在空手到你的办公室,打开电脑
ssh -XY(graphic, optional) username@homerouter:2000 ( username is your
username on laptop )
输入密码
连上了
22=ssh scp rsync svn
这个对我有效,不知你 |