OpenVPN Server - client can connect but can't access ssh, rsync or ping

tom3f

Cadet
Joined
Dec 27, 2021
Messages
3
Hello, I am new here and I have zero experience with BSD or TrueNAS. I have some experience with Linux systems but my knowledge about VPN and networking is limited. I have this problem:

I can connect to OpenVPN Server running on TrueNAS-12.0-U7, but I can't access ssh, web ui, rsync on OpenVPN ip address of my TrueNAS. When I connect my client get IP address 10.9.7.6 and my TrueNAS looks to have IP 10.9.7.5. But I am not able to ping this ip. I connected by openvpn --config openVPNClientConfig.ovpn. When I trie to access TrueNAS rsync, ssh, web ui on it's local LAN adress everythink works fine. I searched on this forum but i found only posts related to access to other computers in network or access internet trough created VPN connection. I don't need any of that. I just need to connect mu another NAS to this OpenVPN server and than backup files using rsync trough this created connection. Using internal OpenVPN assigned IP adress.

My server configuration
1640637595851.png


My client ovpn file:

client
dev tun
proto udp
port 1195
remote "192.168.0.106"
#user nobody
#group nobody
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
</key>
verb 3
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
...
-----END OpenVPN Static key V1-----
</tls-crypt>

On my client I use Ubuntu 21.04 with OpenVPN 2.5.1.

Hardware of my TrueNAS configuration:
Intel(R) Pentium(R) CPU G4400 @ 3.30GHz
Main board: B150M-HD3 DDR3
RAM: DDR3 8GB non-ecc
System Disk: NVMe GIGABYTE GP-GSM2NE3128GNTD
Data Disk: WDC WD30EZRX-00MMMB0

If you need any additional info I will try to provide it. Thank you for any help.
 
Top