Openvpn on Pfsense client connects to remote network but can only see 3 machines out of 50q

Hi everyone,

I have openvpn on Pfsense configured and client is connecting to the destination network however, I'm only able to connect to 3 machines out of 50. also browser don't have Internet but the PC does.

The remote and client machines have the same subnet however, I tried connecting on 3G using guizmo openvpn on iPhone but the same thing happens, and connecting my computer with 3G but to no avail.

Could anyone direct me to where is  the problem and why 3 IPs only are connecting ?
Thanks
LVL 24
Mohammed HamadaSenior IT ConsultantAsked:
Who is Participating?
 
Mohammed HamadaConnect With a Mentor Senior IT ConsultantAuthor Commented:
I figured it out, basically I have one Pfsense at work with OPENVPN setup and in the office network there are 50 virtual servers! I wanna be able to connect to these servers.

After I changed one of the Virtual server's gateway to Pfsene's local IP, the VPN client could see that virtual server and ping it and connect to it..

 I have added to those machines the following route command and it seems to solve the issue! I don't need to change the gateway of the machine for the openvpn client to see it anymore..

netsh interface ipv4 add route 192.168.0.0/24 "Local Area Connection" 192.168.1.40
netsh interface ipv4 add route 172.16.0.0/16 "Local Area Connection" 192.168.1.40

thanks for the contribution.
0
 
asavahCommented:
Provide your settings for OpenVPN server with a screenshot. I use pfsense at some sites and when properly configured I didn't have any problems.

Our psychic abilities to guess settings are very limited :)
0
 
Mohammed HamadaSenior IT ConsultantAuthor Commented:
Yes true Asavah, my apologize i forgot to post it.
Server conf are attached snapshots and Here's my Client settings

dev tun
persist-tun
persist-key
proto udp
cipher BF-CBC
tls-client
client
resolv-retry infinite
remote 95.x.x.x 1194
tls-remote vpnnew.mydomain.com
pkcs12 pfsens-udp-1194.p12
tls-auth pfsens-udp-1194-tls.key 1
comp-lzo
openvpn1.png
openvpn2.png
0
 
Mohammed HamadaSenior IT ConsultantAuthor Commented:
Self Managed
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.