2013-04-05 - [GRASE-Hotspot] help with grase and Squid
Header Data
From: Jarod <ja***9@fastwebnet.it>
Message Hash: 5638e085b7b5e315a91e8b8f36763b1da93448a8c617c69b678b87a7f24529c9
Message ID: <CAKRTExVN=HzXJk7yjb69o2GKVqYZUK5PuUaR6UPedaYB7sLnSQ@mail.gmail.com>
Reply To: N/A
UTC Datetime: 2013-04-05 15:35:25 UTC
Raw Date: Sat, 06 Apr 2013 00:35:25 +0200
Raw message
Dear All
Dear Tim,
i'm new in Grase HotSpot and i need help.
I'm using Ubuntu Server 12.04.
Following the installation instructions i was able to install successfully
the hotspot system.
All is working well except for Squid (squid3).
The access.log (/var/log/squid3/access.log) from squid is empty and the
session monitoring in the Admin interface only show total traffic in KiB.
This is my network configuration:
eth0 Link encap:Ethernet IndirizzoHW 74:ea:3a:85:2a:20
indirizzo inet:192.168.10.226 Bcast:192.168.10.255
Maschera:255.255.255.0
indirizzo inet6: fe80::76ea:3aff:fe85:2a20/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3415 errors:0 dropped:0 overruns:0 frame:0
TX packets:2820 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:1129966 (1.1 MB) Byte TX:330639 (330.6 KB)
Interrupt:19 Indirizzo base:0xe800
eth1 Link encap:Ethernet IndirizzoHW bc:5f:f4:06:2d:25
indirizzo inet6: fe80::be5f:f4ff:fe06:2d25/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:5984 errors:0 dropped:0 overruns:0 frame:0
TX packets:5881 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:993390 (993.3 KB) Byte TX:2059350 (2.0 MB)
Interrupt:43 Indirizzo base:0x2000
lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:209 errors:0 dropped:0 overruns:0 frame:0
TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:24225 (24.2 KB) Byte TX:24225 (24.2 KB)
tun0 Link encap:UNSPEC IndirizzoHW
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
indirizzo inet:10.1.0.1 P-t-P:10.1.0.1 Maschera:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:5134 errors:0 dropped:0 overruns:0 frame:0
TX packets:5184 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:100
Byte RX:833725 (833.7 KB) Byte TX:1981634 (1.9 MB)
more ...
cat /proc/sys/net/ipv4/ip_forward = 1
my IPTABLES: iptables v1.4.12 on
Linux ubuntu 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09
UTC 2012 i686 athlon i386 GNU/Linux
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere
ACCEPT icmp -- anywhere 10.1.0.1
ACCEPT udp -- anywhere 10.1.0.1 udp dpt:domain
ACCEPT udp -- anywhere 10.1.0.1 udp
dpts:bootps:bootpc
ACCEPT udp -- anywhere 255.255.255.255 udp
dpts:bootps:bootpc
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:3128
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:3990
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:domain
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:2812
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:ssh
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:https
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:http
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:4990
ACCEPT tcp -- anywhere 10.1.0.1 tcp dpt:3990
DROP all -- anywhere 10.1.0.1
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere
TCPMSS tcp -- anywhere anywhere
tcpflags: SYN,RST/SYN TCPMSS clamp to PMTU
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
____
*iptables -L -t nat*
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
____
*iptables -L -t mangle*
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DROP tcp -- 10.1.0.0/24 10.1.0.1 tcp dpt:3128
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
TCPMSS tcp -- anywhere anywhere tcpflags:
SYN,RST/SYN TCPMSS clamp to PMTU
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Please help.
Thanks.
Thread
-
Return to April 2013
-
Return to “Jarod <ja***9@fastwebnet.it>”
-
2013-04-05 (Sat, 06 Apr 2013 00:35:25 +0200) - [GRASE-Hotspot] help with grase and Squid - Jarod <ja***9@fastwebnet.it>