0

Hello Guys im doing a group college project for my final year it involves a CCTV type project using the raspberry pi camera and a website with a php login system to the website, I have a Pan Tilt hat with web buttons everything works fine locally but I want to get it working so you can access it from everywhere, we are allowed to connect to the college Wifi but we are not allowed to Port Forward or anything like that.

My question is, What can I do to get the website public with Port Forwarding? Can I connect to my home network from the raspberry that is in a different location because my home network allows port forwarding?

2

1 Answer 1

2

Assuming you are running everything local on the Raspberry Pi, you can connect the RaspberryPi which is connected to your college WiFi to your home computer, without hacking or opening your college Wifi using secure socket tunneling or SSH Tunneling.

From your Rpi you could establish a outbound socket connection to your home computer. For example Rpi port 80 -> homecomputer port 8080

Worth noting that you don't have to open your home computer port 8080. Only rely on the ssh protocol/service to access. You may have to make firewall changes at home as well.

This would allow you to access on your home computer your Rpi website on port 80 from your desktop home computer using localhost:8080 or similar.

Keep in mind that connecting a machine that is hosted on one person's network to another network may break a rule! Be responsible and learn. :)

3
  • Mark, I will contact IT services in my college to see if it is allowed. If they allow me to do this would there be any chance of getting slight help doing this because it sounds quite advanced
    – Minieh
    Feb 26, 2020 at 14:33
  • Yes -- I can aid you one evening.
    – Mark
    Feb 26, 2020 at 14:37
  • I have gotten in contact with IT Services and they said SSH Tunneling is fine. I need to find a guide somewhere that will lead me in the correct direction to get this to work.
    – Minieh
    Feb 26, 2020 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.