notbug ipv6 ready As an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Port details
mtg MTPROTO proxy server for Telegram
2.2.8 net on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.2.6_1Version of this port present on the latest quarterly branch.
Maintainer: drtr0jan@yandex.ru search for ports maintained by this maintainer
Port Added: 2026-03-25 14:45:06
Last Update: 2026-04-10 20:44:08
Commit Hash: 64b3e59
People watching this port, also watch:: adguardhome, amnezia-tools, asterisk20, opensmtpd
License: MIT
WWW:
https://github.com/9seconds/mtg
Description:
Mtg is an implementation of MTProto proxy in Golang. Features: - Lightweight: Maximizes performance while keeping the code maintainable. - Easy Deployment: Inspired by ShadowSocks; avoids "promoted channels". - Single Secret: One secret per instance to keep configuration simple. - No WebUI: Purely CLI/config-driven to remain lean and secure.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
Collapse this list.
  1. bin/mtg
  2. @dir(www,www,750) /usr/local/etc/mtg
  3. @sample(www,www,640) /usr/local/etc/mtg/config.toml.sample
  4. /usr/local/share/licenses/mtg-2.2.8/catalog.mk
  5. /usr/local/share/licenses/mtg-2.2.8/LICENSE
  6. /usr/local/share/licenses/mtg-2.2.8/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • mtg
Dependency lines:
  • mtg>0:net/mtg
To install the port:
cd /usr/ports/net/mtg/ && make install clean
To add the package, run one of these commands:
  • pkg install net/mtg
  • pkg install mtg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mtg
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1775586509 SHA256 (go/net_mtg/mtg-v2.2.8/v2.2.8.mod) = 8d5b04ab6c55162732db5971d339ea314f85c34df9bed33eb5c5d2463635b8bf SIZE (go/net_mtg/mtg-v2.2.8/v2.2.8.mod) = 2157

Expand this list (2 items)

Collapse this list.

SHA256 (go/net_mtg/mtg-v2.2.8/v2.2.8.zip) = db8e1aa5e60227c8449a951ec2973bbd0a7ef5d7fde72b816c060bd27d118a2b SIZE (go/net_mtg/mtg-v2.2.8/v2.2.8.zip) = 294559

Collapse this list.


Packages (timestamps in pop-ups are UTC):
mtg
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest----2.2.8n/an/an/a
FreeBSD:13:quarterly-2.2.8--2.2.8n/an/an/a
FreeBSD:14:latest2.2.62.2.8--2.2.8---
FreeBSD:14:quarterly2.2.82.2.8--2.2.8---
FreeBSD:15:latest2.2.82.2.8n/a-n/an/a--
FreeBSD:15:quarterly2.2.82.2.8n/a-n/an/a--
FreeBSD:16:latest-2.2.8n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go126 : lang/go126
Fetch dependencies:
  1. go126 : lang/go126
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
net_mtg
USES:
go:1.26+,modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/9seconds/mtg/v2/@v/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.2.8
10 Apr 2026 20:44:08
commit hash: 64b3e5969883b4679b3dc1dda34a1cdf6442ff85commit hash: 64b3e5969883b4679b3dc1dda34a1cdf6442ff85commit hash: 64b3e5969883b4679b3dc1dda34a1cdf6442ff85commit hash: 64b3e5969883b4679b3dc1dda34a1cdf6442ff85 files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Boris Korzun
net/mtg: Update 2.2.6 => 2.2.8

Changelogs:
* https://github.com/9seconds/mtg/releases/tag/v2.2.7
* https://github.com/9seconds/mtg/releases/tag/v2.2.8

Port changes:
* Add pkg-post-install script to change default secret
  in the configuration file for security purposes.

PR:		294300
Reported by:	Oleg Streejak <oleg@pcbtech.ru>
Approved by:	Boris Korzun <drtr0jan@yandex.ru> (maintainer)
Approved by:	osa (mentor)
MFH:		2026Q2
2.2.6_1
10 Apr 2026 15:57:27
commit hash: 7507e72a845b5c83e1ad035bd54b1c35482fb86acommit hash: 7507e72a845b5c83e1ad035bd54b1c35482fb86acommit hash: 7507e72a845b5c83e1ad035bd54b1c35482fb86acommit hash: 7507e72a845b5c83e1ad035bd54b1c35482fb86a files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump go ports for go-1.25.9 / 1.26.2
2.2.6
31 Mar 2026 18:16:46
commit hash: 5389fe642200228b24d315fd72366cd23d169c09commit hash: 5389fe642200228b24d315fd72366cd23d169c09commit hash: 5389fe642200228b24d315fd72366cd23d169c09commit hash: 5389fe642200228b24d315fd72366cd23d169c09 files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Boris Korzun
net/mtg: Update 2.1.13 => 2.2.6

Changelogs:
* https://github.com/9seconds/mtg/releases/tag/v2.2.6
* https://github.com/9seconds/mtg/releases/tag/v2.2.5
* https://github.com/9seconds/mtg/releases/tag/v2.2.4
* https://github.com/9seconds/mtg/releases/tag/v2.2.3
* https://github.com/9seconds/mtg/releases/tag/v2.2.2
* https://github.com/9seconds/mtg/releases/tag/v2.2.1
* https://github.com/9seconds/mtg/releases/tag/v2.2.0

PR:		294047
Reported by:	Boris Korzun <drtr0jan@yandex.ru> (maintainer)
Approved by:	maintainer, vvd (mentor)
Co-authored-by:	Vladimir Druzenko <vvd@FreeBSD.org>
2.1.13
25 Mar 2026 14:42:58
commit hash: d3068db9d8a2065158cbc0abcb34054ca8d79849commit hash: d3068db9d8a2065158cbc0abcb34054ca8d79849commit hash: d3068db9d8a2065158cbc0abcb34054ca8d79849commit hash: d3068db9d8a2065158cbc0abcb34054ca8d79849 files touched by this commit
Torsten Zuehlsdorff (tz) search for other commits by this committer
net/mtg: new port, MTPROTO proxy server for Telegram

PR:		233908

Number of commits found: 4