Package Details: frps-bin 0.61.0-1

Git Clone URL: https://aur.archlinux.org/frp-bin.git (read-only, click to copy)
Package Base: frp-bin
Description: A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet. (Server)
Upstream URL: https://github.com/fatedier/frp
Keywords: fast frp nat proxy reverse
Licenses: Apache
Conflicts: frps
Provides: frps
Submitter: FirstAirBender
Maintainer: FirstAirBender
Last Packager: FirstAirBender
Votes: 10
Popularity: 0.013885
First Submitted: 2021-07-01 04:22 (UTC)
Last Updated: 2024-10-24 04:39 (UTC)

Latest Comments

HydroCarbon commented on 2024-07-11 13:41 (UTC) (edited on 2024-07-11 13:41 (UTC) by HydroCarbon)

For example, you can do the following to change configuration file to toml:

sudo systemctl edit --full frpc

Replace ${CREDENTIALS_DIRECTORY}/config with ${CREDENTIALS_DIRECTORY}/config_toml

FirstAirBender commented on 2023-12-21 04:12 (UTC)

@ystyle the default configuration points to the /etc/frp/frpc.ini file, which is now deprecated.

If this file doesn't exist for you, you can do the following:

sudo systemctl edit frpc

Replace ${CREDENTIALS_DIRECTORY}/config with ${CREDENTIALS_DIRECTORY}/config_toml

ystyle commented on 2023-12-21 04:02 (UTC)

Where is this default configuration? When I start, I get an error [root.go:139] start frpc service for config file [/run/credentials/frpc.service/config]

m040601 commented on 2023-11-01 00:52 (UTC)

Thanks for maintaining this usefull PKGBUILD. Hope that with enough votes this could be turned into an official Arch package.

thiru commented on 2023-10-14 19:00 (UTC)

Okay I see. Thanks @FirstAirBender

FirstAirBender commented on 2023-10-14 18:14 (UTC) (edited on 2023-10-14 18:14 (UTC) by FirstAirBender)

@thiru It's somewhat compatible, but after switching completely to the toml version, I can say that it is not quite the same. For one, toml seems to encode a type system into the configuration, and this is especially evident when making a distinction between integers and strings.

thiru commented on 2023-10-14 18:09 (UTC)

Sounds good, thanks. I can work around it but thought to mention it in case it throws off others. I'm actually using /etc/frp/frps.toml so I created a symlink named frps.ini pointing to it. That seems to work, but maybe just because my config is very simple. Not sure if ini is like a compatible subset of toml?

FirstAirBender commented on 2023-10-14 18:03 (UTC) (edited on 2023-10-14 18:04 (UTC) by FirstAirBender)

@thiru due to the new changes with the configuration file, frps.ini no longer exists in the frp releases. Because of this, pacman will rename /etc/frp/frps.ini to /etc/frp/frps.ini.pacsave after updating. In order to continue using the /etc/frp/frps.ini, you have to manually rename this .pacsave file, but note that every update, until the .ini file is finally deprecated you will always have to do this manually.

As I'm writing this, I have a workaround in mind, so I will update this package to reflect that.

thiru commented on 2023-10-14 17:49 (UTC)

The service fails to start without creating (and using) /etc/frp/frps.ini

The docs recommend using a frps.toml instead anyway so should this be reflected in frps.service?