All done.
I'll document my settings here as a "
note-to-self" until I get some more experience with VPN. I can't promise it will help anyone else, though. 😉
iptables -t nat -A POSTROUTING -s 10.0.1.0/24 -j MASQUERADE
iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD 1 --source 10.0.1.0/24 -j ACCEPT
iptables -I FORWARD -i br0 -o tun2 -j ACCEPT
iptables -I FORWARD -i tun2 -o br0 -j ACCEPT
WAN_IF="$(route -n | awk '/^0.0.0.0/{wif=$NF} END {print wif}')"
iptables -t nat -I POSTROUTING -s 10.0.1.0/24 -o $WAN_IF -j MASQUERADE
/tmp/openvpn/openvpn.confdh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
keepalive 10 120
verb 3
mute 3
syslog
writepid /var/run/openvpnd.pid
management 127.0.0.1 14
management-log-cache 100
topology subnet
script-security 2
port 1194
proto udp4
cipher aes-256-cbc
auth sha256
client-connect /tmp/openvpn/clcon.sh
client-disconnect /tmp/openvpn/cldiscon.sh
client-config-dir /tmp/openvpn/ccd
comp-lzo adaptive
tls-server
ifconfig-pool-persist /tmp/openvpn/ip-pool 86400
client-to-client
push "redirect-gateway def1"
fast-io
tun-mtu 1500
mtu-disc yes
server 10.0.1.0 255.255.255.0
dev tun2
push "dhcp-option DNS 10.0.0.1"
iphone.opvntls-client
ca ca.crt
cert iphone.crt
key iphone.key
remote vpn.<redacted>.com
port 1194
comp-lzo
proto udp
cipher AES-256-CBC
auth SHA256
keysize 256
link-mtu 1570
Thank you @TinCanTech for your answers. Now that it all works, I can break it to learn how to fix it. :geek: