Created
May 21, 2014 07:56
-
-
Save nkhine/fb8b2d2e67cab280ef5c to your computer and use it in GitHub Desktop.
rc.conf
This file contains 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
dumpdev="AUTO" | |
zfs_enable="YES" | |
sshd_enable="YES" | |
local_unbound_enable=yes | |
ifconfig_igb0="inet 37.XXX.XXX.166 netmask 255.255.255.0 broadcast 37.XXX.XXX.255" | |
ifconfig_igb0_alias0="inet 178.XX.XX.6 netmask 255.255.255.255 broadcast 178.XX.XX.6" | |
# Custom loopback interface | |
cloned_interfaces="lo666" | |
ifconfig_lo666_alias0="inet 10.6.6.6 netmask 255.255.255.255" | |
ifconfig_lo666_alias1="inet 10.6.6.7 netmask 255.255.255.255" | |
ifconfig_lo666_alias2="inet 10.6.6.8 netmask 255.255.255.255" | |
# Default router | |
defaultrouter="37.XXX.XXX.254" | |
# IPv6 configuration | |
ipv6_enable="YES" | |
ipv6_activate_all_interfaces="YES" | |
ip6addrctl_policy="ipv6_prefer" | |
ifconfig_idg0_ipv6="inet6 2001:41d0:a:54a6:: prefixlen 64" | |
ipv6_static_routes="ovhgw" | |
ipv6_route_ovhgw="2001:41D0:A:54ff:ff:ff:ff:ff" | |
# IPFW configuration | |
firewall_enable="YES" | |
firewall_script="/usr/local/etc/ipfw.rules" | |
# NAT | |
gateway_enable="YES" # enables the gateway | |
natd_enable="YES" # enables NAT | |
natd_interface="idg0" # specify interface name of NIC attached to Internet | |
natd_flags="-dynamic -m" # -m = preserve port numbers; additional options are listed in natd(8) | |
#enable ezjail | |
ezjail_enable="YES" | |
hostname="domain.tld" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment