Results 1 to 2 of 2
hi! I'm trying to setup squid 2.6 stable 13 on a fedora core 6 platform. i used fedora core's existing squid installation (i didn't undergo the download and compile processes). ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-06-2007 #1
squid 2.6 stable 13
here's my added config:
acl internal src 192.168.10.0/255.255.255.0
http_access allow internal
http_access deny all
when i try to browse a site using a workstation using the proxy server i made, i just get a "Page cannot be displayed error". i checked the browser's status bar and it always tries to connect to the squid server.
i used the same config (and added more) on squid 2.5 running on fedora core 4 and had no problems.
i have also set selinux to be permissive and remove the selinux policy on squid.
may i have some sample configurations or you might point out what i did wrong or things i may be missing. thanks...
- 09-10-2007 #2
i already got it going. i just flushed my existing iptables rules. i had to make scripts to contain new iptables rules and run them during startup. and it worked fine. now my problem is NATting. here's what i did:
iptables -A POSTROUTING -t nat -o eth0 -s 192.168.5.0/24 -d 0/0 -j MASQUERADE
iptables -A FORWARD -t filter -o eth0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -t filter -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
i had my ip forwading on but i get page cannot be displayed messages. i used this on fedora core 4. fedora 4 and 6 have the same 2.6 kernel so i think it should work on both.
i'm using fedora core 6. thanks