hi there,
(I am new to the OpenVPN business - so please bear with me..)
been trying to achieve a quite simple thing and it's frustrating it's not working.
I have an openVPN server at home - on a windows 10 64bit machine, my local LAN is a 192.168.1.0/24 network.
there is only one user (me) that connects to the VPN when i am out of the house.
after I connect to the VPN, I want all traffic (originating from the VPN) to go out my home router. (LAN)
this is my server config:
dev-node "ServerVPN"
mode server
port xxx
proto tcp4-server
dev tun
topology subnet
tls-server
tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ta.key" 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh2048.pem"
server 10.10.10.0 255.255.255.0
client-to-client
keepalive 10 120
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
client-config-dir "C:\\Program Files\\OpenVPN\\config"
verb 3
route-delay 5
route-method exe
route 192.168.182.0 255.255.255.0
and this my client's config:
client
dev tun
proto udp
remote *address* *port*
resolv-retry infinite
nobind
comp-lzo
persist-key
persist-tun
remote-cert-tls server
key-direction 1
cipher AES-256-CBC
verb 3
<ca>
-----BEGIN CERTIFICATE-----
*code*
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
*code*
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
*code*
-----END PRIVATE KEY-----
</key>
also - inside the
C:\Program Files\OpenVPN\config
folder i have a file named
ClientVPN
and inside at has the fallowing config:
ifconfig-push 10.10.10.5 10.10.10.6
iroute 192.168.182.0 255.255.255.0
# disable
I used youtube videos to set my openVPN so i am sure the config files are not perfect.. what am i missing?
and while i am at it, are the config files ok? anything to add?
Thank you !