Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // sudo docker compose up in raspberry pi
- client-1 | 2025-03-12T03:13:09.171831Z INFO handle{service=vpn}: rathole::client: Starting a3d3b194b201a74c8456885508d08fb164ef381bc538ebe0b360c7eb8a27099e
- client-1 | 2025-03-12T03:13:09.171908Z INFO handle{service=something}: rathole::client: Starting 3fc9b689459d738f8c88a3a48aa9e33542016b7a4052e001aaa536fca74813cb
- client-1 | 2025-03-12T03:13:09.173669Z INFO config_watcher{path="config.toml"}: rathole::config_watcher: Start watching the config
- client-1 | 2025-03-12T03:13:09.400142Z INFO handle{service=vpn}:run: rathole::client: Control channel established
- client-1 | 2025-03-12T03:13:09.401576Z INFO handle{service=something}:run: rathole::client: Control channel established
- wireguard | [migrations] started
- wireguard | [migrations] no migrations found
- wireguard | ───────────────────────────────────────
- wireguard |
- wireguard | ██╗ ███████╗██╗ ██████╗
- wireguard | ██║ ██╔════╝██║██╔═══██╗
- wireguard | ██║ ███████╗██║██║ ██║
- wireguard | ██║ ╚════██║██║██║ ██║
- wireguard | ███████╗███████║██║╚██████╔╝
- wireguard | ╚══════╝╚══════╝╚═╝ ╚═════╝
- wireguard |
- wireguard | Brought to you by linuxserver.io
- wireguard | ───────────────────────────────────────
- wireguard |
- wireguard | To support the app dev(s) visit:
- wireguard | WireGuard: https://www.wireguard.com/donations/
- wireguard |
- wireguard | To support LSIO projects visit:
- wireguard | https://www.linuxserver.io/donate/
- wireguard |
- wireguard | ───────────────────────────────────────
- wireguard | GID/UID
- wireguard | ───────────────────────────────────────
- wireguard |
- wireguard | User UID: 1000
- wireguard | User GID: 1000
- wireguard | ───────────────────────────────────────
- wireguard | Linuxserver.io version: 1.0.20210914-r4-ls70
- wireguard | Build-date: 2025-02-20T11:23:26+00:00
- wireguard | ───────────────────────────────────────
- wireguard |
- wireguard | Uname info: Linux 6b5cff75bbc9 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
- wireguard | **** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****
- wireguard | **** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****
- wireguard | **** If your host does not automatically load the iptables module, you may still need the SYS_MODULE capability. ****
- wireguard | **** Server mode is selected ****
- wireguard | **** External server address is set to VPS-IP ****
- wireguard | **** External server port is set to 51820. Make sure that port is properly forwarded to port 51820 inside this container ****
- wireguard | **** Internal subnet is set to 10.13.13.0 ****
- wireguard | **** AllowedIPs for peers 0.0.0.0/0 ****
- wireguard | **** PEERDNS var is either not set or is set to "auto", setting peer DNS to 10.13.13.1 to use wireguard docker host's DNS. ****
- wireguard | **** Server mode is selected ****
- wireguard | **** No changes to parameters. Existing configs are used. ****
- wireguard | [custom-init] No custom files found, skipping...
- wireguard | .:53
- wireguard | CoreDNS-1.11.3
- wireguard | linux/arm64, go1.21.8,
- wireguard | **** Found WG conf /config/wg_confs/wg0.conf, adding to list ****
- wireguard | **** Activating tunnel /config/wg_confs/wg0.conf ****
- wireguard | [#] ip link add wg0 type wireguard
- wireguard | [#] wg setconf wg0 /dev/fd/63
- wireguard | [#] ip -4 address add 10.13.13.1 dev wg0
- wireguard | [#] ip link set mtu 1420 up dev wg0
- wireguard | [#] ip -4 route add 10.13.13.2/32 dev wg0
- wireguard | [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth+ -j MASQUERADE
- wireguard | **** All tunnels are now active ****
- wireguard | [ls.io-init] done.
- // rathole server logs
- 2025-03-12T03:13:09.340497Z INFO connection{addr=MY-PUBLIC-IP:56640}: rathole::server: Try to handshake a control channel
- 2025-03-12T03:13:09.364600Z INFO connection{addr=MY-PUBLIC-IP:56634}: rathole::server: Try to handshake a control channel
- 2025-03-12T03:13:09.389323Z WARN connection{addr=MY-PUBLIC-IP:56634}: rathole::server: Dropping previous control channel for service something
- 2025-03-12T03:13:09.389704Z INFO connection{addr=MY-PUBLIC-IP:56634}: rathole::server: Control channel established service=something
- 2025-03-12T03:13:09.390313Z INFO connection{addr=MY-PUBLIC-IP:56634}:handle{service=something}:run_tcp_connection_pool: rathole::server: Listening at 0.0.0.0:8080
- 2025-03-12T03:13:09.390553Z WARN connection{addr=MY-PUBLIC-IP:56640}: rathole::server: Dropping previous control channel for service vpn
- 2025-03-12T03:13:09.390752Z INFO connection{addr=MY-PUBLIC-IP:56640}: rathole::server: Control channel established service=vpn
- 2025-03-12T03:13:09.390985Z INFO connection{addr=MY-PUBLIC-IP:56640}:handle{service=vpn}:run_udp_connection_pool: rathole::server: Listening at 0.0.0.0:51820
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement