grep -v -e ^\s*$ -e ^# /etc/squid/squid.conf -> Print Out Squid.conf
#usr/sbin/squidclient -h 192.168.10.35 -p 8080 mgr:info
setterm -fore green -back black -store > /dev/tty1
http://wiki.squid-cache.org/ConfigExamples/
iptables -t nat -A PREROUTING -s 192.168.10.35 -p tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.10.35:8080
iptables -t nat -A POSTROUTING -j MASQUERADE
http_port 192.168.10.35:8080 transparent
iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.10.35:8080
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
-A FORWARD -s 192.168.10.218/32 -o eth0 -p tcp -m state --state NEW -m multiport --dports 593,88,53,135,137,138,42,25,110 -j ACCEPT
-A FORWARD -s 192.168.10.218/32 -o eth0 -p udp -m state --state NEW -m multiport --dports 593,88,53,135,137,138,42,25,110 -j ACCEPT
Subscribe to:
Post Comments (Atom)
-
ကကုသန္ဓော ကောဏဂမနော ကဿပေါ ဂေါတမော မုနိဆယ်ထား ဆယ်တော်မူမြတ်စွာဘုရား မေတ္တယျော ပဉ္စဗုဒ္ဓေါတေ သိသေမေသန္တ သဗ္ဗဒါ ဧတေသံ အာနုဘာဝေန ရက္ခဒေဝါ မဟိဒ္ဓ...
-
Linux, Create File With Content & Specified Size #dd if=/dev/urandom of=3MB bs=1 count=0 seek=3M #dd if=/dev/urandom of=5MB bs=1 count...
-
1. Go to http://www.vmware.com/patchmgr/download.portal and login with your VMWare account. Download following files. - upgrade-from-E...
No comments:
Post a Comment