proxy conf

[[email protected] root]# iptables-save
# Generated by iptables-save v1.2.6a on Sat Nov 12 07:38:57 2005
*filter
:INPUT ACCEPT [108975:87806451]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [120593:91453581]
COMMIT
# Completed on Sat Nov 12 07:38:57 2005

[[email protected] root]#
[[email protected] root]# ip r
192.168.2.0/24 dev eth1 scope link
192.168.2.0/24 dev eth1 proto kernel scope link src 192.168.2.113
127.0.0.0/8 dev lo scope link
default via 192.168.2.1 dev eth1
[[email protected] root]#
[[email protected] root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
192.168.2.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 40 0 0 eth1
[[email protected] root]#
[[email protected] root]# cat /etc/resolv.conf
nameserver 202.152.0.2
[[email protected] root]#
[[email protected] root]# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don’t
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
[[email protected] root]#
[[email protected] root]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 1336 480 ? S 05:44 0:03 init
root 2 0.0 0.0 0 0 ? SW 05:44 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SW 05:44 0:00 [kapmd]
root 4 0.0 0.0 0 0 ? SWN 05:44 0:00 [ksoftirqd_CPU0]
root 5 0.0 0.0 0 0 ? SW 05:44 0:00 [kswapd]
root 6 0.0 0.0 0 0 ? SW 05:44 0:00 [bdflush]
root 7 0.0 0.0 0 0 ? SW 05:44 0:00 [kupdated]
root 8 0.0 0.0 0 0 ? SW 05:44 0:00 [mdrecoveryd]
root 12 0.0 0.0 0 0 ? SW 05:44 0:00 [kjournald]
root 68 0.0 0.0 0 0 ? SW 05:45 0:00 [khubd]
root 160 0.0 0.0 0 0 ? SW 05:45 0:00 [kjournald]
root 410 0.0 0.0 0 0 ? SW 05:46 0:00 [eth0]
root 526 0.0 0.3 1748 756 ? S 05:46 0:00 syslogd -m 0
root 531 0.0 0.2 1336 428 ? S 05:46 0:00 klogd -x
rpc 548 0.0 0.2 1484 532 ? S 05:46 0:00 portmap
rpcuser 567 0.0 0.4 1744 828 ? S 05:46 0:00 rpc.statd
root 648 0.0 0.2 1328 476 ? S 05:46 0:00 /usr/sbin/apmd -p
root 686 0.0 0.7 3276 1468 ? S 05:46 0:01 /usr/sbin/sshd
root 700 0.0 0.4 2092 896 ? S 05:46 0:00 xinetd -stayalive
root 723 0.0 1.2 5056 2384 ? S 05:47 0:00 sendmail: accepti
smmsp 733 0.0 1.1 4868 2152 ? S 05:47 0:00 sendmail: Queue r
root 743 0.0 0.2 1372 428 ? S 05:47 0:00 gpm -t ps/2 -m /d
root 752 0.0 0.3 1512 612 ? S 05:47 0:00 crond
root 765 0.0 0.5 3976 1080 ? S 05:47 0:00 squid -D
squid 768 0.3 4.9 11332 9416 ? S 05:47 0:20 (squid) -D
squid 770 0.0 0.1 1304 248 ? S 05:47 0:00 (unlinkd)
daemon 794 0.0 0.2 1368 520 ? S 05:47 0:00 /usr/sbin/atd
root 803 0.0 0.2 1316 404 tty1 S 05:47 0:00 /sbin/mingetty tt
root 804 0.0 0.2 1316 404 tty2 S 05:47 0:00 /sbin/mingetty tt
root 805 0.0 0.2 1316 404 tty3 S 05:47 0:00 /sbin/mingetty tt
root 806 0.0 0.2 1316 404 tty4 S 05:47 0:00 /sbin/mingetty tt
root 807 0.0 0.2 1316 404 tty5 S 05:47 0:00 /sbin/mingetty tt
root 808 0.0 0.2 1316 404 tty6 S 05:47 0:00 /sbin/mingetty tt
root 912 0.0 1.1 6708 2124 ? S 07:38 0:00 /usr/sbin/sshd
root 914 0.0 0.7 4128 1404 pts/0 S 07:38 0:00 -bash
root 959 0.0 0.3 2556 640 pts/0 R 07:41 0:00 ps aux
[[email protected] root]#

Leave a comment

Your email address will not be published.

*