![]() |
FIREWALL - Configure Network |
|
edit /etc/exports
/pub -network 169.254.134.90 -mask 255.255.0.0 |
vi commands: $ = End of line a = append after cursor (ESC to exit mode) A = append end of line (ESC to exit mode) x = delete character (ESC to exit mode) |
| GOAL | Initially this server will act as: |
| Initial Configuration | The initial configuration should have been done with the installation Set the desired IP and NETMASK of vr0 (assuming vr0 is the internal network card) (This is also in file /etc/hostname.vr0 - manually change this if ifconfig doesn't stick) |
| edit /etc/motd | Edit motd to make lawyers comfortable and make sure that no mention of the word "Welcome" appears. (Some U.S. lawyers have stated that the word "Welcome" is an invitation to come on in.) |
| edit /etc/rc.conf.local (lines in this file override lines in rc.conf) |
modify the following to allow access to /pub |
| edit /etc/exports | add (Don't forget to chmod 4777 this directory) |
| DHCP Server | Edit /etc/rc.conf.local and set edit dhcpd.conf |
| SSH | After reboot, you can use mount to attach to another unix box assuming the directory attached is in that machine's export file: |
| FTP | edit /etc/inetd.conf remove the # on the ftp line |