[Help] How to restrict internet access to client devices after connecting PB to home router. January 21, 2014 12:54PM |
Registered: 11 years ago Posts: 42 |
Re: [Help] How to restrict internet access to client devices after connecting PB to home router. January 21, 2014 08:46PM |
Admin Registered: 14 years ago Posts: 4,680 |
/etc/config/network config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'wan' option ifname 'eth0' option proto 'dhcp' config interface 'lan' option type 'bridge' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0'
vi /opt/piratebox/conf/piratebox.conffind
#Network NET=192.168.1And change it to
#Network NET=192.168.2
sed 's,pb_use_local_dns="yes",pb_use_local_dns="no",g' -i /etc/piratebox.common
rebootthe box should restart.
config zone option name lan option network 'lan' option input ACCEPT option output ACCEPT option forward REJECT # config forwarding # option src lan # option dest wan(don't remove everything, only comment the parts and double check the zone part)
Re: [Help] How to restrict internet access to client devices after connecting PB to home router. January 23, 2014 10:54AM |
Registered: 11 years ago Posts: 42 |
Re: [Help] How to restrict internet access to client devices after connecting PB to home router. January 23, 2014 09:37PM |
Admin Registered: 14 years ago Posts: 4,680 |
Re: [Help] How to restrict internet access to client devices after connecting PB to home router. August 19, 2014 03:06PM |
Registered: 10 years ago Posts: 1 |
Quote
3. disable the dns fix sed 's,pb_use_local_dns="yes",pb_use_local_dns="no",g' -i /etc/piratebox.common
Re: [Help] How to restrict internet access to client devices after connecting PB to home router. August 19, 2014 05:20PM |
Admin Registered: 14 years ago Posts: 4,680 |
Re: [Help] How to restrict internet access to client devices after connecting PB to home router. May 03, 2017 06:19PM |
Registered: 7 years ago Posts: 3 |
Re: [Help] How to restrict internet access to client devices after connecting PB to home router. May 03, 2017 08:14PM |
Admin Registered: 14 years ago Posts: 4,680 |