Last active
September 3, 2024 20:01
-
-
Save binakot/17f0ead65152de46f52c2d07d58c6287 to your computer and use it in GitHub Desktop.
Revisions
-
binakot revised this gist
Aug 23, 2024 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,11 +2,11 @@ version: '3.4' services: shadowsocks: image: shadowsocks/shadowsocks-libev:latest container_name: shadowsocks restart: unless-stopped ports: - 8388:8388 environment: - PASSWORD=$PASSWORD - METHOD=aes-256-gcm -
binakot revised this gist
Jan 21, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,4 @@ services: - 8388:8388 environment: - SS_PASSWORD=$PASSWORD - SS_METHOD=aes-256-cfb -
binakot revised this gist
Jan 21, 2024 . 2 changed files with 15 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,7 @@ $ docker logs wireguard # OpenVPN with ovpn file $ docker compose -f openvpn.yml up -d $ docker cp openvpn:/opt/Dockovpn_data/clients/$ID/client.ovpn ./client.ovpn # Shadowsocks with login/password auth $ docker compose -f shadowsocks.yml up -d ``` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ version: '3.4' services: shadowsocks: image: dockage/shadowsocks-server:latest container_name: shadowsocks restart: unless-stopped ports: - 8388:8388 environment: - SS_PASSWORD=$PASSWORD
-
binakot revised this gist
Jan 21, 2024 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,12 @@ ```bash # SOCKS5 with login/password auth $ docker compose -f socks5.yml up -d # WireGuard with QR code $ docker compose -f wireguard.yml up -d $ docker logs wireguard # OpenVPN with ovpn file $ docker compose -f openvpn.yml up -d $ docker cp openvpn:/opt/Dockovpn_data/clients/$ID/client.ovpn ./client.ovpn ``` -
binakot revised this gist
Jan 21, 2024 . 2 changed files with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,8 @@ ```bash $ docker compose -f socks5.yml up -d $ docker compose -f wireguard.yml up -d $ docker compose -f openvpn.yml up -d $ docker cp openvpn:/opt/Dockovpn_data/clients/$ID/client.ovpn ./client.ovpn ``` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,4 +17,3 @@ services: - 1194:1194/udp cap_add: - NET_ADMIN -
binakot revised this gist
Jan 21, 2024 . 3 changed files with 0 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,5 @@ version: '3.4' volumes: openvpn_config: driver: local @@ -18,8 +15,6 @@ services: - openvpn_config:/opt/Dockovpn_data ports: - 1194:1194/udp cap_add: - NET_ADMIN command: 'dockovpn wget -O /doc/Dockovpn/client.ovpn localhost:8080' This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,5 @@ version: '3.4' services: socks5: image: xkuma/socks5:latest @@ -14,5 +11,3 @@ services: - PROXY_SERVER=0.0.0.0:1080 ports: - 1080:1080/tcp This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,5 @@ version: '3.4' volumes: wireguard_config: driver: local @@ -26,8 +23,6 @@ services: - wireguard_modules:/lib/modules ports: - 51820:51820/udp cap_add: - NET_ADMIN - SYS_MODULE -
binakot revised this gist
Jan 21, 2024 . 2 changed files with 9 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ networks: overlay: volumes: openvpn_config: driver: local services: @@ -15,10 +15,11 @@ services: environment: - HOST_ADDR=$HOST_IP volumes: - openvpn_config:/opt/Dockovpn_data ports: - 1194:1194/udp networks: - overlay cap_add: - NET_ADMIN command: 'dockovpn wget -O /doc/Dockovpn/client.ovpn localhost:8080' This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,9 +4,9 @@ networks: overlay: volumes: wireguard_config: driver: local wireguard_modules: driver: local services: @@ -22,8 +22,8 @@ services: - PEERS=1 - PEERDNS=9.9.9.9 volumes: - wireguard_config:/config - wireguard_modules:/lib/modules ports: - 51820:51820/udp networks: -
binakot revised this gist
Jan 21, 2024 . 2 changed files with 25 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ ```bash $ docker compose -f wireguard.yml up -d $ docker compose -f socks5.yml up -d $ docker compose -f openvpn.yml up -d ``` This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ version: '3.4' networks: overlay: volumes: config: driver: local services: openvpn: image: alekslitvinenk/openvpn:latest container_name: openvpn restart: unless-stopped environment: - HOST_ADDR=$HOST_IP volumes: - config:/opt/Dockovpn_data ports: - 1194:1194/udp networks: - overlay cap_add: - NET_ADMIN -
binakot revised this gist
Jan 17, 2024 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ ```bash $ docker compose -f wireguard.yml up -d $ docker compose -f socks5.yml up -d ``` -
binakot revised this gist
Jan 17, 2024 . 1 changed file with 18 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ version: '3.4' networks: overlay: services: socks5: image: xkuma/socks5:latest container_name: socks5 restart: unless-stopped environment: - PROXY_USER=$USER - PROXY_PASSWORD=$PASSWORD - PROXY_SERVER=0.0.0.0:1080 ports: - 1080:1080/tcp networks: - overlay -
binakot created this gist
Jan 17, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ version: '3.4' networks: overlay: volumes: config: driver: local modules: driver: local services: wireguard: image: lscr.io/linuxserver/wireguard:latest container_name: wireguard restart: unless-stopped environment: - PUID=1000 - PGID=1000 - TZ=Europe/Moscow - SERVERURL=$HOST_IP - PEERS=1 - PEERDNS=9.9.9.9 volumes: - config:/config - modules:/lib/modules ports: - 51820:51820/udp networks: - overlay cap_add: - NET_ADMIN - SYS_MODULE sysctls: - net.ipv4.conf.all.src_valid_mark=1