You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently running Sing-box on OpenWRT in a VM. OpenWRT is acting as a DHCP server, and VPN service. I’ve noticed that with TUN Inbound, the IP displayed is always the same (e.g., "10.10.0.1"). Is there a way to have Sing-box display the local IP (e.g., "192.168.2.12") of the client instead of a static one?
as you can see from screenshot above , the Source IP is always "10.10.0.1"
this is the inbound config :
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"interface_name": "sing-tun",
"mtu": 1492,
"address": ["10.10.0.1/28", "fdfe:dcba:9876::1/126"],
"auto_route": true,
"strict_route": true,
"route_address": [
"192.168.1.0/28",
"0.0.0.0/1",
"128.0.0.0/1",
"::/1",
"8000::/1"
],
"route_exclude_address": [
"192.168.0.0/16", // Excluding the main local network
"fc00::/7", // Excluding local IPv6 addresses
"192.168.2.0/24" // Excluding the 192.168.2.x range to bypass VPN
],
"endpoint_independent_nat": true,
"stack": "mixed",
"sniff": true,
"domain_strategy": "prefer_ipv4"
}
]
Thanks for your help!
The text was updated successfully, but these errors were encountered:
Hi there,
I'm currently running Sing-box on OpenWRT in a VM. OpenWRT is acting as a DHCP server, and VPN service. I’ve noticed that with TUN Inbound, the IP displayed is always the same (e.g., "10.10.0.1"). Is there a way to have Sing-box display the local IP (e.g., "192.168.2.12") of the client instead of a static one?
as you can see from screenshot above , the Source IP is always "10.10.0.1"
this is the inbound config :
Thanks for your help!
The text was updated successfully, but these errors were encountered: