Replies: 1 comment
-
I managed to solve it by setting the Allowed IPs in the phone configuration to my HA internal network address (192.168.1.x) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have HAOS running on a VM with Wireguard installed as an add-on.
Everything is working fine and I can connect to HA when I'm away from home.
However, today I had an issue on my HA server at home and while HA was down I had no internet connectivity on the phones with wireguard installed.
After I reconnected the HA server, the internet on the phones returned to normal.
I ran some checks and I found that all internet traffic goes through the wireguard VPN on the phone, instead of just the HA traffic.
I tried editing the configuration on the server and the phone to change the allowed_ips section to route only the HA server address, but then I couldn't connect to HA.
On my android I set the applications list to only include the HA companion app, and then all internet traffic stopped going through wireguard, and only the HA app is using it to connect to the HA server.
On my wife's iPhone I couldn't find a setting for included applications so I must continue with the allowed_ips settings, but I can't make it work.
What do I need to set in the server/client configurations to make it so only HA traffic goes through the VPN and all other traffic doesn't?
This is my server configuration:
`
server:
host: my_public_dns_address
addresses:
- 172.27.66.1
dns: []
peers:
allowed_ips: []
client_allowed_ips: []
name: android_phone
allowed_ips: []
client_allowed_ips: []
name: iphone
`
And this is the configuration on my android phone:
Beta Was this translation helpful? Give feedback.
All reactions