TS-WARP(5)
π ts-warp(5) β the config file page, bestie edition β¨
okay so this is the manual page for ts-warp's INI-like configuration file format, and honestly she's giving "classic INI but with a plot twist" π
πΈ NAME πΈ
TS-Warp INI-like configuration file format β the whole entire vibe of this page. no cap.
β¨ DESCRIPTION β¨
so ts-warp uses INI-like configuration files to figure out which SOCKS servers go with which destinations that clients are willing to reach. lowkey iconic behavior fr fr.
the format of ts-warp INI-files is almost identical to the classical INI dialect β but there's one main exception, and it's kind of a big deal: duplicate names for keys are allowed within the same section. yes bestie, you read that right. duplicates. slay. π
each section β that's a string enclosed in square brackets ('[', ']') β specifies a name for a SOCKS server block. a section consists of keys (variables) describing SOCKS server attributes, as well as keys specifying destination targets. it's giving organized chaos π¦
remarks are specified with the ; and # characters β use them, they're your little comment besties β¨
and the detail that matters most: key names are case insensitive π which literally means target_host is the exact same thing as tArGeT_HoSt. she does not care about your shift key. periodt.
π SOCKS server keys π
socks_server = <IP | Hostname>[:port]β the mandatory variable, bestie, you literally cannot skip this one. specifies a SOCKS server for the section. the optional port number defaults to1080. πsocks_chain = SECTION_1, SECTION_Nβ defines a chain of sections with SOCKS servers that are required to reach first before contacting the server in the current section. optional variable, but likeβ¦ chain energy, y'know? π§socks_version = 5 | 4β specifies the server SOCKS version. optional, defaults to5. bestie is a modern girlie by default πsocks_user = usernameβ a username, for when the server requires authentication. and a heads-up: only plaintext authentication is supported. π«Άsocks_password = plain:PlaintextPassword | tsw01:HEXADECIMALHASHβ a user password, for when the SOCKS-server requires authentication. you can specify it as plaintext if it's preceded with theplain:prefix, or encoded byts-pass(8)with the TS-Warp obfuscation algorithm if thetsw01:prefix is set. iykyk π₯
π¦ Target keys π¦
target_host = <IP | Hostname>:[port_1[-port_n]]β describes a single target host, either with its IP address or a resolveable host name. optionally a port or a port range can be specified to narrow the band. π―target_domain = example.org:[port_1[-port_n]]β specifies the name of a domain resolveable via DNS. optionally a port or a port range can be specified to narrow the band. πtarget_network = IP[:port_1[-port_n]]/Netmaskβ specifies an IPv4 or IPv6 subnet. and listen β netmasks are accepted only in dot-decimal notation, no exceptions bestie π. optionally a port or a port range can be specified to narrow the band.target_range = IP_1[:port_1[-port_n]]/IP_nβ specifies a range of sequential IPv4, IPv6 addresses. optionally a port or a port range can be specified to narrow the band. β
π EXAMPLES π
here's the whole glow-up in action, copied exactly so you can literally paste it:
[HOME NETWORK] ; Section definition
# Target definitions:
; target_host = 192.168.1.1
; target_host = Anvil
; target_network = 192.168.1.0/255.255.255.0
; target_network = 192.168.1.0/24
; target_range = 192.168.1.1/192.168.1.20
target_domain = balmora.lan
# Server definitions:
socks_server = 192.168.1.237
; socks_version = 5
socks_user = socks
; socks_password = plain:TopSecretPass@34
socks_password = tsw01:08415D5F6519633F1D150E08552837506D12383C177C176F7C322E1F562D
notice how half of these are commented out with ; and #? that's the vibe check β flip them on when you need them, bestie π
π«Ά SEE ALSO π«Ά
ts-warp(8), ts-warp.sh(1), ts-pass(1), gui-warp(1) β go read these too, they're all main characters π
and that's the page!! version 1.0, dated June 6, 2022, brought to you by the one and only Mikhail Zakharov. mwah π thanks for reading bestie, now go configure something iconic β¨π
π¦ where this page comes from
- nixpkgs unstable: ts-warp 1.5.11
- Copyright (c) 2021-2026, Mikhail Zakharov <zmey20000@yahoo.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms