Skip to content

多网卡 同内网ip 启用不同端口分发,出口IP一致 #575

@Mrqjj

Description

@Mrqjj

为避免浪费时间,一切不按着issue模版填写的问题,一律默认忽略处理,谢谢合作!

Avoid waste time, any report not match the issue template will be ignored.

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

  1. 本机有28个网卡, 每个网卡下面都是默认的DHCP 分配的ip地址一致为192.168.1.2但是网卡名称不一致
  2. 服务启动之后,从每个端口进行请求, 出口ip一致,也就是说出口都在一个网卡上出去的, goProxy 和goProxyAdmin 均存在这个问题
  3. 28个网卡接入了28条宽带,由DHCP 自动分配每个网卡的内网IP都是192.168.1.2

Context (Environment)

  1. proxy version is : v14.7
  2. full command is : ./proxy socks -t tcp -p ":2000-2030" -a ":*" --bind-ip eno1:2000 --bind-ip eno2:2001 --bind-ip eno3:2002--bind-ip enp6s0f0:2003--bind-ip enp6s0f1:2004 --bind-ip enp6s0f2:2005 --bind-ip enp6s0f3:2006 --bind-ip enp4s0f0:2007 --bind-ip enp4s0f1:2008 --bind-ip enp4s0f2:2009 --bind-ip enp4s0f3:2010 --bind-ip enp129s0f0:2011 --bind-ip enp129s0f1:2012 --bind-ip enp129s0f2:2013 --bind-ip enp129s0f3:2014 --bind-ip enp130s0f0:2015 --bind-ip enp130s0f1:2016 --bind-ip enp130s0f2:2017 --bind-ip enp130s0f3:2018 --bind-ip enp131s0f0:2019 --bind-ip enp131s0f1:2020 --bind-ip enp131s0f2:2021 --bind-ip enp131s0f3:2022 --bind-ip enp132s0f0:2023 --bind-ip enp132s0f1:2024 --bind-ip enp132s0f2:2025 --bind-ip enp132s0f3:2026
  3. system is :ubuntu 22.02 server
  4. full log is: ?

Detailed Description

Possible Implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions