تنزيل

ForestVPN لـMikroTik

ForestVPN كحاوية على مُوجِّه MikroTik يشغّل RouterOS 7. يسجّل نفسه جهازًا مستقلًا ويطبع رمز اقتران.

احصل عليه

احصل عليه

suquant/fvpn:0.9.0

المتطلبات

المتطلبات

RouterOS
7.21 أو أحدث. ترفض الإصدارات الأقدم كتلة التثبيت.
دعم الحاويات
حزمة container مثبَّتة ووضع جهاز الحاويات مفعَّل. تفعيله يتطلب وصولًا ماديًا إلى المُوجِّه، وهذه قاعدة MikroTik لا قاعدتنا.
المعالج
arm أو arm64 أو x86.
مُوجِّه واحد، جهاز واحد
تحتفظ الحاوية بمفتاح الجهاز الخاص بها وترتبط بحسابك كجهاز مستقل.
التثبيت

التثبيت

حاوية RouterOS، تم التحقق منها على أجهزة حقيقية — جهاز MikroTik cAP ax جلب الصورة، وسجّل، وطبع رمز إقران، واتصل. يحمل مفتاح جهازه الخاص ويطلب من طبقة التحكم نقطة خروج بالطريقة نفسها التي يفعلها الهاتف.

  1. 01

    امنح الحاوية عنوانها الخاص

    ثلاثة أسطر في طرفية RouterOS — شبكة فرعية /30 لا توجد إلا بين الحاوية والراوتر، لا شيء تبحث عنه في شبكتك المحلية.

  2. 02

    أضف الحاوية وابدأها

    صورة مثبَّتة الإصدار، لا :latest — راوتر لست واقفًا أمامه يجب ألا يبدّل ما يشغّله بصمت أبدًا.

  3. 03

    اقرأ رمز الإقران

    يُطبع في /log قبل أن تملك الحاوية أي وصول للشبكة على الإطلاق. افتح تطبيق ForestVPN، وقد سجّلت الدخول فيه برقم حسابك، وأدخل الرمز.

  4. 04

    اختر نقطة الخروج من هاتفك

    يقدّم الراوتر صفحة حالته الخاصة على العنوان الذي منحته له للتو — افتحها من هاتف على الشبكة نفسها واضغط موقعًا. هذا هو الشيء الوحيد الذي لا يستطيع جهاز بلا شاشة القيام به بنفسه.

الإعدادات

تملأ هذه الإعدادات أسطر السكربت الأولى، فتحملها النسخة التي تنسخها. القيم الافتراضية تناسب موجّه MikroTik بأسمائه الافتراضية.

ما الذي يمر عبر النفق
أسماء عناصر موجّهك، إن غيّرتها

تُستخدم في كل وضع عدا الأول. القيمتان الافتراضيتان في MikroTik هما bridge وWAN؛ أحرف وأرقام ونقاط وشرطات وشرطات سفلية.

هل تنتقل من إعداد ForestVPN السابق (حاوية qproxy أو واجهة WireGuard fvpn0)؟ أزِله أولًا بسكربت خاص به: هذا التثبيت يرفض العمل ما دام موجودًا.

التثبيت كاملًا
{
# The settings. The form above this script on fvpn.net/download/mikrotik/ fills them in.
#   fvLAN  what goes through the tunnel: "off" (only the router's own container), "all" (the whole
#          LAN, with a kill switch), "devices" or "services" (the ones you list later), "rules"
#   fvBR   your LAN bridge          fvWAN  the interface list that holds your internet interface
:global fvLAN "off"
:global fvBR "bridge"
:global fvWAN "WAN"
:global fvMODE "private"
# >>> forestvpn settings check >>>
:if (!($fvLAN = "off" || $fvLAN = "all" || $fvLAN = "devices" || $fvLAN = "services" || $fvLAN = "rules")) do={ :error ("ForestVPN: fvLAN is \"" . $fvLAN . "\"; use all, devices, services, rules or off.") }
:if ($fvLAN != "off") do={
:if ($fvMODE != "private") do={ :error "ForestVPN: fvLAN works only in the default private mode, on the router that routes your LAN." }
:if ([:len [/interface/find where name=$fvBR]] != 1) do={ :error ("ForestVPN: there is no interface called " . $fvBR . ". Set fvBR to your LAN bridge (see /interface/bridge/print) and paste again.") }
:if ([:len [/interface/list/member/find where list=$fvWAN]] = 0) do={ :error ("ForestVPN: the interface list " . $fvWAN . " is missing or empty. Set fvWAN to the interface list that holds your internet interface and paste again.") }
}
# <<< forestvpn settings check <<<

# >>> forestvpn previous generation >>>
# The ForestVPN setup before this app (a qproxy container, WireGuard fvpn0, the address list
# under_fvpn, the routing table fvpn and its "ForestVPN Kill Switch" rule) keeps steering the LAN
# into a tunnel that no longer exists. Its own script removes it: packaging/mikrotik/remove-old.rsc,
# fvpn.net/help/mikrotik-remove-old/. Until then this refuses, before it changes anything.
:if ([:len [/container/find where name~"qproxy"]] + [:len [/interface/wireguard/find where name="fvpn0"]] + [:len [/ip/firewall/address-list/find where list="under_fvpn"]] + [:len [/routing/table/find where name="fvpn"]] + [:len [/routing/rule/find where comment~"ForestVPN Kill Switch"]] > 0) do={ :error "ForestVPN: this router still has the previous ForestVPN setup (qproxy, WireGuard fvpn0). Nothing was changed. Remove it first with the script on fvpn.net/help/mikrotik-remove-old/, then paste this again." }
# <<< forestvpn previous generation <<<

:global fvCT "172.31.254.2"
# Pasting this again keeps veth-fvpn and the fvpn-state mount (machine.key, the router's identity) and replaces the container.
/interface/bridge/port/remove [find where interface="veth-fvpn"]
:if ([:len [/interface/veth/find where name="veth-fvpn"]] = 0) do={ /interface/veth/add name=veth-fvpn address=172.31.254.2/30 gateway=172.31.254.1 } else={ /interface/veth/set [find where name="veth-fvpn"] address=172.31.254.2/30 gateway=172.31.254.1 }
:if ([:len [/ip/address/find where interface="veth-fvpn"]] = 0) do={ /ip/address/add address=172.31.254.1/30 interface=veth-fvpn }
:if ([:len [/interface/list/find where name="LAN"]] > 0 && [:len [/interface/list/member/find where list="LAN" and interface="veth-fvpn"]] = 0) do={ /interface/list/member/add list=LAN interface=veth-fvpn }
# >>> forestvpn this install >>>
# A second paste replaces the container this file added before (the one on veth-fvpn), the
# watchdog and the RAM-root boot script, all added again below. The watchdog goes FIRST: it would
# start the old container again while this loop is stopping it. The mount stays: its source holds
# machine.key, and /container/remove deletes the container's root-dir, never a mount source.
/system/scheduler/remove [find where name="forestvpn-watch"]
/system/script/remove [find where name="forestvpn-watch"]
:foreach c in=[/container/find where interface="veth-fvpn"] do={
:do { /container/stop $c } on-error={}
:local n 0
:while ([:len [/container/find where .id=$c]] > 0 && $n < 30) do={
:delay 2s
:do { /container/remove $c } on-error={}
:set n ($n + 1)
}
}
:if ([:len [/container/find where interface="veth-fvpn"]] > 0) do={ :error "ForestVPN: the container from the earlier install did not stop within a minute (still downloading?). Paste this again in a minute." }
/system/scheduler/remove [find where name="forestvpn-repull"]
/system/script/remove [find where name="forestvpn-repull"]
# <<< forestvpn this install <<<
# A `flash` folder (hAP ac² and other 16 MB boards) means only flash/ survives a reboot: the state
# goes there, the log stays in RAM, and the image is pulled again at every boot.
:global fvRAMROOT ([:len [/file/find where name="flash"]] > 0)
:global fvSTATE "/forestvpn"
:global fvCMD "--agent --nat-lan --iface fvpn0 --config /etc/forestvpn/fvpn0.conf --policy-route --fwmark 51820 --table 100 --http-port 80 --report /etc/forestvpn/result.txt"
:if ($fvRAMROOT) do={
    :global fvSTATE
    :global fvCMD
    :set fvSTATE "flash/forestvpn"
    :set fvCMD ($fvCMD . " --log-dir /var/log")
}
:if ([:len [/container/mounts/find where list="fvpn-state"]] = 0) do={
/container/mounts/add list=fvpn-state src=$fvSTATE dst=/etc/forestvpn mode=rw
}
/container/add remote-image=suquant/fvpn:0.9.0 interface=veth-fvpn root-dir=/fvpn \
    mountlists=fvpn-state entrypoint=/mikrotik.sh cmd=$fvCMD \
    privileged=yes logging=yes start-on-boot=yes dns=172.31.254.1 name=fvpn
:if ($fvRAMROOT) do={
    /container/set [find name="fvpn"] start-on-boot=no
    /system/script/add name=forestvpn-repull comment="forestvpn" source={
:local c [/container/find where name="fvpn"]
:if ([:len $c] = 1) do={
    :local n 0
    :while ((![/container/get $c running]) && ($n < 60)) do={
        :set n ($n + 1)
        :log info ("ForestVPN: pulling the image into the RAM root, attempt " . $n)
        :do { /container/repull $c } on-error={}
        :local w 0
        :local s ""
        :while (($w < 60) && ($s = "")) do={
            :set w ($w + 1)
            :delay 5s
            :local st [:pick [/container/print as-value where name="fvpn"] 0]
            :if (($st->"stopped") = true) do={ :set s "stopped" }
            :if (($st->"download/extract failed") = true) do={ :set s "failed" }
        }
        :if ($s = "stopped") do={
            :do { /container/start $c } on-error={}
            :delay 30s
        } else={
            :log warning "ForestVPN: image pull failed, retrying in 60s"
            :delay 60s
        }
    }
    :if (![/container/get $c running]) do={
        :log error "ForestVPN: the container is still not running after 60 pulls; see /container/print"
    }
}
}
    /system/scheduler/add name=forestvpn-repull start-time=startup comment="forestvpn" \
        on-event="/system/script/run forestvpn-repull"
}
/container/start [find name="fvpn"]

# The watchdog, on every board. RouterOS starts a container only at boot (start-on-boot) and never
# again: one that is killed (RouterOS's out-of-memory killer, on a customer's 128 MB board) or whose
# fv exits (mikrotik.sh then exits too) stays stopped until the router is rebooted: 43 hours there.
# Once a minute this starts it if it is not running. Keyed on `running`, the test the
# boot script above uses, not on the `stopped` flag. It leaves a RAM-root board alone while the
# boot script is pulling the image: that script owns the first start, and a start on an empty
# root only fails. To stop the container on purpose, first /system/scheduler/disable forestvpn-watch
# (and enable it again after), or it is started again within the minute.
/system/script/add name=forestvpn-watch comment="forestvpn" source={
:local c [/container/find where name="fvpn"]
:if ([:len $c] = 1) do={
    :if ([:len [/system/script/job/find where script="forestvpn-repull"]] = 0) do={
        :if (![/container/get $c running]) do={
            :log warning "ForestVPN: starting the stopped container"
            :do { /container/start $c } on-error={}
        }
    }
}
}
/system/scheduler/add name=forestvpn-watch interval=1m comment="forestvpn" \
    on-event="/system/script/run forestvpn-watch"

# >>> forestvpn LAN routing set >>>
# The one copy is crates/fv/src/portal/lan.rsc. install.rsc and the download page carry it verbatim
# (tests compare them), and the status page's routing tab prints it after four :global lines.
#   fvLAN  all | devices | services | rules     what is sent through the tunnel ("rules": only
#                                               the table, kill switch and plumbing, for your own
#                                               mark-routing rules with new-routing-mark=via-fvpn)
#   fvBR   the LAN bridge (MikroTik's default is "bridge")
#   fvWAN  the interface list that holds the internet interface (default "WAN")
#   fvCT   the container's address on veth-fvpn (the install's private mode: 172.31.254.2)
# Every object this adds has a comment starting "forestvpn". Pasting it again first removes them
# all, then adds the current set, so a second paste changes nothing.
:global fvLAN
:global fvBR
:global fvWAN
:global fvCT
:if ($fvLAN = "all" || $fvLAN = "devices" || $fvLAN = "services" || $fvLAN = "rules") do={
:global fvLAN
:global fvBR
:global fvWAN
:global fvCT
:if ([:len [/interface/veth/find where name="veth-fvpn"]] != 1) do={ :error "ForestVPN: there is no veth-fvpn on this router. Run the install first, on this router." }
:if ([:len [/interface/bridge/port/find where interface="veth-fvpn"]] > 0) do={ :error "ForestVPN: veth-fvpn is a bridge port (the install's lan mode). This set is for the default private mode, on the router that routes your LAN." }
:if ([:len [/interface/find where name=$fvBR]] != 1) do={ :error ("ForestVPN: there is no interface called " . $fvBR . ". Paste  :global fvBR \"<your LAN bridge>\"  (see /interface/bridge/print), then this again.") }
:if ([:len [/interface/list/member/find where list=$fvWAN]] = 0) do={ :error ("ForestVPN: the interface list " . $fvWAN . " is missing or empty, so the kill switch would drop nothing. Paste  :global fvWAN \"<the list that holds your internet interface>\" , then this again.") }

# Converge: remove whatever an earlier copy added (this set, the status page's older script, or the
# 2026-10 hand-built set on the first customer routers, whose comments also start "forestvpn").
# Nothing the installer adds lives in these menus.
/ip/firewall/mangle/remove [find where comment~"^forestvpn"]
/ip/firewall/filter/remove [find where comment~"^forestvpn"]
/ip/firewall/nat/remove [find where comment~"^forestvpn"]
/ipv6/firewall/filter/remove [find where comment~"^forestvpn"]
/routing/rule/remove [find where comment~"^forestvpn"]
/ip/route/remove [find where routing-table="via-fvpn" and !dynamic]
/ip/firewall/address-list/remove [find where list="forestvpn-direct"]
# A mark-routing rule into a table that no longer exists routes by the main table, out the WAN, and
# with passthrough=no it also hides the traffic from the marks below. The same customer router had
# one from an older routing set, its table removed with the previous ForestVPN setup.
:foreach r in=[/ip/firewall/mangle/find where action=mark-routing] do={
:local m [:tostr [/ip/firewall/mangle/get $r new-routing-mark]]
:if ($m != "main" && [:len [/routing/table/find where name=$m]] = 0) do={
:put ("ForestVPN: removed mangle rule \"" . [:tostr [/ip/firewall/mangle/get $r comment]] . "\": it routes into the table " . $m . ", which does not exist.")
/ip/firewall/mangle/remove $r
}
}

# The table. Marked traffic goes to the container; when the container is gone the blackhole takes
# over, and the rule stops a marked packet from ever falling back to the main table.
:if ([:len [/routing/table/find where name="via-fvpn"]] = 0) do={ /routing/table/add name=via-fvpn fib comment="forestvpn" }
/ip/route/add dst-address=0.0.0.0/0 gateway=$fvCT routing-table=via-fvpn comment="forestvpn: LAN default via the ForestVPN container"
/ip/route/add dst-address=0.0.0.0/0 blackhole routing-table=via-fvpn distance=250 comment="forestvpn kill switch: no tunnel, no internet"
/routing/rule/add routing-mark=via-fvpn action=lookup-only-in-table table=via-fvpn comment="forestvpn kill switch: never fall back to main"

# Private ranges stay off the tunnel, so LAN-to-LAN routing, the modem's own page and the
# container's /30 keep working.
:foreach p in={"10.0.0.0/8";"172.16.0.0/12";"192.168.0.0/16"} do={ /ip/firewall/address-list/add list=forestvpn-direct address=$p comment="forestvpn: private ranges stay off the tunnel" }

# What is marked. Every mark is anchored to the LAN bridge, so the container's own traffic, which
# arrives on veth-fvpn, is never routed back into the container.
:if ($fvLAN = "all") do={
/ip/firewall/mangle/add chain=prerouting in-interface=$fvBR dst-address-type=!local dst-address-list=!forestvpn-direct action=mark-routing new-routing-mark=via-fvpn passthrough=yes comment="forestvpn: whole LAN through the tunnel"
/ip/firewall/filter/add chain=forward in-interface=$fvBR out-interface-list=$fvWAN dst-address-list=!forestvpn-direct action=drop comment="forestvpn kill switch: LAN never reaches the WAN directly"
}
:if ($fvLAN = "devices") do={
/ip/firewall/mangle/add chain=prerouting in-interface=$fvBR src-address-list=fvpn-clients dst-address-type=!local dst-address-list=!forestvpn-direct action=mark-routing new-routing-mark=via-fvpn passthrough=yes comment="forestvpn: named devices through the tunnel"
/ip/firewall/filter/add chain=forward src-address-list=fvpn-clients out-interface-list=$fvWAN dst-address-list=!forestvpn-direct action=drop comment="forestvpn kill switch: named devices never reach the WAN directly"
:if ([:len [/ip/firewall/address-list/find where list="fvpn-clients"]] = 0) do={ :put "ForestVPN: the fvpn-clients list is empty, so nothing is sent yet. Add a device:  /ip/firewall/address-list/add list=fvpn-clients address=<its IP>" }
}
:if ($fvLAN = "services") do={
:if ([:len [/ip/firewall/address-list/find where list="fvpn-dst"]] = 0) do={
# A starting point that drifts. Refresh: core.telegram.org/resources/cidr.txt and Meta's published ranges.
/ip/firewall/address-list/add list=fvpn-dst address=91.108.4.0/22 comment="telegram"
/ip/firewall/address-list/add list=fvpn-dst address=149.154.160.0/20 comment="telegram"
/ip/firewall/address-list/add list=fvpn-dst address=157.240.0.0/16 comment="meta/whatsapp"
/ip/firewall/address-list/add list=fvpn-dst address=31.13.64.0/18 comment="meta/whatsapp"
}
/ip/firewall/mangle/add chain=prerouting in-interface=$fvBR dst-address-list=fvpn-dst action=mark-routing new-routing-mark=via-fvpn passthrough=yes comment="forestvpn: named services through the tunnel"
/ip/firewall/filter/add chain=forward in-interface=$fvBR dst-address-list=fvpn-dst out-interface-list=$fvWAN action=drop comment="forestvpn kill switch: named services never leave over the WAN"
}

# Traffic the container hands back. A container whose tunnel is down forwards to its own default
# gateway, which is this router; that traffic must never continue out the WAN.
/ip/firewall/filter/add chain=forward in-interface=veth-fvpn src-address=("!" . $fvCT) connection-state=new action=drop comment="forestvpn kill switch: LAN traffic the container hands back never goes out the WAN"

# The kill switch goes first in the forward chain. At the end, any accept above it (an older routing
# set's "marked flows skip fasttrack", an "accept LAN" rule) waved leaking traffic past it: a
# customer router, 2026-11-19, sent its LAN out the WAN for hours with these drops at zero. Marked
# traffic leaves by veth-fvpn, so at the top they still drop only what would leak.
:local top [/ip/firewall/filter/find where chain=forward and !dynamic and !(comment~"^forestvpn kill switch")]
:if ([:len $top] > 0) do={ /ip/firewall/filter/move [find where chain=forward and comment~"^forestvpn kill switch"] destination=($top->0) }

# Required, not optional, on images before 0.3.20: the container routes any reply whose destination
# is not on its own /30 back into the tunnel, so the LAN must reach it as this router. 0.3.20 adds a
# rule inside the container for the same job; this one stays for older images.
/ip/firewall/nat/add chain=srcnat out-interface=veth-fvpn action=masquerade comment="forestvpn: LAN reaches the container as the router, so the container can answer it"

# MSS: the tunnel MTU is 1416 (fv --mtu default); 1416 - 80 leaves room for TCP options and an IPv6
# inner header. Both directions: the LAN's SYN and the server's SYN-ACK.
/ip/firewall/mangle/add chain=forward in-interface=$fvBR out-interface=veth-fvpn protocol=tcp tcp-flags=syn tcp-mss=1337-65535 action=change-mss new-mss=1336 passthrough=yes comment="forestvpn: MSS for the tunnel MTU 1416, LAN to tunnel"
/ip/firewall/mangle/add chain=forward in-interface=veth-fvpn out-interface=$fvBR protocol=tcp tcp-flags=syn tcp-mss=1337-65535 action=change-mss new-mss=1336 passthrough=yes comment="forestvpn: MSS for the tunnel MTU 1416, tunnel to LAN"

# FastTrack routes by the main table and skips the firewall, so a fasttracked tunnelled flow would
# leave over the WAN, past the kill switch. Keep LAN<->container flows out of it. The container's
# own tunnel traffic (veth-fvpn to WAN) still fasttracks.
:local ft [/ip/firewall/filter/find where chain=forward and action=fasttrack-connection and !disabled]
:if ([:len $ft] > 0) do={
/ip/firewall/filter/add chain=forward in-interface=$fvBR out-interface=veth-fvpn connection-state=established,related action=accept place-before=($ft->0) comment="forestvpn: tunnelled flows skip fasttrack"
/ip/firewall/filter/add chain=forward in-interface=veth-fvpn out-interface=$fvBR connection-state=established,related action=accept place-before=($ft->0) comment="forestvpn: tunnelled replies skip fasttrack"
}

:if ($fvLAN = "all") do={
# DNS: queries addressed to this router are local, so they are not marked and would resolve over
# the WAN. Hand the LAN public resolvers instead; their queries are then marked like anything else.
:foreach a in=[/ip/address/find where interface=$fvBR and !disabled] do={
:local s [:tostr [/ip/address/get $a address]]
:local ip [:toip [:pick $s 0 [:find $s "/"]]]
:foreach n in=[/ip/dhcp-server/network/find] do={
:if ($ip in [/ip/dhcp-server/network/get $n address]) do={
:local was [:tostr [/ip/dhcp-server/network/get $n dns-server]]
:if ($was != "1.1.1.1,8.8.8.8" and $was != "1.1.1.1;8.8.8.8") do={
/ip/dhcp-server/network/set $n dns-server=1.1.1.1,8.8.8.8
:put ("ForestVPN: DHCP DNS for " . [/ip/dhcp-server/network/get $n address] . " was \"" . $was . "\", now 1.1.1.1,8.8.8.8 (through the tunnel). Devices pick it up when they renew their lease.")
}
}
}
}
# IPv6: the container has no IPv6 address, so the tunnel is IPv4 only. Refuse the LAN's IPv6
# forwarding, with an error rather than silence, so devices fall back to IPv4 at once.
:local v6 [/ipv6/firewall/filter/find]
:if ([:len $v6] > 0) do={
/ipv6/firewall/filter/add chain=forward in-interface=$fvBR out-interface-list=$fvWAN action=reject reject-with=icmp-no-route place-before=($v6->0) comment="forestvpn kill switch: no LAN IPv6 around the IPv4-only tunnel"
} else={
/ipv6/firewall/filter/add chain=forward in-interface=$fvBR out-interface-list=$fvWAN action=reject reject-with=icmp-no-route comment="forestvpn kill switch: no LAN IPv6 around the IPv4-only tunnel"
}
}

# Connections opened before this paste keep their old path (a fasttracked one never comes back to
# these rules). Clear the LAN's, so every flow is decided again.
# ponytail: matches the bridge address's first three octets; a LAN wider than /24 keeps older flows until they end.
:foreach a in=[/ip/address/find where interface=$fvBR and !disabled] do={
:local s [:tostr [/ip/address/get $a address]]
:local d1 [:find $s "."]
:local d2 [:find $s "." ($d1 + 1)]
:local d3 [:find $s "." ($d2 + 1)]
:local re ("^" . [:pick $s 0 $d1] . "\\." . [:pick $s ($d1 + 1) $d2] . "\\." . [:pick $s ($d2 + 1) $d3] . "\\.")
/ip/firewall/connection/remove [find where src-address~$re]
}
:put ("ForestVPN: LAN routing set applied: " . $fvLAN . ", LAN " . $fvBR . ", internet list " . $fvWAN . ".")
}
# <<< forestvpn LAN routing set <<<
/system/script/environment/remove [find where name="fvLAN" or name="fvBR" or name="fvWAN" or name="fvCT"]
}

كل سطر أساسي، وcmd= أهمّها.

بلا --agent يشغّل نقطة الدخول المُشغِّل الخام بدلًا من ذاك المُدار بالحساب، ويبحث عن ملف .conf لم يكتبه أحد، وتخرج الحاوية برسالة fvpn0 never appeared. النقطة الأخرى هي التركيب (mount): الصورة هي scratch، فلا شيء ينجو من إعادة التشغيل سوى ما هو مُركَّب، وفقدان تركيب مفتاح الجهاز يعني أن الراوتر يعود كجهاز جديد تمامًا سقط بصمت عن حسابك.

التشغيل الأول

التشغيل الأول

  1. 01

    اقرأ رمز الاقتران

    يُطبع في /log، ويقدّم المُوجِّه صفحة حالة على http://172.31.254.2/.

  2. 02

    أدخله في التطبيق

    افتح ForestVPN على هاتف سجّلت الدخول فيه وأدخل الرمز. يتم الربط من التطبيق لا من المُوجِّه.

  3. 03

    اختر الخروج

    في صفحة الحالة اضغط على موقع.

ما الذي يعمل على MikroTik

ما الذي يعمل على MikroTik

المُوجِّه كله، نفق واحد
تمرّر الحاوية عبر النفق ما يسلّمه RouterOS إليها. ويقرر RouterOS أي حركة مرور هي.
صورة مثبَّتة
يستخدم التثبيت وسم صورة ثابتًا، وليس :latest أبدًا، حتى لا يغيّر مُوجِّه لست بقربه ما يشغّله دون أن تدري.
اللوحات ذات مجلد flash
تحتفظ لوحات مثل hAP ac² بمجلد flash فقط بعد إعادة التشغيل. وكتلة التثبيت تتولى ذلك.

غير متوفر بعد على MikroTik: اختيار المواقع أو الخدمات حسب الوجهة من داخل ForestVPN. يتخذ RouterOS قرار التوجيه.

الجديد على MikroTik

الجديد على MikroTik

0.8.0

  • If ForestVPN stops, for example when the router runs short of memory, it now starts again within a minute instead of staying off until the router restarts.
  • To stop ForestVPN on purpose, run /system/scheduler/disable forestvpn-watch first, or it starts again within a minute.
  • To update an existing router, paste the install command from the download page again. The router keeps its device and its account.

0.7.0

  • A router that stayed on "Connecting" after a plan limit was lifted now reconnects by itself.
  • Reconnect always starts a new connection.
  • Faster, steadier connections on restricted networks, and Smart keeps a place that works.
  • To update an existing router, follow "Update the ForestVPN container on MikroTik".

0.6.1

  • Fewer needless route changes when the router itself refuses outgoing traffic.
  • To update an existing router, follow "Update the ForestVPN container on MikroTik".
  • Tested for an hour on an arm64 MikroTik router before release, with no reconnects.

كل ملاحظات الإصدارات

التحديثات

التحديثات

الانتقال إلى صورة أحدث خطوة مقصودة، لأن الوسم مثبَّت.

اقرأ سجل التغييرات

تحقق من تنزيلك

تحقق من تنزيلك

الصورة هي suquant/fvpn:0.9.0. الوسم مثبَّت ومنشور على Docker Hub؛ وتستخدم كتلة التثبيت هذا الوسم تحديدًا.

إزالة التثبيت

إزالة التثبيت

أوقف الحاوية وأزلها بالأمرين /container/stop و/container/remove، ثم احذف veth وعنوانها، وكذلك قواعد سكربت التوجيه (تبدأ تعليقاتها بـ forestvpn). يبقى الجهاز في حسابك إلى أن تزيله في التطبيق.

أسئلة شائعة

أي مُوجِّهات MikroTik تعمل؟

أي مُوجِّه يشغّل RouterOS 7.21 أو أحدث مع حزمة container. تُبنى الصورة لـarm وarm64 وx86، وقد جرى التحقق منها على عتاد arm64 حقيقي.

هل أحتاج إلى قرص؟

لا، للتثبيت البسيط بالحاوية المعروض هنا. اللوحات ذات مجلد flash تحتفظ بذلك المجلد فقط بعد إعادة التشغيل، والكتلة تتولى ذلك.

هل من الآمن استخدام :latest؟

لا. يثبّت التثبيت وسم صورة حتى لا يغيّر مُوجِّه لست بقربه ما يشغّله دون أن تدري.

اسألنا أي شيء