Re: [help] Squid 設定問題

看板FreeBSD作者時間21年前 (2004/10/18 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
※ 引述《ofather.bbs@bbs.csie.ncu.edu.tw (老爹)》之銘言: > 請問一下,如何依照來源 IP 不同,將目的地網頁導向到不同地方 > target: http://www.target.com/ > forward: http://www.target1.com/ > http://www.target2.com/ > source: A, 192.168.1.1 > B, 192.168.1.2 > when A connect target, It will forward to http://www.target1.com/ > when B connect target, It will forward to http://www.target2.com/ > 謝謝 使用 acl 設定,用 google 查一下 squid.conf,有很多範例 ex: acl src_A dst 192.168.1.1 acl src_B dst 192.168.1.2 -- ╭───╮╭─╮ █◤█││ ※ Origin: 超級光小站 <SuperLight.twbbs.org> █◢◣╮│ ※ From : 61-221-34-37.HINET-IP.hinet.net ◥◤█││╰─╮ │█◢█││███ ╰───╯╰───╯
文章代碼(AID): #11St5o00 (FreeBSD)
文章代碼(AID): #11St5o00 (FreeBSD)