OPNsense Forum

English Forums => Virtual private networks => Topic started by: icompany.usa on September 29, 2020, 05:36:51 PM

Title: OpenVPN - Access to local network
Post by: icompany.usa on September 29, 2020, 05:36:51 PM
Hello all,

I just setup OpenVPN with instruction from wikidocs. Conection works fine, I just cant access hosts on a local network and SMB servers that is in the office.

I might miss some setting somewhere.

Can anybody help ?

Thank you
Title: Re: OpenVPN - Access to local network
Post by: Scanline on October 01, 2020, 10:18:52 PM
Connection works means you can ping from both sites?

Please show your:
OpenVPN Server settings
Server Firewall Settings
Client OpenVPN settings
Client Firewall Settings

Title: Re: OpenVPN - Access to local network
Post by: Electr0nik on October 13, 2020, 05:04:24 PM
I have a similar problem. I completed this instruction https://docs.opnsense.org/manual/how-tos/sslvpn_client.html,
I can connect to VPN, I can ping 10.10.0.1 but  I cannot ping 192.168.50.0/24 which is my internal network.
how can I fix it? And  my usual method to watch Firewall log isn't working, there are no records of something blocked.
Title: Re: OpenVPN - Access to local network
Post by: Gauss23 on October 14, 2020, 02:05:10 PM
Looks like you´re not pushing the routes to your OpenVPN clients.

Post your OpenVPN server config.
Title: Re: OpenVPN - Access to local network
Post by: Electr0nik on October 14, 2020, 05:41:08 PM
This part? should I put 192.168.50/24 in  IPv4 Local Network?
Title: Re: OpenVPN - Access to local network
Post by: Gauss23 on October 14, 2020, 05:44:44 PM
192.168.50.0/24

Yes. This route should then be pushed out to the client on next reconnect. Try it.
Title: Re: OpenVPN - Access to local network
Post by: Electr0nik on October 14, 2020, 09:15:21 PM
Thanks a lot! it helped.