.. Jeg har åbnet for port 25 110 og 53 i min firewall, men der sker ikke det store alligevel?? - underligt, for jeg kan sagtens komme ud igennem min firewall (www/ping)
#INPUT# iptables -A FORWARD -p icmp -j ACCEPT iptables -A FORWARD -p all -s 192.168.1.0/24 -d 0/0 -j ACCEPT
iptables -A INPUT -j ACCEPT -p tcp --dport 21 iptables -A INPUT -j ACCEPT -p udp --dport 21 iptables -A INPUT -j ACCEPT -p tcp --dport 25 iptables -A INPUT -j ACCEPT -p udp --dport 25 iptables -A INPUT -j ACCEPT -p tcp --dport 53 iptables -A INPUT -j ACCEPT -p udp --dport 53 iptables -A INPUT -j ACCEPT -p tcp --dport 110 iptables -A INPUT -j ACCEPT -p udp --dport 110 iptables -A INPUT -j ACCEPT -p tcp --dport http
iptables -A FORWARD -j ACCEPT -p tcp --dport 21 iptables -A FORWARD -j ACCEPT -p udp --dport 21 iptables -A FORWARD -j ACCEPT -p tcp --dport 25 iptables -A FORWARD -j ACCEPT -p udp --dport 25 iptables -A FORWARD -j ACCEPT -p tcp --dport 53 iptables -A FORWARD -j ACCEPT -p udp --dport 53 iptables -A FORWARD -j ACCEPT -p tcp --dport 110 iptables -A FORWARD -j ACCEPT -p udp --dport 110 iptables -A FORWARD -j ACCEPT -p tcp --dport 80
#POST ROUTING - vores externe IP ud i verden.# iptables -t nat -A POSTROUTING -j SNAT --to 80.160.232.150
/etc/init.d/iptables save /etc/init.d/iptables restart
-->firewall slut
squid start->
#scrip start
http_port 8080
acl manager proto cache_object acl localhost src 127.0.0.1/32 acl managerhost src 80.160.232.150/32 acl intern src 192.168.1.0/24 acl all src 0.0.0.0/0.0.0.0
acl SSL_ports port 433 563 acl gopher_ports port 70 acl wais_ports port 210 acl whois_ports port 43 acl www_ports port 80 81 acl ftp_ports port 21 acl smtp_ports port 25 110 acl Safe_ports port 1025-56535
acl CONNECT method CONNECT acl FTP proto FTP acl HTTP proto HTTP acl WAIS proto WAIS acl GOPHER proto GOPHER acl WHOIS proto WHOIS acl SMTP proto SMTP
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.