-
Can I use VPN gateway with this raspAP? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
to add more information: my RPI 4 now has: What I want: The VPN main use for me is for streaming not need for encryption/security. I want to choose which devices I want to use this VPN, I don't want the whole network I just want some IPs. I want also to have a way to turn off the VPN of the chosen devices, I don't want to be always enable VPN. Note: Apple TV doesn't have VPN configuration or apps for VPN. I have a usb3-ethernet adaptar , can I use this Adapter for RaspAP so then my appleTV gateway IP uses the usb3 IP and uses the openvpn with RaspAP? |
Beta Was this translation helpful? Give feedback.
-
You're attempting to start the hotspot with eth1, which isn't an AP-capable interface. In your case I'd suggest setting the interface manually in configauth. You can find it in |
Beta Was this translation helpful? Give feedback.
-
Your tunnel traffic is sent to eth1. It should go to eth0 based on your config. eth1 has an APIPA address. Automatic Private IP Addressing (APIPA) starts with 169.254. These IP addresses are only useful on local networks, not the internet. If you want it to go out eth1 then assign a valid IP to eth1 and configure routing etc. I use the Raspberry Pi ExpressVPN client on my RaspAP for streaming content from the UK as I'm in the US, I'm a rugby fan and rugby broadcasting is very limited in the US. I found that the default ExpressVPN client plays well with RaspAP and I do not use OpenVPN. I use RaspAP's DHCP server to provide IPs to the clients connecting to the RaspAP.
Setup was simple.
One thing to note is that ExpressVPN creates an iptables config and that I had to write a very rudimentary shell script to pull the VPN tunnel DNS server IP from iptables and then update dnsmasq config to ensure that my DHCP client gets the latest DNS IP otherwise DNS doesn't work...I'm assuming the iptables rules are there to prevent DNS leak. I'm not a developer so the bash script is dirty, has redundancies, no error checking etc. but should give you an idea of what I'm doing.
Below is an example of the iptables config that is created by ExpressVPN
|
Beta Was this translation helpful? Give feedback.
-
it kind of worked, but is not what I was expecting to be, so I will discard using like this. |
Beta Was this translation helpful? Give feedback.
it kind of worked, but is not what I was expecting to be, so I will discard using like this.