Setting Up the App

A SoftEther VPN profile has the same fields on iPhone and Android. This page goes through them in the order the profile editor shows them.

Where this page comes from

The fields, defaults, footers and messages were read from the source code of both apps, and the screenshots were taken from them with example profiles. What each setting did against a real server is in Test results.

Add a profile

Tap + on the home screen, tap Protocol and choose SoftEther VPN. Fill in the fields below and tap Save. Save names the first field that is still missing or wrong instead of saving an incomplete profile. Description, under Protocol, is optional: the profile's name on the home screen, which otherwise shows the server's name or address.

Protocol screen on iPhone with SoftEther VPN ticked
Choosing SoftEther VPN, on iPhone.
The same Protocol screen on Android
The same screen on Android.

Server

Server section on iPhone: Server, Port, Hostname, TLS Server Verification, Virtual Hub, Connections, UDP acceleration, NAT traversal and NAT-T Hint
The server section on iPhone, with 4 connections, UDP acceleration and NAT-T on.
The lower part of the same section on Android
The same section on Android, scrolled to NAT-T.
FieldWhat to enter
ServerThe server's DNS name, for example vpn.example.com, or its IP address. The app connects here.
PortEmpty means 443. SoftEther VPN Server also listens on 992 and 5555 by default; all three worked in our tests.
HostnameOptional. A name to send in the TLS handshake (SNI) and to check the server certificate against, while the connection still goes to Server. Use it when Server is an IP address and the certificate names the server.
TLS Server VerificationOn by default: the app accepts only a certificate that the phone trusts and that is valid for Hostname, or for Server when Hostname is empty. Off skips that check. See the certificate warning.
Virtual HubThe hub on the server; empty means DEFAULT.
Connections1 to 32 TCP connections for one session (default 1). More connections can carry more traffic but use more memory. With the server's VoIP / QoS function on, its default, a session uses at least two. After the first, the app adds one connection per second until it has them all.
Enable UDP AccelerationOff by default. On: the app and the server also exchange the VPN's packets over UDP when the server accepts it. It is not used through a proxy.
Enable NAT Traversal (NAT-T)Off by default. On: when the server cannot be reached over TCP, the app reaches it over UDP through the NAT-T servers of SoftEther Corporation, which receive the connection's details. Off: the app never contacts those servers.
NAT-T HintShown when NAT-T is on. Optional: the server's private IP address when several VPN servers share one public address. With a hint the app connects over NAT-T only.

Authentication

Authentication method screen on iPhone: Standard Password, RADIUS / NT Domain, Certificate and Anonymous
The login methods, on iPhone.
The same screen on Android
The same on Android.
MethodWhat it does
Standard PasswordDefault. SoftEther's own password login: the password itself never leaves the phone, only a proof of it. The user on the server has password authentication.
RADIUS / NT DomainSends the password inside the TLS connection, and the server checks it with its RADIUS server (or a Windows domain, on SoftEther for Windows).
CertificateLogs in with a client certificate; see Certificate login.
AnonymousLogs in as a user with anonymous authentication; there is no password.

Username is always needed. Password is needed for the first two methods. The method must match the user's kind on the server; otherwise the server refuses the login.

Certificate login

Authentication section on iPhone with Method Certificate and the Certificate row
Method Certificate, on iPhone.
The same on Android
The same on Android.

With Method set to Certificate, tap Certificate, then Import, and choose a .p12 or .pfx file that holds the client certificate and its private key. The app asks for the file's passphrase and keeps the certificate in the iPhone's Keychain or, on Android, encrypted with a key in the Android Keystore. Both kinds of certificate users on the server work: a signed certificate, checked against a certificate authority the hub trusts, and an individual certificate, stored on the server (SoftEther VPN Server).

Proxy

The app can reach the server through a proxy. The proxy carries only the connection to the server; the traffic inside the VPN does not use it.

Proxy section on iPhone in Manual mode with Address, Port, Type, Username and Password
Manual proxy, on iPhone.
Manual proxy on Android
The same on Android.
ModeWhat it does
NoneThe app connects to the server directly (default).
ManualThe proxy at Address and Port, of the Type you choose: HTTP (an HTTP CONNECT proxy) or SOCKS5. Username and Password are optional and go to the proxy.
AutoA proxy auto-configuration (PAC) file at PAC URL, over http or https. The app runs its FindProxyForURL for the server: PROXY is used as HTTP CONNECT, SOCKS and SOCKS5 as SOCKS5, and DIRECT connects directly. When an entry cannot be reached, the app tries the next one. The username and password go to the proxy the script picks.
Proxy section on iPhone in Auto mode with PAC URL, Username and Password
A PAC file, on iPhone.
The same on Android
The same on Android.

Options

Options section on iPhone with TLS Fragmentation set to Manual and its two sizes
The options on iPhone, with TLS Fragmentation set to Manual.
The same options on Android
The same on Android.
OptionWhat it does
Auto Reconnect, Retry TimesAuto Reconnect (on by default) connects again 2 seconds after a connection that was up is lost, and keeps trying while the server is away. Retry Times limits the failed attempts in a row; empty means no limit. A login the server refused is never retried: the password or certificate must be fixed first. Without Auto Reconnect, a lost connection ends the VPN with Connection lost (auto reconnect is off).
Switch to Wi-Fi When AvailableOn by default: when Wi-Fi appears while the VPN is up, the app moves the connection to it.
On SleepStay (default) keeps the connection while the device sleeps. Pause closes it and connects again on wake. Off closes it; on wake it connects again only with Auto Reconnect, otherwise the VPN ends with The connection was closed while the device slept.
Log LevelHow much the connection log shows. Normal: the milestones, such as connecting, the session, the network settings and errors. Expert adds the states the connection goes through and the DHCP and ARP lines of the virtual adapter. Debug adds the SoftEther core's own lines, such as each TCP connection it opens. No level writes TLS session secrets. Tap the status under the power button to open the log. When the app gives up on a connection, a line starting with SoftEther: closing with reason: names the reason.
TLS FragmentationSplits the outgoing bytes of the TLS handshake into small TCP writes; the TLS data itself is unchanged. Auto sends the first 43 bytes on their own, so that the server name lands in a later write, then 256 bytes per write (128 on cellular) a few milliseconds apart. Manual takes First Chunk (default 32 bytes) and Following Chunks (default 256 bytes).

The certificate warning

With TLS Server Verification on, the app checks the server's certificate before it connects: it must chain to a root the phone trusts and be valid for the name the app checks. When it is not, the app shows DANGEROUS! with each certificate of the chain and what is wrong with it.

Connecting to a server's IP address instead of its name brings this warning, because the certificate names the server, not its address. Use the name, or put the name in Hostname.

Connect and check

Home screen on iPhone with three example SoftEther profiles, each showing its server and port
SoftEther profiles on the home screen, on iPhone.
The same home screen on Android
The same on Android.

Select the profile on the home screen and tap the power button. The status changes to Connected once the hub has given the phone an address. The row of the profile then shows the time of one request through the tunnel. If it fails, the app shows Connection Failed with a reason; Troubleshooting explains each one.