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)
-
(Ref: http://dsumsky.blogspot.com/2008/08/technical-differences-between-vmware.html) I have spent some time with looking for more details ab...
-
Linux DHCP Configuration with Description # Use this to enble / disable dynamic dns updates globally. ddns-update-style none; ==============...
-
You can use any of the following commands to get uptime of a Windows machine: net statistics workstation OR net statistics server OR net sta...
No comments:
Post a Comment