Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - _tribal_

#1
как пир конечно
вот примерно так настраивается: https://www.ivpn.net/setup/router/opnsense-wireguard/
#2
У wireguard вообще нет понятия сервер, у него все клиенты. Вопрос то в чем? У вас не получается настроить? Если Россия, то учтите, что у некоторых провайдеров протокол WG заблочен наглухо.
#3
От так и часть фейсбука грохнет
Лучше открыть страничку с ним и в "Средствах разработчика" посмотреть какие хосты используются... и посидеть подабавлять в блок пока работать не перестанет.
#4
Hi to all.
I've got this code:
#!/bin/sh

OPNSENSE_URL="https://ip:port"
API_KEY="key"
API_SECRET="secret"
ALIAS_NAME="NNN_ips"
IP_FILE="/tmp/NNN_ips.txt"

add_ip_to_alias() {
    local ip="$1"
    curl -k -X POST \
         -H "Content-Type: application/json" \
         -u "${API_KEY}:${API_SECRET}" \
         -d "{\"address\":\"${ip}\"}" \
         "${OPNSENSE_URL}/api/firewall/alias_util/add/${ALIAS_NAME}"
}

apply_changes() {
    curl -k -X POST \
        -H "Content-Type: application/json" \
        -u "${API_KEY}:${API_SECRET}" \
        -d "{}" \
        "${OPNSENSE_URL}/api/firewall/alias/reconfigure"
}

while IFS= read -r ip; do
    if [ -n "$ip" ]; then
        add_ip_to_alias "$ip"
        echo "$ip"
    fi
done < "$IP_FILE"

apply_changes

But it adds one address at a time, which is not very efficient. Is it possible to send the whole list to the API at once, so that the adding can be done in one request?
#5
General Discussion / Re: Folding@home
December 20, 2024, 06:38:19 PM
Try this guide: https://blog.ohmykreee.top/article/setup-tun2socks-in-opnsense/ of course replacing it with your own file
#6
General Discussion / Re: Folding@home
December 19, 2024, 07:56:33 PM
I meant that apart from folding@home there are many inherently CPU projects where performance will not be so catastrophically low.
#7
General Discussion / Re: Folding@home
December 18, 2024, 11:08:45 PM
As I remember it's a GPU-based project. And CPU will have extremely low speed of analyzing or checking jobs. Maybe you should choose a CPU-based project?  But yes, you can install it and even add the ability to run it from GUI.
#8
Quote from: Clumpton on December 15, 2024, 11:14:26 AMI have 44 lists which gives me about 600 000 blocked domains.
I have only 4 lists in unbound blacklist category and they gave me about 900k blocked donains. Everything that can be blocked via domains can be blocked as it is, you don't need an additional service for that.
#9
General Discussion / Re: website update looks great!
December 12, 2024, 09:38:09 PM
Quote from: dseven on December 12, 2024, 08:41:11 PMMaybe everyone else is running 4k monitors nowadays,
Then I really sympathize with them, it's shallow on 1080p, and on 4k you won't be able to see anything at all).
#10
Ну это я, если память не изменяет, давал ссылку. Я, кстати, пробовал из start оно тоже запускается вполне себе нормально. Если кто найдет описание в чем различие, с удовольствием бы почитал. Подозреваю, что в очередности загрузки дело.. но что из них первое идет start или early вопрос интересный и в доке не описан.

Апд. нашел, наверное все же лучше в Start добавлять пользовательские службы, Early вообще до загрузки всего работает.
#11
Quote from: hayate on December 12, 2024, 03:42:49 PMВ syshook запускаю не службу, но напрямую бинарник с нужными параметрами
странно, я истерию и tun2socks запускаю как службы и нормально стартует
#12
Quote from: Balya on December 12, 2024, 02:06:47 PMФайл нужно положить в /usr/local/etc/rc.syshook.d/early/

эм. Тоже интересно, откуда такая информация.
#13
General Discussion / Re: website update looks great!
December 12, 2024, 04:52:38 PM
I don't share everyone's happiness.
The new design is certainly good, but large controls (buttons) with small font of the main text topics, huge incomprehensible indents and empty spaces - I do not understand it. What's it for?
#14
он вроде та и запускает:
Quoteон запускается на старте /usr/local/etc/rc.syshook.d/start файлом 90-singbox
внутри одной строчкой
#15
Quote from: vivekmauli14 on December 10, 2024, 07:38:11 AM
Is there a guide or checklist available for this process?

I followed these instructions:
https://blog.ohmykreee.top/article/setup-tun2socks-in-opnsense/

You can also look at files from other services, as an additional example. As strange as it may be, there are some differences in writing even from official doc.