docs: add LAN socks5 compose deployment

This commit is contained in:
2026-05-29 11:55:16 +08:00
parent 3c8d31b9e9
commit 13b66aeea6
6 changed files with 125 additions and 8 deletions
+26
View File
@@ -0,0 +1,26 @@
# Alternative for native Linux Docker hosts. ipvlan L2 often works better than
# macvlan on switches/APs that dislike multiple MAC addresses behind one port.
# Not expected to work directly on macOS OrbStack for the same VM/NIC reason.
services:
socks5:
image: serjs/go-socks5-proxy:latest
container_name: socks5-server-lan
restart: unless-stopped
env_file:
- .env
networks:
socks5_lan:
ipv4_address: 192.168.2.200
networks:
socks5_lan:
driver: ipvlan
driver_opts:
parent: eth0
ipvlan_mode: l2
ipam:
config:
- subnet: 192.168.2.0/24
gateway: 192.168.2.1
ip_range: 192.168.2.200/32