How to connect to Psiphon using Linux service

  1. Create a directory /opt/psiphon
  2. Download files
wget https://github.com/Psiphon-Labs/psiphon-tunnel-core-binaries/raw/refs/heads/master/linux/psiphon-tunnel-core-x86_64
chmod 755 psiphon-tunnel-core-x86_64
./psiphon-tunnel-core-x86_64 -config client.conf

My configuration client.conf

{
  "LocalHttpProxyPort": 8081,
  "LocalSocksProxyPort": 1081,
  "EgressRegion": "",
  "PropagationChannelId": "FFFFFFFFFFFFFFFF",
  "RemoteServerListDownloadFilename": "remote_server_list",
  "RemoteServerListSignaturePublicKey": "MIICIDANBgkqhkiG9w0BAQEFAAOCAg0AMIICCAKCAgEAt7Ls+/39r+T6zNW7GiVpJfzq/xvL9SBH5rIFnk0RXYEYavax3WS6HOD35eTAqn8AniOwiH+DOkvgSKF2caqk/y1dfq47Pdymtwzp9ikpB1C5OfAysXzBiwVJlCdajBKvBZDerV1cMvRzCKvKwRmvDmHgphQQ7WfXIGbRbmmk6opMBh3roE42KcotLFtqp0RRwLtcBRNtCdsrVsjiI1Lqz/lH+T61sGjSjQ3CHMuZYSQJZo/KrvzgQXpkaCTdbObxHqb6/+i1qaVOfEsvjoiyzTxJADvSytVtcTjijhPEV6XskJVHE1Zgl+7rATr/pDQkw6DPCNBS1+Y6fy7GstZALQXwEDN/qhQI9kWkHijT8ns+i1vGg00Mk/6J75arLhqcodWsdeG/M/moWgqQAnlZAGVtJI1OgeF5fsPpXu4kctOfuZlGjVZXQNW34aOzm8r8S0eVZitPlbhcPiR4gT/aSMz/wd8lZlzZYsje/Jr8u/YtlwjjreZrGRmG8KMOzukV3lLmMppXFMvl4bxv6YFEmIuTsOhbLTwFgh7KYNjodLj/LsqRVfwz31PgWQFTEPICV7GCvgVlPRxnofqKSjgTWI4mxDhBpVcATvaoBl1L/6WLbFvBsoAUBItWwctO2xalKxF5szhGm8lccoc5MZr8kfE0uxMgsxz4er68iCID+rsCAQM=",
  "RemoteServerListUrl": "https://s3.amazonaws.com//psiphon/web/mjr4-p23r-puwl/server_list_compressed",
  "SponsorId": "FFFFFFFFFFFFFFFF",
  "UseIndistinguishableTLS": true,
  "EstablishTunnelTimeoutSeconds": 0
}

Crate a service

sudo vi /etc/systemd/system/psiphon-tunnel-core.service

[Unit]
Description=Psiphon Tunnel Core
After=network.target

[Service]
# Run as a non-root user (optional – replace with your username)
User=your_user
Group=users

# Working directory where the binary and config live
WorkingDirectory=/opt/psiphon

# Command to start Psiphon with your config file
ExecStart=/opt/psiphon/psiphon-tunnel-core-x86_64 -config /opt/psiphon/client.conf

# Keep it running if it stops
Restart=always
RestartSec=5s

# Standard journal logging
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target

Enable and start

sudo systemctl enable --now psiphon-tunnel-core.service