Reading Time: 6 minutes

OSMC or Raspbmc is the leading-edge video entertainment center for Raspberry Pi. Being a sophisticated platform for masses, there’re only a few good video centers available for Raspberry Pi. And OSMC stands at the top to deliver elite entertainment services. Based on Kodi/XBMC, OSMC offers sleek interface & massive media library which take Raspberrians’ entertainment experience to whole next level.

However, the hurdle that comes on your way when exploring OSMC are the imposed geo-restrictions on mainstream channels. But, in this guide, we will show you how to bypass geo-restrictions and access leading-edge channels on OSMC from anywhere. Also, you will learn how to setup OSMC VPN, add unlimited channels and explore the world of on-demand entertainment like never before.

Best OSMC VPN to Unblock Channels & Achieve One-click Access

To access the top-rated channels (BBC iPlayer, HBO Now, FOX Go, BT Sports, ESPN, Nine Network and much more) on OSMC, an OSMC VPN is required. You can select from one of the recommended OSMC VPN services from below. They will ensure a cutting-edge streaming experience on OSMC with zero interruptions or buffer:

VPN ProvidersPrice ($)Special DealsMore Info
Best Affordable VPN
$2.95 Per Month
Best Budget Service
$1.99 Per Month
Best for Geo-Unblocking
$3.49 Per Month
70% Off
3 Years Plan
Best for Streaming
$8.32 Per Month
Best for Private Browsing
$2.75 Per Month
79% Off
3 Years Deal


OSMC VPN is the safest option to access geo-blocked channels. While there are various freemium channels (Genesis, Extreme Sports & Football today) available, many traditional channels require paid subscription like ESPN, NBA On-demand and BBC iPlayer. But, geo-restrictions apply on both the channel types.

To get around with the geo-restrictions, an OSMC VPN spoofs your location with the country where a desired channel is available. As a result, you can unblock various geo-blocked channels instantly from anywhere. Streaming experts and user reviews suggest using best OSMC VPN services for high-speed streaming, reliable connection and robust privacy protection.

Setup PPTP VPN on OSMC for Raspberry Pi in 3 Simple Steps

OSMC VPN setup can be accomplished by following simple three step procedure. Once you’re done with choosing from one of the recommended OSMC Raspberry Pi VPN services,  you can follow these steps to setup OSMC VPN:

Here’s how to setup VPN on OSMC:

Note: We have selected PureVPN as OSMC VPN for PPTP installation. The service offers exceptional privacy features along with a  multitude of servers spread around the world 

  • First add a PPTP client by using following command:

sudo apt-get install pptp-linux

  • Now, you need to create a new file in /etc/ppp/peers and give it a name of your choice. Afterwards follow these configurations:

pty “pptp $VPNHOSTNAME –nolaunchpppd –debug”
password $PASSWORD
remotename PPTP
maxfail 0

  • Finally, run this command:

sudo pon $FILENAME

Congratulations, as now you can freely use OSMC Raspberry Pi VPN. With the setup competition of OSMV VPN, you can access all the channels and streaming services on OSMC that were previously blocked in your region. Also, you will be stream favorite TV shows, movies, news, sports and more media in blazing fast speed and HD playback quality.

Setup OpenVPN on Raspberry Pi using 5 Simple Steps:

Setting up OpenVPN on Raspberry Pi is an easy 5 step procedure. However, it is relatively extensive process when compared to PPTP VPN setup. To begin installing OpenVPN on Raspberry Pi, you need to follow these steps:

Disclaimer: We have selected PureVPN as a Raspberry Pi OSMC VPN in our setup guide. Currently, PureVPN stands as a leading Raspberry Pi VPN, due to a range of servers, strong encryption protocols, multi logins and wallet friendly plans.

Here’s how Setup OpenVPN on Raspberry Pi:

  • Step 1: Setup DNS forwarder on Raspberry Pi

First, you need to install DNS forwarder on your device. A DNS forwarder will protect you against DNS leaks at all times. We will use dnsmasq as a DNS forwarder in following setup process.

How to install dnsmasq on Raspberry Pi:

Sudo apt-get install -y dnsmasq



Now, uncomment the settings of “domain-needed” and “bogus-priv”, as shown below:

# Never forward plain names (don’t use  dot or domain part) domain-needed# Never forward addresses in the non-routed address spaces.bogus-priv

Next, uncomment settings of “interface” and set it to eth0:

# If you want dnsmasq to listen for DHCP and DNS requests only on# specified interfaces (and the loopback) give the name of the# interface (eg eth0) here.# Repeat the line for more than one interface.interface=eht0

Finally, Save the file with applied changes and proceed  by restarting dnsmasq service:

sudo service dnsmasq restart

  • Step 2: Setup OpenVPN on Raspberry Pi

sudo apt-get install -y openvpn

Now, you need to download OpenVPN configuration files from here. Upon download completion, extract the files to pi users’ home folder  /home/pi/openvpn

Next, continue by copying the Certificate and WDC.key to /etc/openvpn:


Afterwards, create a file /etc/openvpn/auth.txt. This file will be used to store PureVPN login credentials.

sudo nano /etc/openvpn/auth.txt

Store your credentials as shown below:




Now, make this file read/writable only by root:

sudo chmod 600 /etc/openvpn/auth.txt

Create a file /etc/openvpn/server.conf:

Sudo nano /etc/openvpn/server.conf

Next, set file contents as shown below:


dev tun

remote 53

proto udp




tls-auth Wdc.key 1

ca ca.crt

cipher AES-256-CBC


verb 1

mute 20


route-method exe

route-delay 2

auth-user-pass auth.txt

auth-retry interact

explicit-exit-notify 2



Now, you will require to change the ownership of OpenVPN configuration file:

sudo chown www-data:www-data /etc/openvpn/server.conf

Finally, restart openvpn service and continue:

sudo service openvpn restart

In case you want to follow connection process in the logs, launch another ssh session and execute following command:

sudo tail -f /var/log/syslog

If an error occurs, it will be displayed in the above log

  • Step 3: Configure log rotate on Raspberry Pi

Surprisingly, log files occupy excess space on a disk effecting overall system performance. To overcome this issue, we will show you how to configure logrotate, save disk space and enhance your system performance.

Logrotate comes as a pre-installed app in Raspbian build. Here’s how to edit logrotate configuration file:

sudo nano /etc/logrotate.conf

Set the rotate frequency to daily and backlogs to 4, as shown below:

# see “man logrotate” for details# rotate log files dailydaily# keep 4 days worth of backlogsrotate 4

  • Step 4: Configure IPTables for Raspbian Firewall

An OSMC VPN on Raspberry Pi will work at optimum if IPTables are configured properly. The IPTables are responsible for allowing or blocking a connection as per defined rules. For this, we have allowed  forwarding of HTTP and DNS connections.

First download VPN Client Gateway project file with following command:

wget here

Extract  the downloaded files using this command:


Execute firewall script and load iptables’ rules. (Find script in folder vpn_client_gateway-master/fw):

sudo ./vpn_client_gw_script.fw

Next, save the rules to make them load automatically at boot time. Use IPtables persistent utility.

Install iptables-persistent:

sudo apt-get install -y iptables-persistent

When installation is running, you will be asked to store current iptables rules (ipV4 and ipV6). Proceed by acknowledging prompts and iptables’ rules.

  • Step 5: Disable IPV4 & Enable IP Forwarding

sudo nano /etc/sysctl.conf

Next, uncomment below-mentioned settings:

net.ipv4.ip_forward = 1

Now, add following code:


Finally, run this command to activate the chances:

sudo sysctl -p /etc/sysctl.conf

Adios! You’ve successfully installed OpenVPN for Raspberry Pi. With an OSMC VPN running on your Raspberry Pi device, you achieve the best out of leading entertainment platform.

How to Add Channels on OSMC & Enjoy Limitless Entertainment

OSMC or Open Source Media Center doesn’t come with a pre-stored channel library. Having that said, viewers need to add various channels by following a simple process. Here’s how you can add channels on OSMC:

  1. From home screen of OSMC, click on Settings>File Manager


  1. Click on Add Source


  1. You will be asked to enter the path or browse to media location, enter in the box


  1. Next, enter any name for the specified media source as shown below


  1. Now go back to home screen, click on Settings


  1. Go to Add-ons


  1. Choose Install from zip file


  1. From the list of zip files, select MK REPO


  1. Now select Recommended Repositories


  1. Choose to install


  1. After installing zip file, you will be notified with an Add-on enabled notification as shown below


  1. Now, click on Get Add-ons


  1. Next, select lambda Add-on repository


  1. Click on Video Add-ons


  1. From the list of Video Add-ons, install Genesis


  1. Now, go back to home screen and click on Videos>Video Add-ons


  1. You will find Genesis over there, proceed by clicking on it


In addition, you can setup endless channels on OSMC by following above procedure. Just make sure you’re connected to one of the OSMC VPN to evade the imposed geo-restrictions. Also, with a VPN on OSMC, you achieve top-notch data protection while accessing media from a remote device through OSMC.

5 Reasons You Should Always Use OSMC VPN

To get the best out of OSMC media streaming platform, an OSMC VPN is essential. A VPN on OSMC will ensure that you achieve every bit of entertainment that lacks in the video platform. Here’re the main advantages of using OSMC VPN:

  • One-touch access to unlimited channels
  • Top-grade data privacy
  • Protection against eyes of state-sponsored surveillance agencies
  • Bypass ISP throttling speed & limitations and achieve fast streaming experience
  • Enable installation of geo-blocked addons

Final Words

OSMC is the mainstream entertainment platform available on Raspberry Pi. Excellent features, smooth navigation, appealing interface, flawless streaming makes OSMC a preferred platform for superior entertainment. But, with the imposed geo-restrictions on leading broadcasting channels on OSMC, netizens are left with no other option except to watch what is available in their region.

But with a VPN on OSMC, you can freely access endless channels with zero restrictions or limitations. Also, share your unblocking experience with OSMC Raspberry Pi VPN in the comment box below.