Goal: Forward a port on a VPS acting as the OpenVPN server to a server that is within the VPN
Background: The OpenVPN server is a VPS, the destination server is connected to the OVPN server pfSense.
Plea for Help: Any help would be greatly appreciated!!
Here is my config:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.100.0 255.255.255.0"
push "route 192.168.101.0 255.255.255.0"
push "route 192.168.102.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
push "route 192.168.50.0 255.255.255.0"
client-config-dir ccd
client-config-dir ccd
route 10.8.0.0 255.255.255.252
push "dhcp-option DNS 192.168.101.2"
push "dhcp-option DNS 192.168.50.1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "dhcp-option DOMAIN <redacted>"
push "dhcp-option DOMAIN-SEARCH <redacted>"
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
Thank you!