Page 1 of 1

Connecting to OpenVPN server with local ipv6 address

Posted: Fri Dec 09, 2022 7:28 pm
by ds.dll
Hi,
There was a problem with connecting openvpn clients via an iPhone in modem mode, the iPhone gives the client an ipv6 address, but if this client is given access to the Internet from a smartphone to an android, the connection is established. Please tell me how to solve this problem?

Image

Code: Select all

openvpn --version
OpenVPN 2.5.8 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 28 2022
library versions: OpenSSL 1.1.1n  15 Mar 2022, LZO 2.10
Config OpenVPN server:

Code: Select all

mode server
dev tun
server 10.128.0.0 255.255.255.0 nopool
ifconfig-pool 10.128.0.10 10.128.0.98
client-config-dir /usr/local/etc/ccd
;push "redirect-gateway def1"
push "route 192.168.0.0 255.255.255.0"
;push "dhcp-option DNS 192.168.0.1"
push "dhcp-option WINS 192.168.0.102"
tls-server
crl-verify crl.pem
ca ca.crt
cert server.crt
key server.key
dh dh.pem
duplicate-cn
proto udp
port 1701
client-to-client
comp-lzo
keepalive 5 20
verb 4
cipher AES-256-CBC
user nobody
group nogroup
max-clients 30
management localhost 7777
sndbuf 524288
rcvbuf 524288
push "sndbuf 524288"
push "rcvbuf 524288"
log-append /var/log/openvpn.log
verb 3