Tutorial: Configuring pfSense as VPN client to Private Internet Access
-
As far as I know, you have to have the Plex port open to the world just to sign it into plex. Doesn't have anything to do with who you allow access to it.
-
@irj972:
I use AirVPN but you should be able to port forward a secure OpenVPN session into your LAN and then connect to Plex over the OpenVPN connection with usual subnet routing….thats how I do it anyway. Seems secure and was simple enough to do.
I agree with Derelict though - opening a media player to to the outside world directly feels like a unnecessary risk.I have a bunch of family and friends that connect to it and it's just not possible for me to set them all up as VPN clients unfortunately. I realize having it open to the public is not ideal. However given that fact, I'm trying to make it as secure and hidden as I can.
Yes, I can see how that would be an added inconvenience.
-
When trying to start the VPN client connection configured for PIA, I receive the following error:
Cannot load CA certificate file /var/etc/openvpn/client1.ca (no entries were read) (OpenSSL)
I've gone through the certificate authority setup a few times and there doesn't seem to be much to it. I did try to search through the forums for this error but didn't turn up anything that helped. Can someone tell me what I might be missing?
Thanks
-
Hi All
I used some of this tutorial and others to get OpenVPN via giganews VyprVPN working on a new SG-4860 and everytyhing is fine (apart from slow)
I just would like some help to confirm I have not opened up my network unnecessarily, so does this look all ok?
Not sure about why I had to create rules in the 2 VPN tabs. I have configured it so most traffic will go via WAN, but any devices in the "VPN Systems" alias will go via the VPN.
Thanks
-
The rules on the VPN tabs have nothing to do with what traffic goes out which interface. Those regulate what connections you allow into your router from the outside. i would delete both of those rules.
-
I folowed this guide for connecting to PIA through OpenVPN and the connection seems to be working great.
However, I am having some questions/issues:
Questions
1. I am not able to complete the instructions as mentioned on step “Configure NAT Rules”. I am unable to create the NAT Rule for 127.0.0.0/8; it gives me an errorYou must supply a valid port for the NAT port entry
Issues
2. I am unable to see any of my other computers/services when connected through vpn to my network. I have created an OpenVPN connection that allows my to content to my intranet from outside and it works great when I am I disable the PIA VPN but not when it is enabledThe number 1 above does not seem to be an issue unless it is realated to number 2.
Number 2 is the most important.
I appreciate any help with the above.
Thank you!
-
You'll have to tell us what all the firewall rules are and what all the local networks, OpenVPN tunnel networks, etc, are.
-
This is my settings for VPNing to my network:
I have a Firewall: Rules – WAN
ID =
Proto = Ipv4 TCP
Source = *
Port = *
Destination = WAN address
Port = 1194 OpenVPN
Gateway = *
Queue = none
Schedule = *and a Firewall: Rules - OpenVPN
ID =
Proto = Ipv4 *
Source = *
Port = *
Destination = *
Port = *
Gateway = *
Queue = none
Schedule =also the OpenVPN: Server is
Protocol / Port = UDP / 1194
Tunnel Network = 172.16.2.0/24 -
That doesn't give anyone enough information to help you. There is probably a routing problem between all the networks involved. You only told us what the tunnel network is.
-
could you be more specific as to what information i could provide?
I can provide some screenshots if that helps but i am not sure what you are looking for.thanks,
-
You'll have to tell us what all the firewall rules are and what all the local networks, OpenVPN tunnel networks, etc, are.
-
I've been working on an issue for a while now and I made significant progress through a person on reddit but I'm at another hurdle.
I have this setup with PIA and PFsense. I have it set to push 2 IPs through the VPN and everything else goes through my WAN. That all works great.
The issues I'm having is that I have 5 VLANs and the two IPs that are going through the VPN are not able to communicate with the rest of the devices on the network that are not within the same VLAN. I think this is some sort of firewall rule, but nothing I have tried or found here or on the Google has worked.
Each VLAN has a rule at top that allows all traffic from the 2 IPs through the VPN Gateway. Then there is a second rule that is allow all from anywhere through the default gateway. The LAN interface is also including these same rules (although without them it did not have an impact).
-
You need to pass traffic to your local networks above that rule.
https://doc.pfsense.org/index.php/Bypassing_Policy_Routing
-
When I put the rule permitting all traffic first, it no longer passes the traffic through the VPN as intended. It allows the VLANs to communicate, but it won't keep it on the VPN.
-
Read the link again. That's not what it says to do. You need to pass only to local destinations. Or maybe make an alias and pass only to that. Or maybe make an alias for all private addresses and pass only to those:
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16 -
Got it.
Set that up on each of the VLANs (I have not added it to the PIA INterface or the OpenVPN interface) and that seems to be working beautifully.
Thank you!
-
Set that up on each of the VLANs
I assume you mean set that up for each of the VLANs. The rule(s) only need to be on the interface that the hosts being routed to the VPN are on.
-
Yes - I set it on each of the VLANs. currently I have 2 of the VLANs with VPN traffic and that might expand. It appears to be working great now.
Thanks!!
-
Hello All,
I am newbiew here. Just got pfsense working on vmware on my i7 desktop. I am unable to connect to PIA. I have tried multiple times the above mentioned process but nothing happens. You can see from VPN start , seems to be every service is working.
Now when i go to Status: System logs: Gateways. There is absolutely nothing….
I have attached most of my screenshots, please let me know where i could use help
![VPN Start.PNG](/public/imported_attachments/1/VPN Start.PNG)
![VPN Start.PNG_thumb](/public/imported_attachments/1/VPN Start.PNG_thumb)
![Services gateway.PNG](/public/imported_attachments/1/Services gateway.PNG)
![Services gateway.PNG_thumb](/public/imported_attachments/1/Services gateway.PNG_thumb)
![firewall NAT rule.PNG](/public/imported_attachments/1/firewall NAT rule.PNG)
![firewall NAT rule.PNG_thumb](/public/imported_attachments/1/firewall NAT rule.PNG_thumb)
![openvpn configuration.jpg](/public/imported_attachments/1/openvpn configuration.jpg)
![openvpn configuration.jpg_thumb](/public/imported_attachments/1/openvpn configuration.jpg_thumb)
![wan rule.PNG](/public/imported_attachments/1/wan rule.PNG)
![wan rule.PNG_thumb](/public/imported_attachments/1/wan rule.PNG_thumb) -
No idea really what's that "free roam" doing on your WAN ??? ??? ??? Regardless, that interface tells nothing regarding the topic here.