Openvpn access server, working on windows but not mac

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
kd034
OpenVpn Newbie
Posts: 2
Joined: Fri Apr 01, 2022 8:25 am

Openvpn access server, working on windows but not mac

Post by kd034 » Fri Apr 01, 2022 8:29 am

Hi! I have a openvpn access server in my homelab. Everything working fine but somethimes when i in my friends home, on my macbook i can connect via client but cant reach anything in my homelab. In school network working nice but not in my friends home, tested on windows its working. I dont know what output to post here i am using .ovpn file selected on my client. Maybe someone can help me out?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Openvpn access server, working on windows but not mac

Post by openvpn_inc » Sat Apr 02, 2022 4:02 pm

Hi, I moved this topic to the Access Server board.

I'm guessing you have an IP address overlap at the friends home. You cannot have routes to the same network going different places. Only one route will be used.

You might be interested in the OpenVPN Cloud which has kludges to make that work. And likewise, Cloud has its own forum.

regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

kd034
OpenVpn Newbie
Posts: 2
Joined: Fri Apr 01, 2022 8:25 am

Re: Openvpn access server, working on windows but not mac

Post by kd034 » Sun Apr 03, 2022 2:12 pm

openvpn_inc wrote:
Sat Apr 02, 2022 4:02 pm
Hi, I moved this topic to the Access Server board.

I'm guessing you have an IP address overlap at the friends home. You cannot have routes to the same network going different places. Only one route will be used.

You might be interested in the OpenVPN Cloud which has kludges to make that work. And likewise, Cloud has its own forum.

regards, rob0
Oh, thank your for your answer. So there is no option to fix that? Yes i will take a look on cloud.
And the openvpn cloud, can i reach my servers in my home with openvpn cloud? Becase what i can see that you can connect to other regions with cloud.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Openvpn access server, working on windows but not mac

Post by openvpn_inc » Mon Apr 04, 2022 5:33 pm

Hi kd,

There is no sane way to fix the problem of IP network overlap. Cloud uses ugly kludges based on DNS. Those are pretty much out of scope for the OpenVPN forums. If you want to set up dnsmasq and have questions, Simon has a user mailing list. (But please do some homework before asking there. There is no drop-in way to do what our Cloud architects have figured out. I am in fact a DNS expert, but it would take me much time and work to replicate the Cloud feature.)

Fortunately RFC 1918 is huge enough for any well-managed organization to be able to have no overlapping networks. Just pick obscure networks out of 172.16/12 or 10/8, and you'll be fine. There is no reason why every site needs to be on 192.168.0/23.

If you can't change your friend's network numbering, you surely can change your own. But any use of 192.168.0/23 in VPNs is sure to encounter problems, as roving clients inevitably will connect from similar networks.

The way to reach home through Cloud is with a static site-to-site connector from home to Cloud, then remote clients connect to Cloud. With correct routes you're done!

regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply