Add printer RDS 2012

Если кратко, то:
Роль – принт сервер
Админов – в группу pront ops
Printer mgmt – add printer
Указываем inf из распакованного драйвера

Сам принтер устанавливать не надо, если не планируется его подключать непосредственно к серверу, только драйверы.

 

https://1cloud.ru/help/windows/Nastrojka_probrosa_printera_cherez_RDP

Set CPU affinity in windows

In shortcut:
https://superuser.com/a/1173847
start /affinity N d:\games\supaplex.exe

CPU3 CPU2 CPU1 CPU0  Bin  Hex
---- ---- ---- ----  ---  ---
OFF  OFF  OFF  ON  = 0001 = 1
OFF  OFF  ON   OFF = 0010 = 2
OFF  OFF  ON   ON  = 0011 = 3
OFF  ON   OFF  OFF = 0100 = 4
OFF  ON   OFF  ON  = 0101 = 5 
OFF  ON   ON   OFF = 0110 = 6
OFF  ON   ON   ON  = 0111 = 7
ON   OFF  OFF  OFF = 1000 = 8
ON   OFF  OFF  ON  = 1001 = 9
ON   OFF  ON   OFF = 1010 = A 
ON   OFF  ON   ON  = 1011 = B
ON   ON   OFF  OFF = 1100 = C
ON   ON   OFF  ON  = 1101 = D
ON   ON   ON   OFF = 1110 = E 
ON   ON   ON   ON  = 1111 = F 

PFSense info

Access console menu from shell:

When you set che checkbox “Password protect the console menu”, you will not see any meny if you log in to pfsense from console.
To execute this meny simply run /etc/rc.initial
By the way if you’re not root, you won’t be able to modify any settings, but, at least you can SEE the current settings of pfsense.

Packets list:

https://wiki.lissyara.su/wiki/Packages_PFSense

Add nano to PFSense:

– Login as Admin
– pkg add https://pkg.freebsd.org/FreeBSD:11:amd64/release_1/All/nano-2.8.4.txz

Add rules to firewall to allow management via HTTPS:

in console: easyrule pass wan tcp XX.XX.XX.XX YY.YY.YY.YY 443
https://raymii.org/s/snippets/pfSense_allow_web_interface_access_on_WAN_from_specific_IP.html

Cycle reboot after panic: ffs_valloc: dup alloc:

– reboot
– choose Single Mode
– run fsck -yf (maybe few times)
– reboot

https://free-pc-help.ru/freebsd/panic-ffs_valoc-dup-alloc/

Allow access to web console from WAN:

Config WAN IP
Get to the CLI (option 8 )
Type “route add default <default-gw-ip>”
Type “pfctl -d” to temporarily disable the packet filter

Prevent DDoS:

https://salf-net.ru/?p=494

Google Authenticator on pfSense:

https://devopstales.github.io/linux/pfsense-2fa/

pfBlockerNG:

https://www.zenarmor.com/docs/network-security-tutorials/pfblockerng
For ASN:
https://forum.netgate.com/topic/149150/pfblocker-but-for-asn/5

Problems Installing or Upgrading:

Issue with going from 2.7.0 to 2.7.2
https://forum.netgate.com/topic/174905/update-problems/5

Do certctl rehash in console, than start update process from GUI.

Sometimes if situation is harder and re-hashing does not help:
Navigate to System > Update
Allow the update check to complete, even if it results in an error
Open an SSH connection to the firewall and start a shell (Option 8)
Force an update of pkg metadata:
pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes update
Update pkg:
pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes upgrade -fy pkg
Upgrade pfSense-upgrade:
pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes upgrade -fy pfSense-upgrade
Check for updates in debug mode:
pfSense-upgrade -dc
Run the upgrade in debug mode:
pfSense-upgrade -dy

Online converters and downloaders

PDF в DOC и прочие ништяки: https://smallpdf.com/

PDF Tools, e.g. unlock, repair etc.: https://www.ilovepdf.com/

DWG to PDF:  https://www.zamzar.com/ru/convert/dwg-to-pdf/

Скачать видео с нета:
https://www.y2mate.com – download from youtube in HD with sound
https://y2mate.is/en8/ – download from youtube in HD with sound
https://en.savefrom.net/
https://fastfrom.com
https://yt1s.com/

Скачать музыку с Mixcloud: https://www.mixcloud-downloader.com

Скачать музыку с Soundcloud: https://scdownloader.net/

Вырезать кусок из ролика на Ютубе: https://www.clipconverter.cc/
вставляем ссылку, выираем mp4, убираем галки со start video и end video, выставляем время и вуаля :-)

Конвертер изображений разных форматов: https://www.go2convert.com
Умеет и PSD, и EPS и кучу разных других.

Font converter, TTF or OTF to web fints:
https://www.font2web.com/
https://everythingfonts.com/woff-to-woff2

FB2 to EPUB:
https://fb2epub.com/en/
https://online-converting.ru/ebook/fb2-to-epub/

IP to HEX
https://www.vultr.com/resources/ipv4-converter/?ip_address=127.0.0.1

Амперы в ватты:
https://www.center-pss.ru/klk/k416.htm

Калькулятор расчета сечения кабеля по мощности или току:
https://kabel-s.ru/info/calc-kabel-sechenie/

Scribd Downloader:
https://scribd.vpdfs.com/