(The original connection is a 55Mbps/16Mbps LTE connection.)
Here is the server configuration:
Code: Select all
local xxx.xxx.xxx.xxx
port 1194
proto udp
dev tun
script-security 2
up /usr/local/etc/openvpn/vpn-up.sh
down /usr/local/etc/openvpn/vpn-down.sh
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
sndbuf 0
rcvbuf 0
push "sndbuf 393216"
push "rcvbuf 393216"
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
client
dev tun
proto udp
remote xxxxxxxxxxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert dc_iPhone.crt
key dc_iPhone.key
remote-cert-tls server
verb 3