Hello Gurus,
I have a FreeBSD box running with NAT and IPFW. I have been trying to figure out what command to use to disable an internal IP address (f.ex. 192.168.0.2), and what command to use to enable it again. By disable/enable I mean allowing that IP to access the internet. Once I have figured this out, I would like to have a cron script running that automatically disables that specific internal IP at f.ex. 20:00PM, and enables again at f.ex. 08:00AM. Would any of you guys be able to point me in the right direction?
I have a FreeBSD box running with NAT and IPFW. I have been trying to figure out what command to use to disable an internal IP address (f.ex. 192.168.0.2), and what command to use to enable it again. By disable/enable I mean allowing that IP to access the internet. Once I have figured this out, I would like to have a cron script running that automatically disables that specific internal IP at f.ex. 20:00PM, and enables again at f.ex. 08:00AM. Would any of you guys be able to point me in the right direction?