openvpn server change IP address tun interface

peter_jenp

New Member
Credits
49
Hello all.

I am setting up an openvpn server.
this vpn server gives the clients an ip address in the range: 44.137.83.65 to 44.137.83.78 subnet mask: 255.255.255.240 the ip address that the tun interface gets on the server is now: 44.137.83.65
however I want this not to be 44.137.83.65 but 44.137.83.78 how can i get this done?
one server runs on debian linux 10 and my configuration looks like this:

Code:
port 1194
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 44.137.83.64 255.255.255.240
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 94.140.14.14"
push "dhcp-option DNS 94.140.15.15"
push "redirect-gateway def1 bypass-dhcp"
server-ipv6 2600:c05:3010:50:2000::/67
tun-ipv6
push tun-ipv6
push "route-ipv6 2000::/3"
push "redirect-gateway ipv6"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server_KwopTAK1BGjkZqQv.crt
key server_KwopTAK1BGjkZqQv.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
hopefully someone can help me
greetings: peter
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top