Différences entre les versions de « Rc.conf »

De BlaxWiki
Aller à la navigationAller à la recherche
 
Ligne 1 : Ligne 1 :
Exemple de fichier rc.conf
Exemple de fichier rc.conf
* Mowgli
<pre>
# Tous les vlan sont sur fxp1
cloned_interfaces="vlan112 vlan113 vlan114 vlan116 vlan117 vlan121 vlan122 vlan123 vlan118 vlan119"
network_interfaces="lo0 fxp0 fxp1 fxp2"
# Interface VLAN pour IGH
ifconfig_vlan112="inet 10.0.12.1/24 vlan 112 vlandev fxp1"
# Interface VLAN pour TOIP
ifconfig_vlan113="inet 10.0.9.1/24 vlan 113 vlandev fxp1"
# Interface VLAN pour SC
ifconfig_vlan114="inet 10.0.3.1/24 vlan 114 vlandev fxp1 staticarp"
static_routes="uk_vpn artful_amen_vpn integration"
route_uk_vpn_1="-net 80.168.56.80/28 212.43.195.252"
route_uk_vpn_2="-net 195.8.81.0/25 212.43.195.252"
route_artful_amen_vpn="-net 62.240.232.0/28 212.43.195.252"
route_integration="-net 10.0.14.0/24 212.43.195.2"
gateway_enable="YES"
</pre>


* Frontal easybiz
* Frontal easybiz

Version actuelle datée du 1 avril 2009 à 09:39

Exemple de fichier rc.conf

  • Mowgli
# Tous les vlan sont sur fxp1
cloned_interfaces="vlan112 vlan113 vlan114 vlan116 vlan117 vlan121 vlan122 vlan123 vlan118 vlan119"
network_interfaces="lo0 fxp0 fxp1 fxp2"
# Interface VLAN pour IGH
ifconfig_vlan112="inet 10.0.12.1/24 vlan 112 vlandev fxp1"
# Interface VLAN pour TOIP
ifconfig_vlan113="inet 10.0.9.1/24 vlan 113 vlandev fxp1"
# Interface VLAN pour SC
ifconfig_vlan114="inet 10.0.3.1/24 vlan 114 vlandev fxp1 staticarp"
static_routes="uk_vpn artful_amen_vpn integration"
route_uk_vpn_1="-net 80.168.56.80/28 212.43.195.252"
route_uk_vpn_2="-net 195.8.81.0/25 212.43.195.252"
route_artful_amen_vpn="-net 62.240.232.0/28 212.43.195.252"
route_integration="-net 10.0.14.0/24 212.43.195.2"
gateway_enable="YES"

  • Frontal easybiz
# -- sysinstall generated deltas -- # Thu Nov 16 12:25:24 2006
# Created: Thu Nov 16 12:25:24 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.

defaultrouter="212.43.241.1"
#font8x14="iso-8x14"
#font8x16="iso-8x16"
#font8x8="iso-8x8"
hostname="charentes.fr.clara.net"

ifconfig_lo0="inet 127.0.0.1"

ifconfig_fxp0="inet 212.43.241.203  netmask 255.255.255.0 media 100baseTX mediaopt full-duplex"
ifconfig_fxp0_alias0="inet 212.43.241.15 netmask 0xffffffff"    # easyftp
ifconfig_fxp0_alias1="inet 212.43.241.19 netmask 0xffffffff"    # backup
ifconfig_fxp0_alias2="inet 212.43.241.20 netmask 0xffffffff"    # vftp
ifconfig_fxp0_alias3="inet 212.43.241.21 netmask 0xffffffff"    # microftp



# Variables Easy/Biz (ces variables sont lues par certains scripts Easy/Biz)

eb_machine="charentes"
#eb_bizname="easy-services.fr.clara.net"
eb_bizname="bizmachine16.fr.clara.net"
eb_jail_ip="212.43.241.15"
eb_ext_iface="fxp0"


#ipv6_enable="YES"
#ifconfig_fxp0_alias0="inet6 2001:a70:fd::12:76/64"
#ipv6_defaultrouter="2001:a70:fd::1" # tarzan

kern_securelevel_enable="NO"
keymap="fr.iso.acc"
linux_enable="YES"
nfs_client_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"

#route_web="-host 212.43.241.15 -iface fxp0"
route_jail="-host 212.43.241.15 -iface fxp0"

#mail queueing for the jail

anacron_enable="YES"
static_routes="web jail"
amd_enable="NO"         # Run amd service with $amd_flags (or NO).
amd_flags=""
xntpd_enable="YES"               # Run ntpd Network Time Protocol (or NO).
xntpd_program="ntpd"            # path to ntpd, if you want a different one.
xntpd_flags="-p /var/run/ntpd.pid"      # Flags to ntpd (if enabled).
ntpdate_enable="YES"             # Run ntpdate to sync time on boot (or NO).
ntpdate_program="ntpdate"       # path to ntpdate, if you want a different one.
ntpdate_flags=""                # Flags to ntpdate (if enabled).
firewall_enable="YES"           # actually disabled
firewall_quiet="YES"
firewall_type="/usr/local/etc/firewall"
#
#
syslogd_flags="-l /data/var/run/log"              # Flags to syslogd (if enabled).
#
nfs_server_flags="-u -t -n 4"   # Flags to nfsd (if enabled).
nfs_client_enable="YES"

proftpd_enable="YES"
pureftpd_enable="YES"
sshbizd_enable="YES"
mysql_enable="YES"
syslog_ng_enable="YES"