Bridge OpenVPN to LAN Port


#1

Hello,

I have a MT300N-V2 and what I’m looking to do is configure it so that it automatically connects to my OpenVPN server which is configured in bridge mode, and I want it to bridge the VPN interface with the LAN port. So that anything plugged in to the LAN port gets an IP from my network on the other side of the OpenVPN server bridge interface.

I can do this already on PC using two ethernet ports and bridging one of them with the OpenVPN TAP adapter. Just trying to do it on a more compact level now.

Is this possible using the MT300N-V2?

Thanks!


#2

You can try to do those.

uci set network.lan.ifname="eth0.1 VPN_client"
uci commit network
/etc/init.d/network restart

#3

Where or how do you input that?


#4

You should ssh to the router do that. I had replied you in another thread. OpenVPN bridging