OPNsense Forum

English Forums => General Discussion => Topic started by: Sota on February 11, 2019, 11:52:56 am

Title: OpenVPN lan-to-lan communication with external clients
Post by: Sota on February 11, 2019, 11:52:56 am
Hello everyone,

I have a Site A and Site B connected with a OpenVPN lan-to-lan. Site A OPNsense firewall is the server and site B OPNsense firewall is the client. The communication between these two sites is perfect. External clients connect to site A because it is there that most servers are. The communication between site A and external clients is perfect also. The external clients use OpenVPN. However external clients cannot reach site B where the file server is.
 
Is it possible to have external clients that connect to site A to communicate as well with site B?

I have an image with the configuration to help.

(https://i.ibb.co/c39FzZ1/teste.png) (https://ibb.co/B3JZ8Qt)

Thank you!
Title: Re: OpenVPN lan-to-lan communication with external clients
Post by: verdi on February 15, 2019, 12:45:55 pm
did you find a solution? i have exactly the same problem
Title: Re: OpenVPN lan-to-lan communication with external clients
Post by: Sota on February 19, 2019, 10:52:32 am
Yes, I did find a solution.

Modify site A road warrior server that serves the VPN clients to accept packets from 192.168.6.0/24, do that in IPv4 Remote Network field (172.16.2.0/24,192.168.6.0/24). Then in Site B firewall update as well the road warrior client IPv4 Remote Network field (172.16.2.0/24,10.37.85.0/24).

Hope that helps.