Archiv verlassen und diese Seite im Standarddesign anzeigen : transparenter proxy?
Hi, wo der Hase liegt, weiss ich nicht!
Tatsache ist, das ich auf der Konsole die Bestätigung erhalte das der Proxy o.k ist, mache ich das gleich Spiel auf dem Browser (Firefox) ====Niet...
root:~# /usr/bin/squidclient -h 191.85.xxx.xxx -p 3128 http://www.google.de
Allerdings finde ich das.... merkwürdig? (Zeitunterschied)???
root:/etc/init.d# ps -aux | grep squid
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
proxy 10455 0.0 0.4 7284 4756 pts/9 S+ 19:29 0:00 squid -N -d 1 -D
root 10691 0.0 0.0 1548 480 pts/2 S+ 19:42 0:00 grep squid
root:/etc/init.d#
Debian Sarge
Verschoben ins Forum "Server und Clients".
Hi, wo der Hase liegt, weiss ich nicht!
Tatsache ist, das ich auf der Konsole die Bestätigung erhalte das der Proxy o.k ist, mache ich das gleich Spiel auf dem Browser (Firefox) ====Niet...
root:~# /usr/bin/squidclient -h 191.85.xxx.xxx -p 3128 http://www.google.de
Allerdings finde ich das.... merkwürdig? (Zeitunterschied)???
root:/etc/init.d# ps -aux | grep squid
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
proxy 10455 0.0 0.4 7284 4756 pts/9 S+ 19:29 0:00 squid -N -d 1 -D
root 10691 0.0 0.0 1548 480 pts/2 S+ 19:42 0:00 grep squid
root:/etc/init.d#
Debian Sarge
um 19:29 hst du squid gestarted, um 19:42 hast du "grep squid" abgesetzt.
Das Squid laeuft, heisst nicht dass er richtig konfiguriert ist.
Du siehst besser mal in den Logfiles nach.
Danke Eule,
das er nicht korrekt konfiguriert ist, weiss ich.
Was ich allerdings nicht weiss, obwohl ich seit längerem danach suche ist: wie man Port 80 auf Port 3128 umlenkt?
versucht habe ich es mit:
iptables --list nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
das ich in /etc/init.d positioniert habe und mit rcconf auch aktiviert, bzw. beim StartVorgang ausgeführt wird?
Allerdings sagt: iptables --list
root:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root:
Demzufolge vermute ich, das Port 80 nich auf Port 3120 umgelenkt wird. Nur wie kriege ich das unter Debian Sarge hin?
Gruss Timoti
wieso hast du da "--list nat", müsste das nicht "-t nat" heissen?
Hi thechef,
wieso hast du da "--list nat", müsste das nicht "-t nat" heissen?
Sorry Tippfehler :eek:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
Gruss
Timoti
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.