<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Security on iBlog Efstathios Iosifidis</title><link>https://iosifidis.github.io/categories/security/</link><description>Recent content in Security on iBlog Efstathios Iosifidis</description><generator>Hugo</generator><language>el</language><lastBuildDate>Tue, 21 May 2013 20:43:33 +0000</lastBuildDate><atom:link href="https://iosifidis.github.io/categories/security/index.xml" rel="self" type="application/rss+xml"/><item><title>Remotly Secure Internet Access using Raspberry Pi and proxy</title><link>https://iosifidis.github.io/2013/02/remotly-secure-internet-access-using.html/</link><pubDate>Wed, 20 Feb 2013 08:07:00 +0000</pubDate><guid>https://iosifidis.github.io/2013/02/remotly-secure-internet-access-using.html/</guid><description>&lt;p>&lt;a href="http://www.raspberrypi.org/" target="_blank" rel="noopener noreferrer">&lt;img src="http://dl.dropbox.com/u/20413076/owncloud/raspberry/rpi.png" alt="" loading="lazy" />
&lt;/a>
&lt;br>
The last challenge was to find a way for a friend to access his static IP, securly, from anywhere. Well, we did it with Raspberry Pi. Why? The main reason was that it was the cheapest way to do that. It&amp;rsquo;s not only the cost to buy the equipment but also the cost of have the machine on, 24/7. So the Raspberry Pi and the router are plugged on UPS. Since everything was set, now start the fun part!!!&lt;/p>
&lt;p>1. Install Raspbian and update it.&lt;br>
- Find the SD card:&lt;br>
df -h &lt;br>
&lt;em>or better&lt;/em>&lt;/p>
&lt;p>cat /proc/partitions &lt;br>
eg it&amp;rsquo;s /dev/sdb1.&lt;br>
- Unmount the SD&lt;br>
umount /dev/sdb1 &lt;br>
- Copy the &lt;a href="http://downloads.raspberrypi.org/images/raspbian/2012-12-16-wheezy-raspbian/2012-12-16-wheezy-raspbian.zip" target="_blank" rel="noopener noreferrer">image&lt;/a>
 to your SD (don&amp;rsquo;t forget to add sudo before):&lt;br>
dd if=2012-12-16-wheezy-raspbian.img of=/dev/sdb bs=1M;sync &lt;br>
You&amp;rsquo;re all set. Don&amp;rsquo;t forget the user-pass:&lt;br>
user: root pass: raspberry user: pi pass: raspberry&lt;br>
You should proceed with update (you can login using ssh with the command &lt;strong>ssh root@RASPBERRY&amp;rsquo;s IP&lt;/strong>):&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>apt-get update &lt;span style="color:#f92672">&amp;amp;&amp;amp;&lt;/span> apt-get dist-upgrade
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item></channel></rss>