Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-24-2013, 03:50 AM
|
#1
|
LQ Newbie
Registered: Jun 2013
Posts: 4
Rep:
|
Route Get_iPlayer through VPN Tunnel
Hi all, first time post!
Hoping someone can give me a steer.
I'm new to Linux having just got hold of a Raspberry Pi.
So far I've done the following with the help of forums like this..
1) attached TB USBHDD for Network storage
2) installed Deluge and DelugeWebUI
3) set up pptp-linux for access to a VPN server in the UK (connects fine after some fettling)
4) installed Get_iPlayer to down load UK BBC content.
So far so good. When I use Get_iPlayer, I can view the list of available shows and so I am fairly sure that is working properly. However, when out of the UK (which is often) I need to connect to BBC via my UK VPN server.
What I want to do is run Get-iPlayer, have that program make use of the VPN tunnel, but route all other traffic to the internet as normal.
I have done much searching and I think split tunneling might be the answer, but when we get on to iptables and routing options, I get a bit out of my depth.
Is it possible to run a single program though the VPN in this way? If so, is anyone able to talk me though the config?
Many thanks
Al
|
|
|
06-24-2013, 09:54 AM
|
#2
|
Member
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117
Rep:
|
Never used pptp-linux as VPN, but does this help?
http://serverfault.com/questions/452...ith-pptp-linux
Seems to be only removing defaultroute and replacedefaultroute from the settings file.
|
|
|
06-24-2013, 11:57 AM
|
#3
|
Senior Member
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,704
|
Welcome to Linux Questions!
I believe that the BBC iPlayer only works if you access it from the UK, i.e. if you use an non-UK ISP it won't work. This is because all we Brits have to pay a Television licence fee which funds the BBC. Why should non-licence fee paying people get it for free?
A VPN link would still show up as an access request from a non-UK ISP so it would syill be blocked IMHO. I'm sure I read somewhere that they were thinking about subscription access for the rest of the World.
Out of curiosity... Can you access itvPlayer, Four on Demand or Sky Player from abroad?
Play Bonny!
OK... I've just re-read your original statement... VPN to UK server. Interesting of it works!!
Last edited by Soadyheid; 06-24-2013 at 12:01 PM.
|
|
|
06-25-2013, 02:06 AM
|
#4
|
LQ Newbie
Registered: Jun 2013
Posts: 4
Original Poster
Rep:
|
Thanks for the responses ppl. Just to clarify, as a UK based, license paying viewer who works overseas a lot.. I would like to watch the beeb.. nothing sinister there, methinks.
I have this set up with my windows lap-top, using a connection to UK based VPN server and the (terrible) standard BBC edition iPlayer windows app. Ideally I want to this all set up on the RPi, bung it under the TV wherever I am and bingo.
That's the idea at least.
|
|
|
06-25-2013, 02:08 AM
|
#5
|
LQ Newbie
Registered: Jun 2013
Posts: 4
Original Poster
Rep:
|
Soadyheid - to answer your question there, once my windows vpn is established, yes I can access all the streaming Uk sites. but streaming is not feasible in the parts of the world I go to..mainly Africa.
|
|
|
06-25-2013, 02:16 AM
|
#6
|
LQ Newbie
Registered: Jun 2013
Posts: 4
Original Poster
Rep:
|
hyperhead - the guy in the link you posted seems to be asking a similar question... but no quite the same. and correct me if I am wrong here...
My research leads me to believe that removing the defaultroute setting would enable split tunneling to occur, right? The VPN then takes any and all traffic destined for the remote private network, any other traffic just goes to the www.
My problem is that I need to tell get_iplayer that it should be routing its traffic to the remote gateway, via the VPN, otherwise, how would that app know that its 'resource' is on the private network... and hence get shunted though the VPN (when defaultroute is disabled)..
Does that even make sense to anyone?!
Thanks again!
A
|
|
|
06-28-2013, 11:36 AM
|
#7
|
Member
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117
Rep:
|
I'm not sure about default gateway behavior, having never done it, I couldn't say how it behaves.
However, if you have the Pi situated in the UK, then its just a case of dialing into it over ssh and then downloading get_iplayer content with it, then scp'ing it back to you. A raspberry Pi can run from a powered USB on a Netgear router quite happily.
You could implement port knocking or something to open up to you IP from whatever country you are in to allow ssh access.
Having worked away myself for months on end overseas and paying £12.12 a month for a TV license, not being able to watch content when you get back because it has expired is a major annoyance.
People working abroad and paying UK license is an edge case and I hope the BBC would not begrudge the few license payers getting access to their favorite BBC channels via imaginative means if they are genuine contributors.
|
|
|
All times are GMT -5. The time now is 02:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|