This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ################################################################## | |
| ################################################################## | |
| # | |
| # The FreeBSD System Hardening Script | |
| # David Childers - 15 February, 2010 | |
| # | |
| # This software is released under the Attribution-ShareAlike version 3.0 Licence. | |
| # www.creativecommons.org/licenses/by-sa/3.0/ | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # dladm show-phys | |
| ipadm create-if e1000g0 | |
| ipadm create-addr -T static -a 10.56.33.51/24 e1000g0/v4static | |
| route -p add default 10.56.33.1 | |
| echo 'nameserver 10.56.33.1' >> /etc/resolv.conf |
NewerOlder