Here is my server.conf:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.0.0 255.255.255.0"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
key-direction 0
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
My goal is to securely connect an artist to a remote render farm. The program is sketchup we're using v-ray distributed rendering. We can connect without the VPN. Servers are at my residence which has static IP block and fiber 300/300mbps package. It works well; however as is anyone can connect to the service and that's not okay.
So if I assign a static IP to each server the remote user can connect no issue. What I am trying to setup is a single static IP to the OpenVPN, then internal networking on the second NIC which connects to the same switch the other windows machines use.
Here is the current network scheme:
76.213.x.x public IP via enp6s0 on OpenVPN box
10.8.0.1 tun0 on OpenVPN
192.168.0.1 enp3s0 on OpenVPN box
192.168.0.2 Network Adapter 1 on Windows Client 1
192.168.0.3 Network Adapter 1 on Windows Client 2
If I ping 192.168.0.3 on WC1 there is no response, and vice versa.
If I ping 76.213.x.x, 192.168.0.1, 10.8.0.1 from a client connected to vpn there is resolution.
If I ping 76.213.x.x, 192.168.0.1, 10.8.0.1 from WCx there is no response.
So the network is established up to the point of interaction with WCx, and amongst WCx themselves.