-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi shuts down when accessing craft beer pi home page via port forwarding #265
Comments
Why do you put nginx in the middle.?
El dom, 15 ago 2021 a las 23:24, Steven Gassert ***@***.***>)
escribió:
… Description
Perhaps this is a raspberry pi security feature, but whenever I access the
crafbeerpi UI on localhost via port forwarding from an outside network, my
raspberry pi immediately crashes. Was curious if anyone would be able to
provide an explanation for this behavior or provide some setups they have
used to access craftbeerpi from outside the network it is connected to.
My flow
Outside network --> My wifi router port forwarding to raspberry pi -->
nginx running on raspberry pi --> craftbeer pi running on localhost
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#265>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXBW4PC6DR7ZNUVQCQ7GJ3T5BZFNANCNFSM5CG2H4CA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
@lalo-uy My idea was that I would be able to forward requests to several applications running on my local network. In the past I've also seen this behavior while port forwarding via ngrok Similar flowOutside network --> ngrok --> craftbeerpi running on localhost I'll update the description with this additional info |
I prefer to open a vpn to the raspberry.
You can use OpenVPN, and lately ZeroTierOne as a very easy setup.
That puts your remote device in the same network of the raspberry
letting you access any app.
If raspberry Ip forwarding is enabled you even reach your home network.
El lun, 16 ago 2021 a las 18:07, Steven Gassert ***@***.***>)
escribió:
… @lalo-uy <https://github.com/lalo-uy> My idea was that I would be able to
forward requests to several applications running on my local network.
In the past I've also seen this behavior while port forwarding via ngrok
<https://ngrok.com/>
Similar flow
Outside network --> ngrok --> craftbeerpi running on localhost
I'll update the description with this additional info
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#265 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXBW4JENC5G3PD4UOFOMO3T5F4YJANCNFSM5CG2H4CA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Thanks for the replies guys. I do currently use VNC when connecting to my pi. My original idea was that I would be able to share a URL with non technically savvy family members who would be able to access the craft beerpi UI remotely (perhaps behind an authentication prompt) hence the preference to avoid some of the existing solutions. The really strange part is that when I do finally make a connection to the local host via the networking paths above, the entire pi shuts down and I am no longer able to access it via ssh or vnc. That’s why my original thought was that perhaps this was some sort of security feature to prevent outside traffic from gaining control of gpio pins ect |
Description
Perhaps this is a raspberry pi security feature, but whenever I access the crafbeerpi UI on localhost via port forwarding from an outside network, my raspberry pi immediately crashes. Was curious if anyone would be able to provide an explanation for this behavior or provide some setups they have used to access craftbeerpi from outside the network it is connected to.
Flow with Nginx
Outside network --> My wifi router port forwarding to raspberry pi --> nginx running on raspberry pi --> craftbeer pi running on localhost
I've also seen this behavior when using ngrok to forward requests to the craftbeer pi server running on localhost
Flow with Ngrok
Outside network --> ngrok --> craftbeerpi running on localhost
The text was updated successfully, but these errors were encountered: