Re: Making Pi as personal VPN and want to access in from outside

sahil साहिल <[email protected]> Mon, 11 Jan 2016 15:18:11 +0530
Newsgroups gmane.org.user-groups.linux.ilugc
Message-ID <CAP6xenkbQF4dCvRv80nyXpz6WQCYK2Jd5=+A8csYODzoLCYVtw@mail.gmail.com>
On Mon, Jan 11, 2016 at 2:31 PM, Sahasranaman M S <[email protected]> wrote:

>
> On Monday 11 January 2016 01:24 PM, sahil साहिल wrote:
> > Yes, in my router (TP-link) there is an option of port-forwarding in
> > Firewall/NAT section. I will do a search on mapping.
> If your modem and router are two different devices,  you might have to
> do it in both of them.  If you have Raspbian installed,  you could set a
> static ip to your Pi (192.168.1.100 for example).  Then if you want to
> forward ssh port,  you could set external port 22, internal port 22 and
> host 192.168.1.100.  Some modems take a port range,  just set 22 for
> both start and end.  For more security,  you could use a non-standard
> external port, like 1234.
>

No, my router and modem is same. Means single device. And, I have Raspbian
and I access it from my laptop via SSH (PuTTY) and configuring it on SSH is
not my issue. I want to access it from outside my home network. Let's
assume I am at my friend's home and he has his own home network and I want
to access my Pi from his location using his network. Is it possible?


> > If I follow port-forwarding and using OpenVPN as mentioned in the link,
> > shall I be able to access my Pi from outside network or if I am behind
> some
> > firewall. Shall I get GUI access?
> Not sure what you mean by GUI access.  OpenVPN doesn't have a free
> webbased control panel.  There is OpenVPN Access Server,  but I guess
> you have to pay for it,  and I'm not sure if it is available for the
> Pi.  If you must have a web interface,  you would have to find a
> different VPN server.  Or if you mean remote login to a network machine
> through the vpn,  that should be possible with something like X2Go or
> FreeRDP.
>

OK. I will check it for GUI access. Yes, I access my Pi in GUI mode using
Remote Desktop Viewer (comes by default in Ubuntu) from my laptop when I am
at home or using same network.


-- 

*Regards,Sahil ModGill*
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
This
email has been sent from a virus-free computer protected by Avast.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines