remote server access

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Fri Jan 21, 2022 4:12 pm

remote server access

Post by mathieu.aaagroup » Fri Jan 21, 2022 4:22 pm

Hello everyone, here is my problem!
I'm in business mode. I installed an openvpn server on a raspberri. I also have a data server with an IP of
my concern is that for some of my collaborators, access to this server is impossible because their own box has this IP. So when they want to access the server's shared directory, I get to the box directory (Freebox for example).
What should I add in my conf to override this box?

Code: Select all

dev tun
proto tcp
port 1194
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/raspberrypi_7cf2cfa0-cd85-4762-837f-15adcd142415.crt
key /etc/openvpn/easy-rsa/pki/private/raspberrypi_7cf2cfa0-cd85-4762-837f-15adcd142415.key
dh none
ecdh-curve prime256v1
topology subnet
# Set your primary domain name server address for clients
push "dhcp-option DOMAIN domaine.bruz"
push "dhcp-option DNS"
push "block-outside-dns"
# Override the Client default gateway by using and
# rather than This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-config-dir /etc/openvpn/ccd
keepalive 15 120
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
auth SHA256
user openvpn
group openvpn
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
verb 3

User avatar
Forum Team
Posts: 10813
Joined: Fri Jun 03, 2016 1:17 pm

Re: remote server access

Post by TinCanTech » Fri Jan 21, 2022 5:20 pm

Post Reply