**** BEGIN LOGGING AT Wed Jan 22 02:59:59 2014 Jan 22 10:05:51 hi Jan 22 21:47:13 hello Jan 22 21:52:32 been messing with dnsmasq to forward all domains. it only works for the pre but not on any tethered clients. is this even possible? Jan 22 22:09:11 tried "address=/#/127.0.0.1" in dnsmasq.palm.conf Jan 22 22:11:58 also tried adding this to the iptables "iptables -t nat -A OUTPUT -s 192.168.100.0/255.255.255.0 -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:80" Jan 22 22:13:19 I'm stuck. I need help please. Jan 22 23:10:43 don't really know what I'm missing Jan 23 00:37:25 Guest36598: what are you trying to do? Jan 23 00:37:51 force all http traffic to a proxy server? Jan 23 00:42:42 force all traffic to a captive portal? Jan 23 00:47:19 yup Jan 23 00:48:33 I'm using freetether as the host with no access to the internet Jan 23 00:54:34 I setup lighttpd and it works via localhost/127.0.0.1 and clients can connect to it via an ip address when tethered. I was it to be dummy proof. captive portal seems like the way to go. Jan 23 00:55:07 want not was Jan 23 01:05:29 I think most of the captive portals don't work by resolving things to themselves Jan 23 01:05:38 because of DNS caching on the clients Jan 23 01:06:23 otherwise post-portal auth, they'll still be connecting to 192.whatever Jan 23 01:06:59 if address=/#/127.0.0.1 is what is sending your pre to your 127.0.0.1:80 that'll work for the pre, but not for the connected clients Jan 23 01:07:15 who would resolve foo.com to 127.0.0.1 and connect to it, except 127.0.0.1 to the client is the client itself Jan 23 01:07:35 so taht should probably be address=/#/ip.address.of.the.pre2 Jan 23 01:07:49 check the dns resolution on the clients Jan 23 01:08:22 then if that's still not working, you might need to check the rule order between nat/PREROUTING and OUTPUT chains Jan 23 01:08:42 seems like it shoudl work as you ahve it, but I'm not sure Jan 23 01:39:32 think I got my head around the concept. I'll give it another shot. Thanks for the help dwc. **** ENDING LOGGING AT Thu Jan 23 02:59:58 2014