Hi,
I've installed OpenVPN via PiVPN
on
I wanted to change the ip address range on the server from
to
and therfore changed in
after
I still get ip address from the standard range on my iPhone, e.g.
What I'm doing wrong?
PS: ifconfig does show correct:
I've installed OpenVPN via PiVPN
Code:
curl -L https://install.pivpn.io | bash
Code:
Linux raspberrypi4b1 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
Code:
10.24.181.0
Code:
10.9.0.0
Code:
/etc/openvpn/server.conf
Code:
... ecdh-curve prime256v1 topology subnet server 10.9.0.0 255.255.255.0 # Set your primary domain name server address for clients push "dhcp-option DNS 10.9.0.1" push "block-outside-dns" # Override the Client default gateway by using 0.0.0.0/1 and # 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of # overriding but not wiping out the original default gateway. push "redirect-gateway def1" client-to-client client-config-dir /etc/openvpn/ccd keepalive 15 120 ...
Code:
sudo systemctl restart openvpn[
Code:
10.24.181.2
PS: ifconfig does show correct:
Code:
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.9.0.1 netmask 255.255.255.0 destination 10.9.0.1 inet6 fe80::5f9b:ccab:37fc:6e0c prefixlen 64 scopeid 0x20<link> unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500
Comment