remote connect two raspi'...
remote connect two raspi's
- 主页
- 后台控制中心
- Community Forum
- Services
- Dynamic DNS Service
- remote connect two raspi's
- Community Forum
- remote connect two raspi's
Topic: remote connect two raspi's
I am able to access the first raspberry pi listed below through the Linux Remote Desktop Viewer: myhost.mywire.orgMAC Address b8:27:eb:fb:97:4fIPv4 Address / Name 192.168.1.64 / raspberrypi . . . . . . . . . .I have tried to access "raspi2" below using myhost1.dynu.net. However, it does not work. It takes me to the same computer as myhost1.mywire.org.MAC Address b8:27:eb:15:68:af IPv4 Address / Name 192.168.1.85 / raspi2 . . . . . . . . .Both raspi's are at one IPv4 address.Should the address be followed by a ":" and another number to distinguish between the two machines?I am stuck until I know more.Sincerely
Reply with quote | Report
As you don't say how you are accessing them (SSH, HTTP etc) I'll take a guess that whatever protocol, you are port forwarding and unless you have setup two different ports (i.e. one non standard at least) your router/Firewall will also send the inbound connection to the public IP address to the same Pi.You will need two different port forwards and too some extend it doesn't matter which domain name you use, as they probably both resolve to the same public IP address anyway :-)
Reply with quote | Report
I was having the same problem, I don't know if this is the right way but it works for me:First I set up the port forward for each pi:pi1 external 80 pointing to internal 80pi2 external 8022 pointing to internal 88then created an alias for my first pi: pi1.mydoain.com and for pi2 I created a redirect: hostname pi2.mydomain.com destination http://my.ip.adress:8022 and now it works fine.Hope that helps
Reply with quote | Report
Author | Topic: remote connect two raspi's |
---|---|
smoodypi Joined: 2017/4/24 |
remote connect two raspi's 2018年3月23日 13:54
I am able to access the first raspberry pi listed below through the Linux Remote Desktop Viewer: myhost.mywire.orgMAC Address b8:27:eb:fb:97:4fIPv4 Address / Name 192.168.1.64 / raspberrypi . . . . . . . . . .I have tried to access "raspi2" below using myhost1.dynu.net. However, it does not work. It takes me to the same computer as myhost1.mywire.org.MAC Address b8:27:eb:15:68:af IPv4 Address / Name 192.168.1.85 / raspi2 . . . . . . . . .Both raspi's are at one IPv4 address.Should the address be followed by a ":" and another number to distinguish between the two machines?I am stuck until I know more.Sincerely
|
grahamxpromz Joined: 2015/4/13 |
remote connect two raspi's 2018年4月8日 19:28
As you don't say how you are accessing them (SSH, HTTP etc) I'll take a guess that whatever protocol, you are port forwarding and unless you have setup two different ports (i.e. one non standard at least) your router/Firewall will also send the inbound connection to the public IP address to the same Pi.You will need two different port forwards and too some extend it doesn't matter which domain name you use, as they probably both resolve to the same public IP address anyway :-)
|
FreddyF Joined: 2018/4/30 |
remote connect two raspi's 2018年5月10日 22:41
I was having the same problem, I don't know if this is the right way but it works for me:First I set up the port forward for each pi:pi1 external 80 pointing to internal 80pi2 external 8022 pointing to internal 88then created an alias for my first pi: pi1.mydoain.com and for pi2 I created a redirect: hostname pi2.mydomain.com destination http://my.ip.adress:8022 and now it works fine.Hope that helps
|
It is currently 2024年12月19日 10:47 US Mountain Standard Time
2024年12月19日 10:47