hi Nargren,
you are right!
yes it is the case that I want PB to be connected to internet and client devices to be redirected to "piratebox.lan" after hitting any url
so my contents of /etc/config/network are
*********************************************
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
list dns '192.168.1.1'
list dns '8.8.8.8'
option ipaddr '192.168.1.1'
you are right!
yes it is the case that I want PB to be connected to internet and client devices to be redirected to "piratebox.lan" after hitting any url
so my contents of /etc/config/network are
*********************************************
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
list dns '192.168.1.1'
list dns '8.8.8.8'
option ipaddr '192.168.1.1'