Appunti sul setup dell'OpenWRT nel router Linksys

password: mypassword

/etc/firewall.user

### DMZ
## -- Connections to ports not handled above will be forwarded to 192.168.1.2
iptables -t nat -A prerouting_wan -j DNAT --to IP-DMZ-SERVER
iptables        -A forwarding_wan -d IP-DMZ-SERVER -j ACCEPT

nvram set and nvram commit

wl0_macmode=allow
wl0_maclist="MAC-ADDR-1 MAC-ADDR-2 ..."
log_ipaddr=IP-LOG-SERVER

/etc/dnsmasq.conf

#read-ethers
dhcp-host=MAC-ADDR-1,IP-1,infinite
dhcp-host=MAC-ADDR-2,IP-2,infinite
[...]

/etc/hosts

127.0.0.1 localhost OpenWrt
a.b.c.d smtp.lan smtp


CategoryDoc

TecnoBrain: LinksysSetupOpenwrt (last edited 2008-08-03 17:17:54 by EnricoRossi)

© Tecno Brain di Rossi Enrico, via G. Marcovigi 2 - 40133 Bologna (Italy) - P.IVA: 04275850370
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Al ike 2.5 Italy License.