Commit Graph

14 Commits

Author SHA1 Message Date
SamNet-dev
6f7fdcb3a2 docs: make offline install section collapsible 2026-02-04 16:12:52 -06:00
SamNet-dev
93129b3929 docs: add detailed offline/manual installation guide (#15)
Add comprehensive step-by-step instructions for users who can't
download from GitHub directly (behind DPI/firewall).

Includes:
- 8 clear steps with examples
- Fill-in-the-blank server info template
- Multiple transfer methods (SCP, USB, SFTP)
- Browser configuration for Firefox/Chrome
- Troubleshooting section
- Note to check releases page for latest version

Both English and Farsi versions included.

Requested-by: @Shaheding
2026-02-04 16:10:16 -06:00
SamNet-dev
627e39d40b fix: auto-install iptables if missing (#14)
Debian Trixie and other newer distros use nftables by default
and don't have iptables installed. Add iptables to dependency
check so it gets installed automatically during setup.

Reported-by: @Shaheding
2026-02-04 15:55:19 -06:00
SamNet-dev
ff6acb9cfb fix: Windows client config fails if backend not installed (#3)
Add directory existence checks in New-PaqetConfig and New-GfkConfig
before writing config files. Shows friendly error message instead of
"Could not find a part of the path" exception.

Reported-by: @SamDevApi
2026-02-04 15:07:56 -06:00
SamNet-dev
8f634a5de0 feat: add Windows update function and switch to upstream paqet repo
Windows client (paqet-client.ps1):
- Added Update-Paqet function with version tracking
- Added Get-InstalledPaqetVersion and Save-PaqetVersion helpers
- Creates backup before updating, restores on failure
- Added menu option 7 for update, moved About to option 8

All platforms:
- Switched paqet binary downloads from SamNet-dev/paqctl to hanselime/paqet
- Updated paqctl.sh PAQET_REPO to hanselime/paqet
- Updated README.md download URLs to hanselime/paqet
- Users now get paqet updates directly from upstream source
- Allows paqctl script releases without affecting paqet binary updates
2026-02-04 14:44:35 -06:00
SamNet-dev
f88c28bcdd docs: fix paqet client config format in README
The simple config format was incorrect - paqet expects the full YAML
structure with role, socks5, network, server, and transport sections.

Added network section with interface, ipv4.addr, and router_mac fields.
Added tips recommending paqctl for automatic network detection.

Fixes #12

Thanks to @pyr0ken for reporting this issue.
2026-02-04 14:06:43 -06:00
SamNet-dev
b53cd6da9b Fix chmod commands for platform-specific binaries in README
- macOS: chmod +x paqet_darwin_amd64
- Linux: chmod +x paqet_linux_amd64

Fixes both English and Persian documentation sections.

Thanks to @FarazFe for identifying this issue (PR #10)
2026-02-04 11:57:55 -06:00
SamNet-dev
b325644920 fix: GFK firewall rule consistency and health check accuracy
- Fix health check to detect both tagged and untagged iptables rules
- Add missing RST DROP rule to install wizard (prevents kernel interference)
- Add missing IPv6 rules to boot script and install wizard
- Add iptables existence check in install wizard with warning
- Improve status display to show partial firewall state
- Use local variables with defaults for robustness

The health check was failing because it looked for untagged rules while
_apply_firewall() adds rules with -m comment --comment "paqctl" tag.
Now checks for both variants for backwards compatibility.
2026-02-04 11:13:35 -06:00
SamNet-dev
6e4544c8f4 chore: update paqet to v1.0.0-alpha.13 2026-02-04 10:13:39 -06:00
SamNet-dev
2baa535197 docs: credit hanselime/paqet as original source in acknowledgments 2026-02-04 05:55:57 -06:00
SamNet-dev
5ca4d22cdf fix: GFK client Windows compatibility - replace pkill with taskkill
- Replace Linux-only 'pkill' command with cross-platform solution
- Use 'wmic' and 'taskkill' on Windows to kill existing Python processes
- Add CREATE_NEW_PROCESS_GROUP for proper signal handling on Windows
- Improve shutdown handling for both platforms

Fixes FileNotFoundError: [WinError 2] when starting GFK on Windows.
2026-02-04 04:50:28 -06:00
SamNet-dev
4009ba4bd2 Add easy .bat method for Windows client setup (both languages) 2026-02-04 04:41:24 -06:00
SamNet-dev
bc7d6e45e9 Fix download URLs and repository links
- Update README.md download URLs to match actual release filenames
- Add tar extraction commands for .tar.gz files
- Fix repository links from /paqet to /paqctl
2026-02-04 04:37:57 -06:00
SamNet-dev
975acc4cf5 paqctl v1.0.0 - Unified proxy manager for bypassing firewalls
Features:
- Dual backend support: paqet (KCP) and GFW-knocker (violated TCP + QUIC)
- Both backends can run simultaneously when both are installed
- Automatic config.yaml generation for paqet backend
- Windows client support with PowerShell script
- Telegram monitoring integration
- Systemd service management

Backends:
- paqet: Single Go binary with built-in SOCKS5 (port 1080)
- GFW-knocker: Python-based with violated TCP tunneling (port 14000)
2026-02-04 04:25:33 -06:00