conn "Android Phone" left=%defaultroute leftsubnet=0.0.0.0/0 leftfirewall=yes lefthostaccess=yes leftallowany=yes leftcert=/var/ipfire/certs/hostcert.pem right=%any rightsourceip=%dhcp rightcert=/var/ipfire/certs/CONNECTION_NAMEcert.pem rightauth2=xauth keyexchange=ikev1 ikelifetime=1h keylife=8h dpddelay=30s dpdtimeout=120s dpdaction=clear auto=add compress=yes
USERNAME : XAUTH "PASSWORD"
|1)|| Go to Settings
Under Wireless & networks click More
|2)|| Add a VPN network
Choose a Name
Set the type to IPSec Xauth RSA
Set the Server address to your IPfire host name
Set the IPSec user certificate to your imported certificate
Set the IPSec CA certificate to your imported CA certificate
As an optional step, you can choose your host's certificate as IPsec server certificate
|3)|| Select the created connection
As Username use the user name written in the ipsec.user.secrets file.
Similarly, as Password use the password that was written in the ipsec.user.secrets
You may check