OPNsense Forum

English Forums => General Discussion => Topic started by: neo243 on June 23, 2015, 11:58:47 am

Title: [SOLVED] Openvpn Can't access Clients in my Network over VPN
Post by: neo243 on June 23, 2015, 11:58:47 am
Hi Guys,

i created a Openvpn Server with the opnsense Wizard and exported the Config. I also was able to Login to the VPN but i cant access other Devices on my Network except the opnsense.
I hope you can help me here are some Informations about my Configuration.

Opnvpn Server Tab
SSL+User Auth
Local Database
Prot Udp
Device tun
unchecked "Force all client generated traffic through the tunnel."

IPV4 Local Network/s 192.168.xx.0/24,192.168.xx.0/24
Inter-client communication checked
Dynamic IP checked
Adress Pool checked
DNS Server 192.168.xx.1
Netbios Option checked b-node
____________________________________________

Firewall

Wan any to dest Wan Adress 1194(generated by wizard)
openvpn any to any(generated by wizard)


under States i find this mhh i think its an error:

tcp   192.168.1.xx:32400 <- 10.0.9.6:39869   CLOSED:SYN_SENT
Title: Re: Openvpn Can't access Clients in my Network over VPN
Post by: LordD1 on June 23, 2015, 05:31:16 pm
Hello


So for your IPV4 Tunnel Network it just have to IP that would be giving to the VPN users. (ex 192.168.15.0/24)
From there you can go to the advance option and push route's to the networks that you want the vpn user to have access too.

Ex
p.ush "route 192.168.1.0 255.255.255.0"
push "route 192.168.2.0 255.255.255.0"

Not sure about setting for DNS server and Netbios as I didn't need it for my set-ups.

Best Regards,

LordD
Title: Re: Openvpn Can't access Clients in my Network over VPN
Post by: neo243 on June 23, 2015, 05:48:05 pm
hi Lord,

ehm i think you meant IPv4 Tunnel Network for which ips are asigned.
But i will try the push thing under advanced.

IPv4 Local Network/s 
Quote
These are the IPv4 networks that will be accessible from the remote endpoint. Expressed as a comma-separated list of one or more CIDR ranges. You may leave this blank if you don't want to add a route to the local network through this tunnel on the remote machine. This is generally set to your LAN network.
Title: Re: Openvpn Can't access Clients in my Network over VPN
Post by: neo243 on June 25, 2015, 04:32:32 pm
so push route worked for me thanks Lord :).