Skip to content

TUN Mode

Loren Eteval edited this page May 19, 2025 · 13 revisions

Supported platform

  • Windows
  • macOS

How to use

To use TUN mode:

  • On Windows:
    • Download wintun.dll from here and put it in C:\Windows\System32\.
    • Launch application with Adminstrator privilege. Enable TUN Mode in settings.
  • On macOS: No other dependency required. Launch application via sudo Furious-GUI. Enable TUN Mode in settings.

Choose Routing Option

Note

Under TUN mode, current routing option should not contain direct rules, otherwise a connection loop would occur:

traffic -> TUN -> Core -> direct rules -> TUN -> Core -> direct rules -> ...

You can use:

  • Built-in Global routing option, meaning it does not have direct rules and will proxy all traffic.

Verify

To verify that TUN mode is working properly, try initiating direct connection from your apps or games.

Here are some basic examples using curl:

Example A

curl icanhazip.com

Verify that you get your server IP as response.

Customize TUN Settings

Prior to version 0.5.0, the TUN settings needed to properly configure the system were automatically set by the application in a hard-coded manner. Now, I have designed them to be configurable through a GUI window to provide more flexibility.

Note

In most cases the automatic settings will work just fine

However, there are some situations that the automatic settings cannot handle. I will list some of them below:

Multiple network cards installed

You have more than one network card installed on your computer and the application cannot determine which one should be used as the primary interface. In this case, you need to provide the correct settings manually.

Automatic settings failed

The automatic settings will fail on some older operating systems, such as Windows 7. By manually providing the TUN settings, I was able to run TUN mode successfully during win7 testing.

Example custom settings

image

Clone this wiki locally