Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOST CONFIGURATION
- /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet manual
- auto eth0.2
- iface eth0.2 inet manual
- auto eth0.3
- iface eth0.3 inet manual
- auto eth0.999
- iface eth0.999 inet manual
- auto bridge-0-1
- iface bridge-0-1 inet static
- address 192.168.151.248
- netmask 255.255.255.0
- gateway 192.168.151.254
- bridge_ports eth0
- bridge_stp off
- bridge_fd 0
- auto bridge-0-2
- iface bridge-0-2 inet manual
- bridge_ports eth0.2
- bridge_stp off
- bridge_fd 0
- auto bridge-0-3
- iface bridge-0-3 inet manual
- bridge_ports eth0.3
- bridge_stp off
- bridge_fd 0
- auto bridge-0-999
- iface bridge-0-999 inet manual
- bridge_ports eth0.999
- bridge_stp off
- bridge_fd 0
- # ---------------------------------------------------
- /etc/ssh/sshd_config
- Port 22
- Protocol 2
- HostKey /etc/ssh/ssh_host_rsa_key
- UsePrivilegeSeparation yes
- SyslogFacility AUTH
- LogLevel INFO
- LoginGraceTime 120
- PermitRootLogin yes
- PasswordAuthentication yes
- PermitEmptyPasswords no
- StrictModes yes
- PubkeyAuthentication yes
- IgnoreRhosts yes
- HostbasedAuthentication no
- ChallengeResponseAuthentication no
- X11Forwarding yes
- X11DisplayOffset 10
- PrintMotd no
- PrintLastLog yes
- TCPKeepAlive yes
- AcceptEnv LANG LC_*
- Subsystem sftp /usr/lib/openssh/sftp-server
- UseDNS no
- # UsePAM yes
- UsePAM no
- GUEST CONFIGURATION
- <domain type='kvm'>
- <name>intranet</name>
- <uuid>f19fd0f2-3a49-b1e1-2d7d-64342663f8ba</uuid>
- <memory unit='KiB'>2097152</memory>
- <currentMemory unit='KiB'>2097152</currentMemory>
- <vcpu placement='static'>1</vcpu>
- <os>
- <type arch='x86_64' machine='pc-0.12'>hvm</type>
- <boot dev='hd'/>
- <bootmenu enable='no'/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <pae/>
- </features>
- <clock offset='utc'/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>restart</on_crash>
- <devices>
- <emulator>/usr/bin/kvm</emulator>
- <disk type='file' device='disk'>
- <driver name='qemu' type='qcow2' cache='none' io='native'/>
- <source file='/home/vm/intranet.qcow2'/>
- <target dev='vda' bus='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
- </disk>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <target dev='hdc' bus='ide'/>
- <readonly/>
- <address type='drive' controller='0' bus='1' target='0' unit='0'/>
- </disk>
- <controller type='ide' index='0'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
- </controller>
- <controller type='usb' index='0' model='piix3-uhci'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
- </controller>
- <controller type='pci' index='0' model='pci-root'/>
- <interface type='bridge'>
- <mac address='00:16:36:4a:a4:81'/>
- <source bridge='bridge-0-1'/>
- <model type='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
- </interface>
- <interface type='bridge'>
- <mac address='00:16:36:3b:d4:01'/>
- <source bridge='bridge-0-2'/>
- <model type='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
- </interface>
- <interface type='bridge'>
- <mac address='00:16:36:51:de:e9'/>
- <source bridge='bridge-0-3'/>
- <model type='virtio'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
- </interface>
- <serial type='pty'>
- <target port='0'/>
- </serial>
- <console type='pty'>
- <target type='serial' port='0'/>
- </console>
- <input type='tablet' bus='usb'>
- <address type='usb' bus='0' port='1'/>
- </input>
- <input type='mouse' bus='ps2'/>
- <input type='keyboard' bus='ps2'/>
- <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='fr'>
- <listen type='address' address='0.0.0.0'/>
- </graphics>
- <video>
- <model type='cirrus' vram='16384' heads='1' primary='yes'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
- </video>
- <memballoon model='virtio'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
- </memballoon>
- </devices>
- </domain>
- # ---------------------------------------------------
- /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet static
- address 192.168.151.242
- netmask 255.255.255.0
- network 192.168.151.0
- broadcast 192.168.151.255
- gateway 192.168.151.254
- auto eth1
- iface eth1 inet static
- address 192.168.39.242
- netmask 255.255.255.0
- network 192.168.39.0
- broadcast 192.168.39.255
- auto eth2
- iface eth2 inet static
- address 192.168.152.242
- netmask 255.255.255.0
- network 192.168.152.0
- broadcast 192.168.152.255
- # ---------------------------------------------------
- Port 22
- Protocol 2
- HostKey /etc/ssh/ssh_host_rsa_key
- UsePrivilegeSeparation yes
- SyslogFacility AUTH
- LogLevel INFO
- LoginGraceTime 120
- PermitRootLogin yes
- PasswordAuthentication yes
- PermitEmptyPasswords no
- StrictModes yes
- PubkeyAuthentication yes
- IgnoreRhosts yes
- HostbasedAuthentication no
- ChallengeResponseAuthentication no
- X11Forwarding yes
- X11DisplayOffset 10
- PrintMotd no
- PrintLastLog yes
- TCPKeepAlive yes
- AcceptEnv LANG LC_*
- Subsystem sftp /usr/lib/openssh/sftp-server
- UseDNS no
- # UsePAM yes
- UsePAM no
Advertisement
Add Comment
Please, Sign In to add comment