alireza0 / s-ui

An advanced Web Panel • Built for SagerNet/Sing-Box
https://t.me/XrayUI
GNU General Public License v3.0
2.68k stars 417 forks source link

Inbound - Tun #207

Open anvar68 opened 3 months ago

anvar68 commented 3 months ago

Hello! Are you planning to add Inbound Tun mode?

alireza0 commented 3 months ago

Hello, I can't find any benefit to have tun in server. But it is already deployed in json sub for clients.

anvar68 commented 3 months ago

TUN mode is necessary to create an interface on a router, for example Mikrotik, to create a route for redirecting traffic to a proxy.

alireza0 commented 3 months ago

Good reason! But it needs to run two containers with shared storage! How you can manage it inside Mikrotik ?

anvar68 commented 3 months ago

What could be the problem? Nowadays you have to edit sonfig.json manually, which sometimes leads to errors. I would like to have the ability to make settings through the UI. Now I'm using the sing-box container according to these instructions with FakeIp. https://buzheteng.org/archives/4.html I am also attaching the conig file. config.json

alireza0 commented 3 months ago

It is tagged to de deployed soon.

anvar68 commented 3 months ago

Thank you very much!