Configuration File Examples

Postfix main.cf on Gentoo

Postfix main.cf on Gentoo # Global Postfix configuration file. This file lists only a subset # of all parameters. For the syntax, and for a complete parameter # list, see the postconf(5) manual page (command: “man 5 postconf”). # # For common configuration examples, see BASIC_CONFIGURATION_README # and STANDARD_CONFIGURATION_README. To find these documents, use # […]

Configuration File Examples

Slackware 12.0 DHCP Server .conf file

# TheMachine DHCP configuration option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; # option netbios-dd-server 192.168.0.3; option domain-name-servers 213.240.241.252, 213.240.241.253; # option domain-name “empty-bg.com”; authoritative; #Default lease-time default-lease-time 43200; #Max lease-time max-lease-time 72000; subnet 192.168.0.0 netmask 255.255.255.0 { interface “eth1”; range 192.168.0.200 192.168.0.250;} ddns-update-style none; #host name.of.host { hardware ethernet M:A:C:a:d:d:r; “newDHCPgivenIPaddr”; } host […]

Scripting & Programming

Fedora Core 6 Basic iptables conf file

# Firewall configuration written by system-config-securitylevel# Manual customization of this file is not recommended.*filter:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [0:0]:RH-Firewall-1-INPUT – [0:0]-A INPUT -j RH-Firewall-1-INPUT-A FORWARD -j RH-Firewall-1-INPUT-A RH-Firewall-1-INPUT -i lo -j ACCEPT-A RH-Firewall-1-INPUT -p icmp –icmp-type any -j ACCEPT-A RH-Firewall-1-INPUT -p 50 -j ACCEPT-A RH-Firewall-1-INPUT -p 51 -j ACCEPT-A RH-Firewall-1-INPUT -p udp –dport 5353 […]