How do I turn off access to the internet on FreeBSD?
When I type `ifconfig', the device for the internet is ue0.
So I was thinking of just doing:
to bring it down and the `up' command to bring it back up.
But the ifconfig man page says:
Does this mean that some programs could keep connections open?
Is there a better way to shut off access to the internet?
When I type `ifconfig', the device for the internet is ue0.
So I was thinking of just doing:
# ifconfig ue0 down
to bring it down and the `up' command to bring it back up.
But the ifconfig man page says:
down
Mark an interface ``down''.
When an interface is marked ``down'', the system will not attempt to transmit messages through that interface. If possible, the interface will be reset to disable reception as well. This action does not automatically disable routes using the interface.
Does this mean that some programs could keep connections open?
Is there a better way to shut off access to the internet?