Hello,
i have some question about my OpenVPN Server.
I try to connect from a friend to my SMB-Server at home.
My Config file from the Server:
port 41589
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
max-clients 2
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
The config from my friend (client):
client
dev tun
proto udp
remote xxxx 41589
route add 10.8.0.0 mask 255.255.255.0 gw 192.168.1.0
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3
My question is, is the Method or the config really secure?
My server should be fast and secure to transfer private videos (720p/1080p) from a to b (Internet 100Mbit connection).
The second thing is, i connect to my smb with the ip 10.8.0.1 and 192.168.1.14.
But i wanna connection only to the 10.8.0.1, because my friend and i has the same ip range (192.168.1.x)
Can somebody help me or aswer my question?
best regards