OPNsense Forum

English Forums => Virtual private networks => Topic started by: DennisdeWit on December 27, 2020, 12:45:08 AM

Title: [OpenVPN] Remote Access AND Site to Site?
Post by: DennisdeWit on December 27, 2020, 12:45:08 AM
Dear,

I have been playing with OPNSense and very charmed by it. But I still can't use it in production because I can't get one thing to work:

Basically I have two networks (each at it's own server. Both servers have their own networks). So I want Network A (10.10.12.0/24) connected to Network B (10.10.11.0/24). Therefore I succesfully used the Site 2 Site PreShared Key configuration.

At both ends in the LANs I could ping the other LAN. So far, so good.

But now I am at home and also want to be able to ping both 10.10.11.0/24 and 10.10.12.0/24. I've set up a second OpenVPN Server (Remote Access). I do have internet acces and can ping the gateway of 10.10.12.1 (this is the server that I installed OpenVPN Remote Acces on). But I can NOT ping 10.10.11.0/24.

What am I missing? I even disabled both firewalls and it still didn't work. What should I do?

Thank you,
Dennis
Title: Re: [OpenVPN] Remote Access AND Site to Site?
Post by: Gauss23 on January 02, 2021, 12:28:45 PM
You need to tell the remote networks about your OpenVPN Roadwarrior network. Add it to local networks on the OpenVPN server instance.