Ssh tunnel raspberry pi1/9/2023 To begin with, plug in your Pi and connect it to your office network. Additionally, read this post about further securing your SSH server. If not, then you could create a cheap VPS at DigitalOcean for example. If you already have a box with a static IP and SSH running then you’re good to go. You’re going to need an outside server for your Pi to connect into. You could put that into use and create a connection to your work machine by creating a reverse SSH tunnel. But you have a spare Raspberry Pi lying around. Probably you don’t have a VPN which you could use to connect to your work network. You have a small office with no dedicated IT support. You need to access your work computer from your home. After it's download to the Pi it is made executable using chmod and afterwards runned as a bash file.Notice! This post is more than a year old. I chose a third option (I admit it is dirty): I have some webspace, thus I upload from home a simple text file to specific place where the Pi can download it from. In the earlier days you could get a dyndns account but now they charge you. But for any other router the ISP assigns a new IP from time to time (although it can stay up quite long). If you're privileged to have a static IP - Nice. On the other hand the Pi needs the servers IP, that can be quite an issue. It's nice that with all we did here we do not even need the Pi's IP address. That way it doesn't matter if the knoppix system changes its ID on startup. Ssh -o StrictHostKe圜hecking=no -o UserKnownHostsFile=/dev/null 9091:localhost:22 -N -R two arguments avoid that your Pi checks the server's identity (which is another security issue). For the Huawei E173 that works nicely with sakis3g (remember that you can at max use 4 digits for your SIM-password!).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |