Posted: Sun Oct 10, 2010 6:31 Post subject: Wififdog, DDWRT and Squid
Hey everyone, I haven't been able to find any info on this subject after many hours of searching...
I have wifidog running with DD-wrt very well, I have just one question:
I have my Hotspot AP connected to its own Ethernet port on my Ubuntu server and i'm trying to get dd-wrt to use squid as a transparent proxy, which is also running on the server.
However, I know wifidog does set firewall rules that seem to override my transparent proxy script as soon as someone connects.
my script is as follows (Startup):
#!/bin/sh
PROXY_IP=192.168.3.2
PROXY_PORT=3128
LAN_IP=`nvram get lan_ipaddr`
LAN_NET=$LAN_IP/`nvram get lan_netmask`
The script works fine until I enable wifidog, does anyone know a workaround?
my second question would be, is it proper to assume I could enable a firewall rule on the Ubuntu server that will make all traffic from port eth1 go to port 3128 on 192.168.3.2?