On Wed, Mar 27, 2002 at 02:46:54PM +0700, risiyanto wrote:

> [root@newproxy /]# netstat -pln | grep 80
> tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
> 4900/httpd
> tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
> 30538/(squid)
> 
> kalau mo ngeset squid supaya cuman listen di eth0 misalnya.
> gimana ?

dari squid.conf

#  TAG: http_port
#       Usage:  port
#               hostname:port
#               1.2.3.4:port
#
#       The socket addresses where Squid will listen for HTTP client
#       requests.  You may specify multiple socket addresses.
#       There are three forms: port alone, hostname with port, and
#       IP address with port.  If you specify a hostname or IP
#       address, then Squid binds the socket to that specific
#       address.  This replaces the old 'tcp_incoming_address'
#       option.  Most likely, you do not need to bind to a specific
#       address, so you can use the port number alone.
#

http_port 1.2.3.4:8080

-- 
Asfihani - UIN 85858803
http://www.cakraweb.com/~asfik

---------------------------------------------------------------------
Jumlah pelanggan (updated daily): 210
Untuk berhenti berlangganan, kirim email ke: [EMAIL PROTECTED]

Arsip milis: http://klas.regex.com/archive/
Saat ini arsip milisnya lengkap, tapi kurang fungsional. Bila anda ingin 
menyumbangkan programming time untuk membuat arsip ini menjadi lebih baik,
silakan hubungi [EMAIL PROTECTED]

Kirim email ke