OPNsense Forum

English Forums => Virtual private networks => Topic started by: Sky22019 on July 10, 2023, 10:51:24 PM

Title: OPNSense + VPN + PiHole + Wireguard = ?
Post by: Sky22019 on July 10, 2023, 10:51:24 PM
Hello,

I have a rather tricky (regarding my perception) question in hand.

Recently my iptv provider decided that I should use a VPN in order to access his service. Hence this topic :)

Currently I am running latest OPNSense 23.1.11 where I have setup wireguard so that I am able to access my  home network when I am away from home.
OPNSense works as a router and DHCP server alongside a separate raspberry pi wherein lies my pihole.
PiHole acts as a recursive DNS server (https://docs.pi-hole.net/guides/dns/unbound/).

All of the above work flawlessly.

The million-dollar question is what is the best way to introduce a purchased VPN Service in all that.

Any reply is welcome.

Cheers!
Title: Re: OPNSense + VPN + PiHole + Wireguard = ?
Post by: sorano on July 10, 2023, 11:28:09 PM
If it is unicast then why not just configure OPNsense as a VPN client towards the VPN service?
Title: Re: OPNSense + VPN + PiHole + Wireguard = ?
Post by: Sky22019 on July 10, 2023, 11:35:24 PM
Hi,

If I am not terribly mistaken this is unicast transmission.

So you say I could simply configure OPNSense as VPN Client? Any limitations with regard to the service I should select?

Is there no need to mess with the settings of any of the following:
PiHole, Wireguard (in OPNSense)?

Cheers!
Title: Re: OPNSense + VPN + PiHole + Wireguard = ?
Post by: sorano on July 11, 2023, 12:35:13 AM
Quote from: Sky22019 on July 10, 2023, 11:35:24 PM
So you say I could simply configure OPNSense as VPN Client? Any limitations with regard to the service I should select?

Is there no need to mess with the settings of any of the following:
PiHole, Wireguard (in OPNSense)?

Cheers!

Yes, start by configuring OPNsense as a VPN client towards the provider. Any limitations depend on the VPN provider.

No need to mess with other services, unless you go with a provider that uses Wireguard in which case you should create a new tunnel.
Title: Re: OPNSense + VPN + PiHole + Wireguard = ?
Post by: Sky22019 on July 11, 2023, 10:33:11 PM
Hi,

Well this is the problem. I am not sure how to do that.
If there is a relevant guide it would help.
I guess I will first have to choose the provider and find out what protocol is in use from his side.

Thanks for your time.