https://www.vagrantup.com/docs/providers/virtualbox/boxes
https://www.vagrantup.com/docs/boxes/base
- Debian 10 OS:
- User:
vagrant. - Password:
vagrant. - Root password:
vagrant.
- User:
https://www.vagrantup.com/docs/providers/virtualbox/boxes
https://www.vagrantup.com/docs/boxes/base
vagrant.vagrant.vagrant.| #!/usr/bin/env python | |
| # | |
| # Trac Wiki to Markdown converter | |
| # | |
| # Copyright(c) 2019 Keisuke MORI ([email protected]) | |
| # | |
| # This program is free software; you can redistribute it and/or | |
| # modify it under the terms of the GNU General Public License | |
| # as published by the Free Software Foundation; either version 2 | |
| # of the License, or (at your option) any later version. |
| #!/bin/sh | |
| # | |
| echo "$@" >>/tmp/udhcpc.dump | |
| echo "========================" >> /tmp/udhcpc.dump | |
| set >> /tmp/udhcpc.dump | |
| echo "========================" >> /tmp/udhcpc.dump |
| # PARTE 2: Reglas IPTABLES | |
| IPT=/sbin/iptables | |
| EBT=/sbin/ebtables | |
| # Activamos el forwarding | |
| sysctl net.ipv4.ip_forward=1 | |
| # Limpiamos todas las reglas | |
| $IPT -t nat -F |
| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 |
dhcp-script=/etc/detect_new_device.sh
Reference:
| subnet6 2001:db8::/32 { | |
| range6 2001:db8:0:1::129 2001:db8:0:1::254; | |
| # Range for clients requesting a temporary address | |
| range6 2001:db8:0:1::/64 temporary; | |
| # Additional options | |
| option dhcp6.name-servers fec0:0:0:1::1; | |
| option dhcp6.domain-search "domain.example"; |
| // Convert a struct sockaddr address to a string, IPv4 and IPv6: | |
| char *get_ip_str(const struct sockaddr *sa, char *s, size_t maxlen) | |
| { | |
| switch(sa->sa_family) { | |
| case AF_INET: | |
| inet_ntop(AF_INET, &(((struct sockaddr_in *)sa)->sin_addr), | |
| s, maxlen); | |
| break; |