# How to have a custom interface populate in VPN 'client sources'

**URL:** <https://forum.gl-inet.com/t/how-to-have-a-custom-interface-populate-in-vpn-client-sources/69811>\
**Category:** VPN, DNS, Leaks\
**Created:** [July 9, 2026, 1:08am UTC](https://forum.gl-inet.com/t/how-to-have-a-custom-interface-populate-in-vpn-client-sources/69811 "2026-07-09T01:08:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![charles2](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/9dc877/32.png) [@charles2](https://forum.gl-inet.com/u/charles2)\
**Post date:** [July 10, 2026, 7:06am UTC](https://forum.gl-inet.com/t/how-to-have-a-custom-interface-populate-in-vpn-client-sources/69811/4 "2026-07-10T07:06:33Z")

</div>

Hi,

To make a custom interface appear under VPN Dashboard -\> Specified Connection Types, the custom interface needs to be assigned to its own firewall zone.  
After that, it can be selected as a VPN source.

Here is an example setup: separate LAN2 into its own network, make it visible in VPN Dashboard, and route only LAN2 through a specific VPN tunnel.  
Please try the following steps.

1. Go to LuCI -\> Network -\> Interfaces -\> Devices. Edit br-lan and remove lan2 from the bridge.  
 ![image](https://forum-static.gl-inet.com/original/3X/4/0/4087f1b44508aff96fd8d6a579df3d7a52bc2f95.png)
2. Create a new bridge device for LAN2. Go to:Network -\> Interfaces -\> Devices -\> Add device configuration.  
Set:

```auto
Device type: Bridge device
Device name: br-custom-net
Bridge ports: lan2

```

 ![image](https://forum-static.gl-inet.com/original/3X/5/1/51bddfedb299dee39cc7d77c5b395b10144747be.png)

1. Create a new interface. Go to:Network -\> Interfaces -\> Add new interface  
Set:

```auto
Name: custom_net
Protocol: Static address
Device: br-custom-net
IPv4 address: 192.168.20.1
IPv4 netmask: 255.255.255.0

```

 ![image](https://forum-static.gl-inet.com/original/3X/f/b/fb05b8373b47f8d2beaefae0eaab971d58c55422.png)  
Enable DHCP on custom\_net.  
 ![image](https://forum-static.gl-inet.com/original/3X/0/b/0bc36e33a4c5023b41f8fb2ba3c0d73991f1fdd9.png)

1. Create a firewall zone. Go to: Network -\> Firewall -\>Add.  
Set the custom\_net zone as below:

```auto
Input: accept
Output: accept
Forward: reject
Covered networks: custom_net
Allow forwarding to the VPN client zone, for example:custom_net -> wgclient

```

 ![image](https://forum-static.gl-inet.com/original/3X/6/6/66815d6374727106c9da8e15bfc72a55c0399207.png)  
Before configuring the firewall forwarding to the VPN zone, please enable the VPN tunnel once, after the VPN tunnel is enabled, the corresponding VPN firewall zone should appear in LuCI.  
Please choose the VPN zone that matches the VPN tunnel you want to use.

1. Save and apply all LuCI changes.
2. Add the custom interface to GL.iNet route policy.  
SSH into the router and run:

```auto
uci delete route_policy.global.append_source_if
uci add_list route_policy.global.append_source_if='iot'
uci add_list route_policy.global.append_source_if='custom_net'
uci commit
/etc/init.d/vpn-client restart

```

Please replace custom\_net with your own interface name if you use a different name.  
The interface name should be lowercase and should match the name shown in LuCI -\> Network -\> Interfaces.  
If you have multiple custom interfaces, add each one.  
`uci add_list route_policy.global.append_source_if='name'`

1. Back to VPN \> VPN Dashboard. Edit the VPN tunnel.  
 ![image](https://forum-static.gl-inet.com/original/3X/b/4/b4af1be376bfe261fed293b34f2150448cc37baf.png)

After this, only clients connected to LAN2 should use this VPN tunnel.  
Note: Clients on LAN2 will only be able to access the Internet when the VPN tunnel is connected.  
If you want LAN2 to fall back to normal WAN when the VPN is disconnected, you can also add: custom\_net -\> wan.

 ![image](https://forum-static.gl-inet.com/original/3X/9/b/9bb85ebfdc28e3ea2b3dcf61bec8c931715fa2cf.png)

---

_[View the full topic](https://forum.gl-inet.com/t/how-to-have-a-custom-interface-populate-in-vpn-client-sources/69811)._
