Jump to content


Photo

OpenWebIf and streaming access through VPN

VPN OpenWebIF

  • Please log in to reply
12 replies to this topic

#1 JasonM8

  • Senior Member
  • 55 posts

0
Neutral

Posted 19 November 2017 - 15:40

I'd like to have access to my receiver (OpenWebIf, streaming) from the internet without directly exposing it to the world. I already OpenVPN server running on my PC and I'd prefer to use it over installing OpenVPN on the receiver.

 

I googled a bit and several posts noted how VPN should be enabled in Openwebif ,but I did not see that option either on Openwebif page or in Menu/Plugins/OpenwebIf. How do I enable it, and do I need to take any more steps to have receiver accessible through VPN?

 

Thanks



Re: OpenWebIf and streaming access through VPN #2 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,339 posts

+859
Excellent

Posted 19 November 2017 - 15:53

Access from what? From your PC?

 

To setup a VPN you need two components: a client part and a server part. What do you intend to install where?


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: OpenWebIf and streaming access through VPN #3 JasonM8

  • Senior Member
  • 55 posts

0
Neutral

Posted 19 November 2017 - 16:01

Access from what? From your PC?

 

To setup a VPN you need two components: a client part and a server part. What do you intend to install where?

 

PC and receiver are connected on the same LAN so receiver is already accessible from the PC. What I want is to access receiver through the internet from the tablet and tunnel all the traffic through the VPN installed on the PC. VPN server on PC and VPN client on tablet are installed and configured, and everything works fine, I just need some assistance in making receiver accessible through that VPN (that is running on PC). Hope that made things clearer.



Re: OpenWebIf and streaming access through VPN #4 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,339 posts

+859
Excellent

Posted 19 November 2017 - 16:40

If your VPN client uses bridging (i.e. your tablet gets an IP address through the VPN tunnel in your LAN range), it should work without any additional work.

 

If not, your VPN server (= your PC) needs to route between your LAN subnet and your VPN subnet, and your LAN devices need to know how to access the VPN subnet. Which is not for novices I'm afraid, so avoid this situation if possible.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: OpenWebIf and streaming access through VPN #5 JasonM8

  • Senior Member
  • 55 posts

0
Neutral

Posted 19 November 2017 - 21:52

My setup uses routing not bridging. If bridging works without any additional work won't I potentially get IP conflicts (192.168.1.*) when tablet is connected through public wifi?


Edited by JasonM8, 19 November 2017 - 21:53.


Re: OpenWebIf and streaming access through VPN #6 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,339 posts

+859
Excellent

Posted 20 November 2017 - 00:25

No, if you use bridging your DHCP server in your LAN will be used, the same as for clients in the local LAN. You might have to read up on client configuration, depending on the client.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: OpenWebIf and streaming access through VPN #7 Pippin

  • Senior Member
  • 100 posts

+2
Neutral

Posted 20 November 2017 - 00:29

Stay away from bridging if routing suffices which is the case here.

 

You have provided just about 0 info...

HOWTO: Request Help !

This question should probably be asked on OpenVPN forum.

 

You have a working OpenVPN server.

Expanding the scope of the VPN to include additional machines on either the client or server subnet.

 

Possibly a few extra directives in the server config and the rest is routing and firewall which is actually more daunting ;)

Your PC is NAT`ed so you need to either set a route on your router or do MASQUERADE on your server.

 

 

I googled a bit and several posts noted how VPN should be enabled in Openwebif

 

Your receiver is not part of the VPN, so no need to do anything there.


Wou een grap vertellen over UDP maar wist niet of die wel aan zou komen.
HD Quad+, 2x DVB-S2 + OpenATV 5.3 + oscam 1.2_11309 + 2x 1TB HDD + 4GB Stick-> swap, EPG, logs, timeshift + 13.0-19.2-23.5-28.2, 85 cm + Synology DS414, oscam 1.2_11309

Re: OpenWebIf and streaming access through VPN #8 JasonM8

  • Senior Member
  • 55 posts

0
Neutral

Posted 20 November 2017 - 03:55

I did not provide OS and OpenVPN version details because I thought it was not necessary for such a generic question. I'm on Windows 10 and I'm using OpenVPN 2.3.10-1603.
 
One of the links you pasted said: "One of the benefits of using ethernet bridging is that you get this (including multiple machines on the server side) for free without needing any additional configuration. Do disadvantages of bridging outweight those in my particular case?
 
It is very late in here, I'll try setting this up tomorrow once I decide if I want to go the bridging or routing way. And if I don't get it working I'll ask for further assistance on OpenVPN forum.


Re: OpenWebIf and streaming access through VPN #9 Pippin

  • Senior Member
  • 100 posts

+2
Neutral

Posted 20 November 2017 - 11:53

You can find info on deciding what you need here:

BridgingAndRouting

 

From info you provided so far, "(OpenWebIf, streaming)", you need routed TUN.


Wou een grap vertellen over UDP maar wist niet of die wel aan zou komen.
HD Quad+, 2x DVB-S2 + OpenATV 5.3 + oscam 1.2_11309 + 2x 1TB HDD + 4GB Stick-> swap, EPG, logs, timeshift + 13.0-19.2-23.5-28.2, 85 cm + Synology DS414, oscam 1.2_11309

Re: OpenWebIf and streaming access through VPN #10 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,339 posts

+859
Excellent

Posted 20 November 2017 - 13:01

I don't agree with "stay away from bridging", from a setup perspective, it is a lot simpler.

 

If you go for routing, you need to setup either a routing protocol or setup static routes, as your LAN will now have two routers: your ISP router (to internet) and your PC (OpenVPN routing to remote clients).


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: OpenWebIf and streaming access through VPN #11 Pippin

  • Senior Member
  • 100 posts

+2
Neutral

Posted 20 November 2017 - 13:48

He already has a working server. It`s possibly a matter of adding one push directive, setting one route on his router and set firewall.


Wou een grap vertellen over UDP maar wist niet of die wel aan zou komen.
HD Quad+, 2x DVB-S2 + OpenATV 5.3 + oscam 1.2_11309 + 2x 1TB HDD + 4GB Stick-> swap, EPG, logs, timeshift + 13.0-19.2-23.5-28.2, 85 cm + Synology DS414, oscam 1.2_11309

Re: OpenWebIf and streaming access through VPN #12 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,339 posts

+859
Excellent

Posted 20 November 2017 - 13:57

That is what I said. ;)


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: OpenWebIf and streaming access through VPN #13 Pippin

  • Senior Member
  • 100 posts

+2
Neutral

Posted 20 November 2017 - 14:19

Yes, me too ;)


Wou een grap vertellen over UDP maar wist niet of die wel aan zou komen.
HD Quad+, 2x DVB-S2 + OpenATV 5.3 + oscam 1.2_11309 + 2x 1TB HDD + 4GB Stick-> swap, EPG, logs, timeshift + 13.0-19.2-23.5-28.2, 85 cm + Synology DS414, oscam 1.2_11309





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users