hi,
i am having a problem with my setup in having my web
cam and me viewing
other's web cam. please help!
192.168.1.1
192.168.1.3
|
|
|
---------------- |
| ------------------| | |
linuxbox | |
INTERNET------- adsl router ---------|
squid|--------------- LAN--- 192.168.1.0/32
|-------------------| | |
avira |
|
----------------
|
192.168.1.2
the rules:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport
80 -j REDIRECT
--to-port 8080
--- this redirects http traffic to port 8080 in which
my avira anti
virus is listening and my squid proxy server on the
very same machine
connects to 8080 in which all scanned http traffic is
forwarded.
my squid proxy
http_port 3128
icp_port 3130
#---------squid's avira antivirus at config
2-------------
cache_peer 192.168.1.2 parent 8080 0 no-query default
cache_mem 128 MB
cache_dir ufs /var/squid/cache 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
emulate_httpd_log off
mime_table /etc/squid/mime.conf
pid_filename /var/run/squid.pid
acl all src 0.0.0.0/0.0.0.0
#----------will never direct any
connection-------------------------
never_direct allow all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563acl Safe_ports port 80
# http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 6660-6669 # ircd
acl locallan src 192.168.1.0/255.255.255.0
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
#http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow locallan
http_access deny all
cache_mgr ponytelltale@yahoo.com
cache_effective_user squid
cache_effective_group squid
cache_effective_user squid
even with my antivirus turn off i cant still view
others web cam. but i
can view them if i go directly to the adsl modem.
please help me....
TIA
yazy
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Fri Mar 25 2005 - 06:52:47 MST
This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST