Skip to main content

proximamp command reference

Every proximamp command, its options and the exit codes. In the terminal, proximamp help <command> shows the same help.

Help of proximamp 1.0.1.

proximamp <command> [arguments] [options]
CommandWhat it does
helpShow help for proximamp, for a command, or for the exit codes
versionShow the version of proximamp
loginSign in on this computer: with a password, through VK ID or Yandex ID in the browser, with a device key, or with a code approved on your phone
signupMake a ProximaMP account: login, email and password, or through VK ID or Yandex ID
verifyConfirm a new account's email with the code from the email, or ask for a new code
passwordThe account's password: reset a forgotten one, set a first one, or change it
emailThe account's email: show it, add one and confirm it with the code from the email
logoutSign out on this computer
whoamiShow which account this computer is signed in to
keysDevice keys a server, a service or a container signs in with: make one, list them, revoke one
devicesWhere the account is signed in: list the devices, rename one, sign one out
accountShow the account's tariff, its paid term and what of it is used
plansShow the tariffs on offer (works without signing in)
paymentsShow the account's payments
buyBuy a tariff: prints the payment page's link and a QR code for a phone
upOpen every tunnel a proximamp.yml declares and keep them open until Ctrl+C
serviceKeep the config's tunnels as a service that starts with the computer
updateUpdate proximamp to the newest release
tcpOpen a TCP port of this computer to the internet and keep it open until Ctrl+C
udpOpen a UDP port of this computer to the internet and keep it open until Ctrl+C
httpGive a web site on this computer an https link and keep it until Ctrl+C
httpsGive a web site on this computer that itself works over https an https link and keep it until Ctrl+C
lsShow the account's open tunnels
closeClose a tunnel of this computer by its id or address
addressesShow the addresses the account holds for its closed tunnels, or let one go
inspectShow the requests to a link of this computer in the browser (the inspector), or here as lines with --text, until Ctrl+C
accessChoose who may reach an address: allow and deny lists, limits per visitor, a login or a key on a link

proximamp help​

Show help for proximamp, for a command, or for the exit codes

proximamp help [<command> | exit-codes]

proximamp version​

Show the version of proximamp

proximamp version

proximamp login​

Sign in on this computer: with a password, through VK ID or Yandex ID in the browser, with a device key, or with a code approved on your phone

proximamp login [<login>] [--password-stdin]
proximamp login --vk | --yandex
proximamp login --key | --key-stdin
proximamp login --remote [<login>]
OptionDescription
--password-stdinRead the password from standard input, one line (a current and a new password: one line each)
--vkSign in through VK ID in the browser
--yandexSign in through Yandex ID in the browser
--no-browserDo not open the browser, only print the link
--accept-termsAccept the terms of use (https://proximamp.com/en/terms) without being asked
--new-accountWhen an account already has the email VK ID or Yandex ID gives, make a separate new one
--keySign in with a device key, typed unseen
--key-stdinSign in with a device key read from standard input, one line
--remoteSign in with a code you approve on your phone or another computer, for a machine without a browser; a login after it keeps the sign-in only for that account, and is needed without a terminal

proximamp signup​

Make a ProximaMP account: login, email and password, or through VK ID or Yandex ID

proximamp signup [--login <login>] [--email <email>] [--password-stdin] [--accept-terms]
proximamp signup --vk | --yandex
OptionDescription
--login loginThe new account's login
--email emailThe new account's email
--password-stdinRead the password from standard input, one line (a current and a new password: one line each)
--accept-termsAccept the terms of use (https://proximamp.com/en/terms) without being asked
--vkSign in through VK ID in the browser
--yandexSign in through Yandex ID in the browser
--no-browserDo not open the browser, only print the link
--new-accountWhen an account already has the email VK ID or Yandex ID gives, make a separate new one

proximamp verify​

Confirm a new account's email with the code from the email, or ask for a new code

proximamp verify <login> [<code>]
proximamp verify <login> --resend
OptionDescription
--resendSend a new code to the account's email

proximamp password​

The account's password: reset a forgotten one, set a first one, or change it

proximamp password reset [<email>] [--code-stdin] [--password-stdin]
proximamp password set [--password-stdin]
proximamp password change [--password-stdin]
OptionDescription
--code-stdinRead the code from the email from standard input, the first line (the new password, with --password-stdin, the next)
--password-stdinRead the password from standard input, one line (a current and a new password: one line each)
--vkSign in through VK ID in the browser
--yandexSign in through Yandex ID in the browser
--no-browserDo not open the browser, only print the link

proximamp email​

The account's email: show it, add one and confirm it with the code from the email

proximamp email
proximamp email add [<email>] [--password-stdin | --vk | --yandex] [--no-browser]
proximamp email confirm [<code>]
OptionDescription
--password-stdinRead the password from standard input, one line (a current and a new password: one line each)
--vkSign in through VK ID in the browser
--yandexSign in through Yandex ID in the browser
--no-browserDo not open the browser, only print the link

proximamp logout​

Sign out on this computer

proximamp logout

proximamp whoami​

Show which account this computer is signed in to

proximamp whoami

proximamp keys​

Device keys a server, a service or a container signs in with: make one, list them, revoke one

proximamp keys [ls]
proximamp keys create --name <name> [--protection] [--usage] [--expires 30|90] [--password-stdin | --vk | --yandex]
proximamp keys revoke <id> [--yes]
OptionDescription
--name nameThe key's name, 1 to 48 characters
--protectionThe key may also protect addresses: allow and deny lists, logins and keys on links
--usageThe key may also see the tariff and the usage
--expires daysThe key expires after 30 or 90 days; without this it does not expire
--password-stdinRead the password from standard input, one line (a current and a new password: one line each)
--vkSign in through VK ID in the browser
--yandexSign in through Yandex ID in the browser
--no-browserDo not open the browser, only print the link
--yesDo it without asking

proximamp devices​

Where the account is signed in: list the devices, rename one, sign one out

proximamp devices
proximamp devices rename <id> <name>
proximamp devices sign-out <id> [--yes]
OptionDescription
--yesDo it without asking

proximamp account​

Show the account's tariff, its paid term and what of it is used

proximamp account

proximamp plans​

Show the tariffs on offer (works without signing in)

proximamp plans

proximamp payments​

Show the account's payments

proximamp payments

proximamp buy​

Buy a tariff: prints the payment page's link and a QR code for a phone

proximamp buy <tariff>

proximamp up​

Open every tunnel a proximamp.yml declares and keep them open until Ctrl+C

proximamp up [--config <file> | -c <file>]
OptionDescription
--config fileThe config to read (proximamp.yml in this folder when not given)
-c fileThe config to read (proximamp.yml in this folder when not given)
--wait-sign-inWithout a sign-in, wait for one instead of ending, and retry a refused tunnel (as the service does)

proximamp service​

Keep the config's tunnels as a service that starts with the computer

proximamp service install [<login>] [-c <file>] [--password-stdin | --key-stdin]
proximamp service login [<login>] [--password-stdin | --key-stdin]
proximamp service status
proximamp service inspect [<link | id>] [--port <port> | --text]
proximamp service access <address> [<words and options of proximamp access>]
proximamp service uninstall [--yes]
OptionDescription
--config fileThe config to read (proximamp.yml in this folder when not given)
-c fileThe config to read (proximamp.yml in this folder when not given)
--password-stdinRead the password from standard input, one line (a current and a new password: one line each)
--key-stdinSign in with a device key read from standard input, one line
--yesDo it without asking
--textThe requests as lines in this terminal instead of the browser: a server whose browser cannot reach the page
--port portThe port of 127.0.0.1 the inspector page is served on; a free one when not given
--denyuse: use the list as a deny list
--ban-per-minute nlimit: ban a visitor address after more new connections a minute than this (5 to 1000, off, default)
--ban-minutes nlimit: how long a ban lasts, 1 to 1440 minutes, or default
--tcp-share nlimit: TCP connections one visitor address may hold, 1 to 128, or default
--udp-share nlimit: UDP flows one visitor address may hold, 1 to 256, or default
--overlap minuteskey rotate: minutes the old key keeps working: 0, 60 (when not given), 1440 or 10080
--burst nrequests, key limit: requests let through at once above the rate
--methods listrule add: only these methods, comma separated (GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS)
--at nrule add: the rule's place, 1 first (last when not given)
--minutes nfailures: the minutes the failures are counted in
--pause minutesfailures: how many minutes a visitor address is paused

proximamp update​

Update proximamp to the newest release

proximamp update

proximamp tcp​

Open a TCP port of this computer to the internet and keep it open until Ctrl+C

proximamp tcp <port> [--udp] [--host <host>] [--address <address> | --new]
OptionDescription
--udpThe same port answers UDP as well (a game server that needs both)
--host hostSend visitors to this host instead of this computer (another computer of your network)
--address addressOpen on this held address (see proximamp addresses)
--newTake a new address, not the one this tunnel had last

proximamp udp​

Open a UDP port of this computer to the internet and keep it open until Ctrl+C

proximamp udp <port> [--host <host>] [--address <address> | --new]
OptionDescription
--host hostSend visitors to this host instead of this computer (another computer of your network)
--address addressOpen on this held address (see proximamp addresses)
--newTake a new address, not the one this tunnel had last

proximamp http​

Give a web site on this computer an https link and keep it until Ctrl+C

proximamp http <port> [--host <host>] [--address <link> | --new] [--inspect]
OptionDescription
--host hostSend visitors to this host instead of this computer (another computer of your network)
--address addressOpen on this held address (see proximamp addresses)
--newTake a new address, not the one this tunnel had last
--inspectShow the requests to the link in the browser, as proximamp inspect does

proximamp https​

Give a web site on this computer that itself works over https an https link and keep it until Ctrl+C

proximamp https <port> [--host <host>] [--address <link> | --new] [--inspect]
OptionDescription
--host hostSend visitors to this host instead of this computer (another computer of your network)
--address addressOpen on this held address (see proximamp addresses)
--newTake a new address, not the one this tunnel had last
--inspectShow the requests to the link in the browser, as proximamp inspect does

proximamp ls​

Show the account's open tunnels

proximamp ls

proximamp close​

Close a tunnel of this computer by its id or address

proximamp close <id | address>

proximamp addresses​

Show the addresses the account holds for its closed tunnels, or let one go

proximamp addresses [release <address>] [--yes]
OptionDescription
--yesDo it without asking

proximamp inspect​

Show the requests to a link of this computer in the browser (the inspector), or here as lines with --text, until Ctrl+C

proximamp inspect [<link | id>] [--no-browser] [--port <port>]
proximamp inspect --text [<link | id>]
OptionDescription
--no-browserDo not open the browser, only print the link
--port portThe port of 127.0.0.1 the inspector page is served on; a free one when not given
--textThe requests as lines in this terminal instead of the browser: a server whose browser cannot reach the page

proximamp access​

Choose who may reach an address: allow and deny lists, limits per visitor, a login or a key on a link

proximamp access <address> [allow|deny|remove <ip or range>... | clear]
proximamp access <address> limit [--ban-per-minute <n>|off] [--ban-minutes <n>] [--tcp-share <n>] [--udp-share <n>]
proximamp access <address> limit default
proximamp access <address> use <list> [--deny]
proximamp access <address> drop <list>
proximamp access lists
proximamp access lists create <name> [<ip or range>...]
proximamp access lists set|add|remove <list> <ip or range>...
proximamp access lists rename <list> <name>
proximamp access lists delete <list>
proximamp access <link> login add|password|on|off|remove <login> [--password-stdin]
proximamp access <link> key add|rotate|show|remove <name> [--overlap <minutes>]
proximamp access <link> key limit <name> <per-minute>|off [--burst <n>]
proximamp access <link> rule add <path> open|login|addresses [<ip or range>...] [--methods GET,POST] [--at <n>]
proximamp access <link> rule remove <n>
proximamp access <link> rule clear
proximamp access <link> requests anonymous|signed-in|keys <per-minute>|off [--burst <n>]
proximamp access <link> failures password|key <max>|off|default [--minutes <n>] [--pause <minutes>]
proximamp access <link> sign-out-everyone
proximamp access <link> unpause <visitor address>
OptionDescription
--yesAgree in advance: delete a shared list, or leave an address open to everyone
--denyuse: use the list as a deny list
--ban-per-minute nlimit: ban a visitor address after more new connections a minute than this (5 to 1000, off, default)
--ban-minutes nlimit: how long a ban lasts, 1 to 1440 minutes, or default
--tcp-share nlimit: TCP connections one visitor address may hold, 1 to 128, or default
--udp-share nlimit: UDP flows one visitor address may hold, 1 to 256, or default
--password-stdinRead the password from standard input, one line (a current and a new password: one line each)
--overlap minuteskey rotate: minutes the old key keeps working: 0, 60 (when not given), 1440 or 10080
--burst nrequests, key limit: requests let through at once above the rate
--methods listrule add: only these methods, comma separated (GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS)
--at nrule add: the rule's place, 1 first (last when not given)
--minutes nfailures: the minutes the failures are counted in
--pause minutesfailures: how many minutes a visitor address is paused

Options for every command​

OptionDescription
--jsonPrint the result as JSON, for scripts
-h, --helpShow help for the command
--versionShow the version of proximamp

Exit codes​

CodeMeaning
0done
1failed for a reason not listed below
2the command line is wrong: an unknown command or option, a missing or extra argument
3not signed in, or the sign-in has ended: run proximamp login
4no connection to ProximaMP: check the internet and try again
5ProximaMP said no: a limit or the tariff, a wrong password, or what was asked for does not exist
6the proximamp agent on this computer could not be started or reached
7this proximamp is too old for ProximaMP: update it
130stopped with Ctrl+C