https://github.com/diredocks/xray-install-freebsd
Deploy Xray Reality on FreeBSD with ease
https://github.com/diredocks/xray-install-freebsd
Last synced: 10 months ago
JSON representation
Deploy Xray Reality on FreeBSD with ease
- Host: GitHub
- URL: https://github.com/diredocks/xray-install-freebsd
- Owner: diredocks
- Created: 2024-06-01T11:53:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T13:54:22.000Z (about 2 years ago)
- Last Synced: 2025-06-06T07:38:41.623Z (12 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xray-install-freebsd
Deploy Xray Reality on FreeBSD with ease
## Requirements
Install `xray` and `jq` with `pkg`:
```sh
pkg install xray jq
```
## Usage
```sh
chmod +x ./*.sh
./gen_xray_config.sh # to generate xray inbound config
doas ./set_mac_port_access.sh # to allow non-privileged xray processes to bind to port 443
doas ./apply_config.sh # to copy generated configs in place
```
## Others
```sh
doas service enable xray # to add xray into system startup
```