Closed jbarth-ubhd closed 9 months ago
This is correct. Android does not use the gateway IP, so treating this is a IP/32 is correct on Android.
As a side note, the --secret
mode is scheduled to be removed in OpenVPN 2.7/2.8
Thanks. Will switch to peer-fingerprint.
General information
Description of the issue
Tried simple config with pre-shared static key.
Requires line
ifconfig 10.8.0.2 10.8.0.1
, but this gets changed toifconfig 10.8.0.2 255.255.255.255
when importing my openvpn config.After establishing connection: ifconfig on "terminal emulator app" says:
tun0 10.8.0.2 P-t-P 10.8.0.2
, and connections to 10.8.0.1 do not work.Managed to change this by editing the ip adress tab and removing the ip address and adding custom option with correct ifconfig line.
Astonishingly ifconfig on "terminal emulator app" still says tun0 10.8.0.2 P-t-P 10.8.0.2 but connections to 10.8.0.1 work now.
Additionally had some issues with modifying the configuration: the "generated configuration" lagged a bit behind — needed to exit config editing and re-enter to see changes.
Log (if applicable)
Configuration file
client: