Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
motoheros
V2EX  ›  Linux

sslocal 是否能指定网卡(interface)?

  •  
  •   motoheros · Jul 13, 2014 · 4873 views
    This topic created in 4355 days ago, the information mentioned may be changed or developed.
    如果指定sslocal账号走指定的网卡出口?
    有没有类似curl中的interface参数?如:--interface eth1
    3 replies    2014-07-13 18:06:50 +08:00
    churchmice
        1
    churchmice  
       Jul 13, 2014
    当然有啊,你不同网卡的ip总不一样的把?
    配置文件里面把 server 配成网卡对应的ip就好了
    如果想知道网卡对应哪个ip,用sed,awk提取一下就好了
    nicai000
        2
    nicai000  
       Jul 13, 2014   ❤️ 1
    @churchmice 什么?
    sandtears
        3
    sandtears  
       Jul 13, 2014   ❤️ 1
    通过 -b 参数选择你要绑定的网卡的 IP 就好。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5411 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 538ms · UTC 07:05 · PVG 15:05 · LAX 00:05 · JFK 03:05
    ♥ Do have faith in what you're doing.