Realm: Traffic forwarding/port forwarding tool under Linux, supporting local BBR (including one-click script)

Realm: Traffic forwarding/port forwarding tool under Linux, supporting local BBR (including one-click script)

1. Features of Realm

Support DDNS. Just input a domain name and the background resolution will be automatically updated.
High efficiency and low consumption. Based on the Rust language, Realm ensures memory safety. In addition, compared with Brook and gost written in Go language, Realm executes faster and occupies fewer resources, making it very suitable for use on low-configuration hosts.
Simple Compared to using iptables which requires several complex commands, Realm can be started with just one command, ensuring easy deployment.
UDP + TCP Realm can forward both UDP and TCP without any extra work.

2. RealM one-click installation script

 wget -N --no-check-certificate https://git.io/realm.sh && chmod +x realm.sh && ./realm.sh

3. Use of Realm

1. Download and set permissions

 wget https://github.com/zhboner/realm/releases/download/v1.2.0/realm
chmod +x realm

Local Realm 1.2: https://zhujiwiki.com/wp-content/uploads/2021/01/realm

2. Use

Let realm listen to port 30000 on the local machine and forward traffic to example.com:12345

 ./realm -l 127.0.0.1:30000 -r example.com:12345

Specifically, starting realm requires two parameters: -l and -r.

-l specifies the local address and port to be listened. The address can be omitted, but the port must be specified. If you do not specify an address, the default address of 127.0.0.1 will be used.
-r specifies the destination address and port for forwarding, neither of which can be omitted

3. Automatic startup and service

 vi /etc/systemd/system/realm.service

Paste (change ExecStart=/usr/bin/realm -l xxxx:port -r xxxx:port to your own forwarding information)

 [Unit]
Description=realm
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service

[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
DynamicUser=true
ExecStart=/usr/bin/realm -l xxxx:port -r xxxx:port

[Install]
WantedBy=multi-user.target

Startup

 systemctl enable --now realm

Start/Restart/Stop

 systemctl start/restart/stop realm

Open source: https://github.com/zhboner/realm

<<:  GigsGigsCloud: $88/month/2-core exclusive@AMD EPYC/4GB memory/50GB NVME space/1TB traffic/10Mbps port/Hong Kong CN2/9929/CMI

>>:  NexusBytes: $27.48/year/AMD Ryzen 7 3700X/1GB memory/10GB NVMe space/500GB traffic/1Gbps bandwidth/KVM/Los Angeles

Recommend

AlphaVPS: €25/month/16GB RAM/1TB HDD/5TB bandwidth/Bulgaria

AlphaVPS, an American hosting provider, was estab...

Japanese ConoHa launches Chinese version

ConoHa, a subsidiary of Japan GMO, related introd...

web-project: £30/year/2GB memory/20GB SSD space/2TB bandwidth/1Gbps/KVM/UK

web-project, a British hosting provider, was esta...

SpotVPS: $29.99/month/2GB RAM/20GB SSD/1TB bandwidth/1 IP/OpenVZ

SpotVPS, launched a special VPS, as follows: Memo...

Kazila — Xen VPS Provider

1. Introduction to Kazila Kazila only provides Xe...

CenterHop 512MB RAM SSD Hard Drive 200Mbps Port Singapore KVM VPS Review

Details : CenterHop: $1.5/month/512MB memory/10GB...