Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socks4/5 Proxy and find out the public IP of my container #128

Open
shahram7 opened this issue Jun 2, 2023 · 0 comments
Open

socks4/5 Proxy and find out the public IP of my container #128

shahram7 opened this issue Jun 2, 2023 · 0 comments

Comments

@shahram7
Copy link

shahram7 commented Jun 2, 2023

Hi there,

due to lack of the SOCKS4/5 Proxies feature , I have routed the traffic of my docker container to another container (gluetun) which is connected to a VPN.
First I have entered the network-mode: container:gluetun for both ariang and aria2pro services but I had problem to call the ariang
now my stack looks like this:

version: "3.8"

services:

  Aria2-Pro:
    container_name: aria2-pro
    image: p3terx/aria2-pro
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK_SET=022
      - RPC_SECRET=P3TERX
      - RPC_PORT=6800
      - LISTEN_PORT=6888
      - DISK_CACHE=64M
      - IPV6_MODE=false
      - UPDATE_TRACKERS=true
      - CUSTOM_TRACKER_URL=
      - TZ=Europe/Berlin
    volumes:
      - config:/config
      - /nas/NAS/download:/downloads
    network_mode: container:gluetun

    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: 1m
  AriaNg:
    container_name: ariang
    image: p3terx/ariang
    command: --port 6880 --ipv6
    network_mode: bridge
    ports:
      - 6880:6880 #aria-ng
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: 1m
volumes:
  config:

And now when I run aria-ng it says that aria2 is disconnected!

I would like to check the public IP of the container too.
I have added the curl with "apk add curl"
but I don't receive anything back with "curl -s ifconfig.me"
image
And I was not able to install bind-tools
"bind-tools (no such package)"
Could you guys help me further?

Best regards, Shahram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant