跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] Mac M1 Docker 环境下, aTrust(深信服的一款代理软件)使用问题

发表于

我想在 Docker 容器中启动 aTrust,然后通过 Clash for Windows 转发。

公司的内部软件,有些是直接通过 IP 形式访问,有些是通过域名形式访问;但是我现在遇到一个比较奇怪的问题

  • 通过 IP 形式访问的软件,可以通过代理正常问题
  • 通过域名形式访问的软件,就不正常了

docker-compose.yml

version: '3.5'
services:
  easyconnect:
    image: hagb/docker-atrust:latest
    ports:
      - 5901:5901
      - 51080:1080
      - 54631:54631
      - 58888:8888
    volumes:
      - ./easyconnect/atrust:/root/.aTrust
    environment:
      DISABLE_PKG_VERSION_XML: 1
    devices:
      - /dev/net/tun
    cap_add:
      - NET_ADMIN

Clash for Windows

parsers: # array
    - url: 这是一串 url 订阅地址
      yaml:
        prepend-proxies:
          - name: Xxx-Proxy
            type: socks5
            server: 127.0.0.1
            port: 51080
            tls: false
            skip-cert-verify: true
            udp: false
        prepend-rules:
          - IP-CIDR,172.16.0.0/16,Xxx                  # case 1 : 可以正常访问
          # - DOMAIN-SUFFIX,example.com,Xxx # case 2 : 无法访问
        
       append-proxy-groups:
          - name: Xxx
            type: url-test
            url: http://www.gstatic.com/generate_204
            interval: 3600
            proxies:
              - Xxx-Proxy

是我使用方式不对吗?还是需要什么特殊配置?如果有了解的大佬,求 cc

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.