Запретить Squid отдавать ipv4 сайтам

Discussion in 'Linux, Freebsd, *nix' started by BlackLegend, 21 Feb 2016.

  1. BlackLegend

    BlackLegend New Member

    Joined:
    10 Feb 2012
    Messages:
    0
    Likes Received:
    0
    Reputations:
    0
    Решено
     
    #1 BlackLegend, 21 Feb 2016
    Last edited: 27 Feb 2016
  2. rct

    rct Active Member

    Joined:
    13 Jun 2015
    Messages:
    359
    Likes Received:
    107
    Reputations:
    7
    А если сделать так?
    iptables -I INPUT -p tcp --dport 5001 -j DROP
    ip6tables -I INPUT -p tcp --dport 5001 -j ACCEPT
     
  3. rct

    rct Active Member

    Joined:
    13 Jun 2015
    Messages:
    359
    Likes Received:
    107
    Reputations:
    7
    Тогда хз. На крайний случай пересобери ядро чтоб ipv4 был модулем и не загружай его или вообще без него собери. Но это на крайний случай.
     
    BlackLegend likes this.