[Mesh] Fwd: [sudo-discuss] Fwd: [H4D] Router configuration gig
al
al at blogmail.cc
Fri Sep 5 13:31:28 PDT 2014
----- Mensaje original -----
> De: "Matthew Senate" <mattsenate at gmail.com>
> Para: "mesh" <mesh at lists.sudoroom.org>
> Enviados: Viernes, 5 de Septiembre 2014 6:55:49
> Asunto: [Mesh] Fwd: [sudo-discuss] Fwd: [H4D] Router configuration
> gig
> here's the text translated from the attached HTML:
> Hi all,
> There is a small, urgent gig in the next few days for an activist
> organization fighting climate change.
> Pay is about $1000, and needs to be ready for Sep 8th.
> It involves the following:
> We need a DD-WRT router to be configured to serve a captive portal
> (our static campaign page) *without* a WAN connection. We can supply
> the router. We need you to configure it. Specifically: Installing
> and configuring a lightweight web server on the router (lighttpd
> seems to work) to host our page. Configuring the router's
> firewall to forward all incoming requests on ports 80 and 443 to the
> web server. Configuring the router's DNS and DHCP handling to
> redirect requests back to the router. This thread should offer
> useful guidance for someone who's skilled on the UNIX command
> line.
> That's the basics.
> Useful bells and whistles include logging how many users see the
> page, and configuring the web server to (securely) log entries to a
> form on the page (our campaign petition).
> Contact Brant Olson with any interest - brant at engagementlab.org
> 4115-596-6581.
> Thanks all,
> --
> Aaron Lifshin | CTO
> Mayday PAC c: (857) 231-6921
Hi Brant!
I read your petition in sudoMesh mailing list.
You need a firewall in your router. Just this rules:
iptables -t nat -D PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.0.1
iptables -t nat -D PREROUTING -p tcp --dport 443 -j DNAT --to-destination 192.168.0.1
(where 192.168.0.1 is your router IP)
And your web in default 192.168.0.1
I think you can do it for yourself, but also I can help you and maybe some sudoMesh crew too.
How many simultaneous connections do you think you'll have? Because if they're a lot you need more than one router (with optimized configuration), I can help with this too.
More information about the mesh
mailing list