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

Sahasranaman M S <[email protected]> Mon, 11 Jan 2016 14:31:04 +0530
Newsgroups gmane.org.user-groups.linux.ilugc
Message-ID <[email protected]>

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.
> 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.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines