Wieuwzak

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Wieuwzak

  1. lockquote widget That is weird. I have no such path. Also, notice that I have appdata/unifi-controller instead of your appdata/unifi Edit: Solved! The folders do show up when you upload an image for a floor plan (in the topology section). You have to enable legacy UI for this. I could have created the folders myself but I didn't want the hassle of setting the right folder permissions.
  2. I need to upload config.gateway.json to the controller. This needs to be placed in: <unifi_base>/data/sites/site_ID, according to https://help.ui.com/hc/en-us/articles/215458888-UniFi-USG-Advanced-Configuration This means I would upload the json file to user/appdata/unifi-controller/data/sites/default/ However, there is no /sites/default/ path. Do I just make the sites/default folders myself within user/appdata/unifi-controller/data/?
  3. I cannot make this work. I enter my hashed host IP without https://, enable https checkmark, and then provide the login details. Nothing happens. Do I enter my local login details or my unraid.net login?
  4. Hi, As of last night my Rtorrent docker has not been able to connect to my wireguard vpn. It has worked fine before. After restarting the docker the logs reads: 2021-09-21 12:31:51.574285 [info] Host is running unRAID 2021-09-21 12:31:51.593068 [info] System information Linux 207c0e46b1fe 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux 2021-09-21 12:31:51.616380 [info] OS_ARCH defined as 'x86-64' 2021-09-21 12:31:51.636952 [info] PUID defined as '99' 2021-09-21 12:31:51.659593 [info] PGID defined as '100' 2021-09-21 12:31:52.039318 [info] UMASK defined as '000' 2021-09-21 12:31:52.059801 [info] Permissions already set for volume mappings 2021-09-21 12:31:52.080852 [info] Deleting files in /tmp (non recursive)... 2021-09-21 12:31:52.105172 [info] VPN_ENABLED defined as 'yes' 2021-09-21 12:31:52.126454 [info] VPN_CLIENT defined as 'wireguard' 2021-09-21 12:31:52.146945 [info] VPN_PROV defined as 'custom' 2021-09-21 12:31:52.171915 [info] WireGuard config file (conf extension) is located at /config/wireguard/wg0.conf 2021-09-21 12:31:52.200537 [info] VPN_REMOTE_SERVER defined as 'xxx.xxx.xxx.xx' 2021-09-21 12:31:52.221321 [info] VPN_REMOTE_PORT defined as '51820' 2021-09-21 12:31:52.239716 [info] VPN_DEVICE_TYPE defined as 'wg0' 2021-09-21 12:31:52.258146 [info] VPN_REMOTE_PROTOCOL defined as 'udp' 2021-09-21 12:31:52.279023 [info] LAN_NETWORK defined as '192.168.1.0/24' 2021-09-21 12:31:52.299862 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1' 2021-09-21 12:31:52.320676 [info] VPN_USER defined as 'vpn username' 2021-09-21 12:31:52.341422 [info] VPN_PASS defined as 'vpn password' 2021-09-21 12:31:52.362140 [info] ENABLE_PRIVOXY defined as 'no' 2021-09-21 12:31:52.384918 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports 2021-09-21 12:31:52.405474 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports 2021-09-21 12:31:52.426109 [info] ENABLE_AUTODL_IRSSI defined as 'no' 2021-09-21 12:31:52.446703 [info] ENABLE_RPC2 defined as 'yes' 2021-09-21 12:31:52.467442 [info] ENABLE_RPC2_AUTH defined as 'yes' 2021-09-21 12:31:52.488001 [info] RPC2_USER defined as 'admin' 2021-09-21 12:31:52.508560 [info] RPC2_PASS defined as 'xxxxxx' 2021-09-21 12:31:52.530006 [info] ENABLE_WEBUI_AUTH defined as 'yes' 2021-09-21 12:31:52.550776 [info] WEBUI_USER defined as 'admin' 2021-09-21 12:31:52.571678 [info] WEBUI_PASS defined as 'xxxxxx' 2021-09-21 12:31:52.592350 [info] Starting Supervisor... 2021-09-21 12:31:52,721 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing 2021-09-21 12:31:52,721 INFO Set uid to user 0 succeeded 2021-09-21 12:31:52,723 INFO supervisord started with pid 7 2021-09-21 12:31:53,725 INFO spawned: 'logrotate-script' with pid 184 2021-09-21 12:31:53,726 INFO spawned: 'pyrocore-script' with pid 185 2021-09-21 12:31:53,728 INFO spawned: 'rutorrent-script' with pid 186 2021-09-21 12:31:53,730 INFO spawned: 'shutdown-script' with pid 187 2021-09-21 12:31:53,731 INFO spawned: 'start-script' with pid 188 2021-09-21 12:31:53,733 INFO spawned: 'watchdog-script' with pid 192 2021-09-21 12:31:53,734 INFO reaped unknown pid 8 (exit status 0) 2021-09-21 12:31:53,746 DEBG 'start-script' stdout output: [info] VPN is enabled, beginning configuration of VPN 2021-09-21 12:31:53,746 INFO success: logrotate-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-09-21 12:31:53,746 INFO success: pyrocore-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-09-21 12:31:53,746 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-09-21 12:31:53,747 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-09-21 12:31:53,747 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-09-21 12:31:53,747 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-09-21 12:31:53,749 DEBG 'start-script' stdout output: [info] Adding 209.222.18.222 to /etc/resolv.conf 2021-09-21 12:31:53,750 DEBG 'watchdog-script' stdout output: [info] rTorrent config file already exists, skipping copy 2021-09-21 12:31:53,753 DEBG 'start-script' stdout output: [info] Adding 84.200.69.80 to /etc/resolv.conf 2021-09-21 12:31:53,756 DEBG 'start-script' stdout output: [info] Adding 37.235.1.174 to /etc/resolv.conf 2021-09-21 12:31:53,760 DEBG 'start-script' stdout output: [info] Adding 1.1.1.1 to /etc/resolv.conf 2021-09-21 12:31:53,764 DEBG 'start-script' stdout output: [info] Adding 209.222.18.218 to /etc/resolv.conf 2021-09-21 12:31:53,767 DEBG 'start-script' stdout output: [info] Adding 37.235.1.177 to /etc/resolv.conf 2021-09-21 12:31:53,770 DEBG 'start-script' stdout output: [info] Adding 84.200.70.40 to /etc/resolv.conf 2021-09-21 12:31:53,773 DEBG 'start-script' stdout output: [info] Adding 1.0.0.1 to /etc/resolv.conf 2021-09-21 12:31:53,777 DEBG 'start-script' stdout output: 185.195.233.68 2021-09-21 12:31:53,801 DEBG 'start-script' stdout output: [info] Default route for container is 192.168.1.1 2021-09-21 12:31:53,811 DEBG 'start-script' stdout output: [info] Docker network defined as 192.168.1.0/24 2021-09-21 12:31:53,814 DEBG 'start-script' stdout output: [info] Adding 192.168.1.0/24 as route via docker eth0 2021-09-21 12:31:53,815 DEBG 'start-script' stderr output: RTNETLINK answers: File exists 2021-09-21 12:31:53,815 DEBG 'start-script' stdout output: [info] ip route defined as follows... -------------------- 2021-09-21 12:31:53,816 DEBG 'start-script' stdout output: default via 192.168.1.1 dev eth0 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.96 2021-09-21 12:31:53,816 DEBG 'start-script' stdout output: broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1 local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1 local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1 broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1 broadcast 192.168.1.0 dev eth0 table local proto kernel scope link src 192.168.1.96 local 192.168.1.96 dev eth0 table local proto kernel scope host src 192.168.1.96 broadcast 192.168.1.255 dev eth0 table local proto kernel scope link src 192.168.1.96 -------------------- 2021-09-21 12:31:53,819 DEBG 'start-script' stdout output: iptable_mangle 16384 0 ip_tables 28672 4 iptable_filter,iptable_raw,iptable_nat,iptable_mangle x_tables 28672 14 ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,xt_nat,xt_comment,ip6_tables,xt_connmark,iptable_raw,ip_tables,xt_MASQUERADE,iptable_mangle,xt_mark 2021-09-21 12:31:53,819 DEBG 'start-script' stdout output: [info] iptable_mangle support detected, adding fwmark for tables 2021-09-21 12:31:53,860 DEBG 'start-script' stdout output: [info] iptables defined as follows... -------------------- 2021-09-21 12:31:53,862 DEBG 'start-script' stdout output: -P INPUT DROP -P FORWARD DROP -P OUTPUT DROP -A INPUT -s 192.168.1.0/24 -d 192.168.1.0/24 -j ACCEPT -A INPUT -s xxx.xxx.xxx.xx/32 -i eth0 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT -A INPUT -i eth0 -p udp -m udp --dport 9080 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT -A INPUT -i eth0 -p udp -m udp --dport 9443 -j ACCEPT -A INPUT -s 192.168.1.0/24 -d 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -i wg0 -j ACCEPT -A OUTPUT -s 192.168.1.0/24 -d 192.168.1.0/24 -j ACCEPT -A OUTPUT -d xxx.xxx.xxx.xx/32 -o eth0 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT -A OUTPUT -o eth0 -p udp -m udp --sport 9080 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT -A OUTPUT -o eth0 -p udp -m udp --sport 9443 -j ACCEPT -A OUTPUT -s 192.168.1.0/24 -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT -A OUTPUT -o lo -j ACCEPT -A OUTPUT -o wg0 -j ACCEPT 2021-09-21 12:31:53,863 DEBG 'start-script' stdout output: -------------------- 2021-09-21 12:31:53,865 DEBG 'start-script' stdout output: [info] Attempting to bring WireGuard interface 'up'... 2021-09-21 12:31:53,871 DEBG 'start-script' stderr output: Warning: `/config/wireguard/wg0.conf' is world accessible 2021-09-21 12:31:53,876 DEBG 'start-script' stderr output: [#] ip link add wg0 type wireguard 2021-09-21 12:31:53,877 DEBG 'start-script' stderr output: [#] wg setconf wg0 /dev/fd/63 2021-09-21 12:31:53,883 DEBG 'start-script' stderr output: [#] ip -4 address add xx.xx.xx.1xx/32 dev wg0 2021-09-21 12:31:53,887 DEBG 'start-script' stderr output: [#] ip link set mtu 1420 up dev wg0 2021-09-21 12:31:53,894 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22986149568368 for <Subprocess at 22986149567696 with name pyrocore-script in state RUNNING> (stdout)> 2021-09-21 12:31:53,894 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22986149055024 for <Subprocess at 22986149567696 with name pyrocore-script in state RUNNING> (stderr)> 2021-09-21 12:31:53,895 INFO exited: pyrocore-script (exit status 0; expected) 2021-09-21 12:31:53,895 DEBG received SIGCHLD indicating a child quit 2021-09-21 12:31:53,896 DEBG 'start-script' stderr output: [#] resolvconf -a wg0 -m 0 -x 2021-09-21 12:31:53,908 DEBG 'start-script' stderr output: [#] wg set wg0 fwmark 51820 2021-09-21 12:31:53,908 DEBG 'start-script' stderr output: [#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820 2021-09-21 12:31:53,909 DEBG 'start-script' stderr output: [#] ip -4 rule add not fwmark 51820 table 51820 2021-09-21 12:31:53,910 DEBG 'start-script' stderr output: [#] ip -4 rule add table main suppress_prefixlength 0 2021-09-21 12:31:53,912 DEBG 'start-script' stderr output: [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1 2021-09-21 12:31:53,913 DEBG 'start-script' stderr output: [#] iptables-restore -n 2021-09-21 12:31:53,915 DEBG 'start-script' stderr output: [#] '/root/wireguardup.sh' It hangs at the last line. What could cause this? PS. I censored some bits with xxx. Okay this is gonna sound really dumb but the vpn subscription had ended. Renewed and fixed.