ipchains redirect
4 отговора
91 прегледа
ipchains redirect
zdr.
Napravish slednoto :
ipchains -A forward -s 192.168.0.0/24 -j MASQ
ipchains -A input -p tct -s 192.168.0.0/24 -d 0.0.0.0/0 80 - j REDIRECT 3128
Sled tova ako na brosera NE mu dam ru4no da polzva proxy mi dava greshki:
Iskam clubs.dir.bg->
----------------------
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: /index.php?i=1
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
--------------------------------------------------------------------------------
Generated Thu, 13 Dec 2001 13:37:30 GMT by server (Squid/2.3.STABLE1)
Napravish slednoto :
ipchains -A forward -s 192.168.0.0/24 -j MASQ
ipchains -A input -p tct -s 192.168.0.0/24 -d 0.0.0.0/0 80 - j REDIRECT 3128
Sled tova ako na brosera NE mu dam ru4no da polzva proxy mi dava greshki:
Iskam clubs.dir.bg->
----------------------
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: /index.php?i=1
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
--------------------------------------------------------------------------------
Generated Thu, 13 Dec 2001 13:37:30 GMT by server (Squid/2.3.STABLE1)
Re: ipchains redirect
Ami dns na mashinite zad proxyto imash li si shtoto po toq nachin te pyrvo se probvat da resolvnat adresa i posle da napravqt request
Re: ipchains redirect
ami imam na mashinata na koqto e proxy-to .
klientite sa nastroeni da polzvat nego : 192.168.0.1
klientite sa nastroeni da polzvat nego : 192.168.0.1
Re: ipchains redirect
mislq 4e problema moje da e ot nastrikite na SQUID zashtoto mi dava invalid URL
.ne znaq na kakvo se dalji tova
.ne znaq na kakvo se dalji tova
Re: ipchains redirect
opravih se :
v squid.conf
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
------------
т'ва беше
v squid.conf
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
------------
т'ва беше