This file contains hidden or 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
[root@artema desastedemi]# ls -l | |
ls: cannot access 'Preferences': No such file or directory | |
total 0 | |
-????????? ? ? ? ? ? Preferences |
This file contains hidden or 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
#!/usr/bin/lftp -f | |
set net:connection-limit 1 | |
set net:limit-rate 81920:81920 | |
lcd /mnt | |
open 'http://ftp.sld.cu' | |
cd 'archlinux' | |
mirror -cve -x '.*i686.*' core | |
mirror -cve -x '.*i686.*' extra | |
mirror -cve -x '.*i686.*' community | |
mirror -cve -x '.*i686.*' multilib |
This file contains hidden or 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
========= /etc/rc.conf | |
firewall_enable="YES" | |
firewall_script="/usr/local/etc/ipfw.rules" | |
gateway_enable="YES" | |
natd_enable="YES" | |
natd_interface="xn2" | |
natd_flags="-dynamic -m" |
This file contains hidden or 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
iptables -t nat -A POSTROUTING -o $WAN -j MASQUERADE | |
iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT | |
iptables -A FORWARD -s 10.1.1.2 -j ACCEPT | |
10.1.1.2 is now 169.254.0.20 | |
xn0 = LAN 10.1.1.0/24 (for users) | |
xn1 = LAN = 169.254.0.0/16 (for servers, a kind of DMZ) |
This file contains hidden or 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
root@quantum:~# netstat -ln | |
Active Internet connections (only servers) | |
Proto Recv-Q Send-Q Local Address Foreign Address State | |
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN | |
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN | |
tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN | |
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN | |
tcp6 0 0 :::5298 :::* LISTEN | |
tcp6 0 0 :::22 :::* LISTEN | |
tcp6 0 0 ::1:25 :::* LISTEN |
This file contains hidden or 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
ipfw pipe 1 config bw 70KByte/s | |
ipfw add pipe 1 ip from any to 10.1.1.9 via xn0 | |
ipfw add pipe 1 ip from any to 10.1.1.10 via xn0 | |
ipfw add pipe 1 ip from any to 10.1.1.11 via xn0 |
This file contains hidden or 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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName latencia.dominio.tld | |
DocumentRoot /usr/share/smokeping/www/ | |
ScriptAlias /smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi | |
Alias /smokeping /usr/share/smokeping/www/ | |
<Directory /> | |
Options +ExecCGI | |
Options +FollowSymLinks |
This file contains hidden or 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
npm ERR! [email protected] build: `node ghu release` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] build script. | |
npm ERR! This is most likely a problem with the h5ai package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node ghu release | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls h5ai |
This file contains hidden or 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
"users" | |
{ | |
"76561198309924420" | |
{ | |
"AccountName" "fulanito" | |
"PersonaName" "Fulano de Tal" | |
"RememberPassword" "1" | |
"Timestamp" "1480539910" | |
"WantsOfflineMode" "0" | |
"SkipOfflineModeWarning" "0" |
This file contains hidden or 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
location / { | |
proxy_pass http://192.168.0.10:3000; | |
proxy_set_header Host $host; | |
} |