squid 多ip配置


if (! ($tokens[1] =~ "127.0.0.1")) {

11        push(@acls, "acl ip$count myip $tokens[1]\n");
12        push(@tcps, "tcp_outgoing_address $tokens[1] ip$count\n");
13        $count++;
14     }

看懂这个,打在squid.conf里面,就搞定了!!很简单

  1. No comments yet.
(will not be published)
  1. No trackbacks yet.