OpenWrt Forum Archive

Topic: TL-WR902AC openvpn client - what to do after setup

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Until now, my TL-WR902AC was setup to act as AP+client.

Now I want to add an openvpn-client, so the AP-connection connects via openvpn to my internet-openvpn-server and the client connection is therefore tunneled to the vpn-server.

I just installed and configured openvpn on my TL-WR902AC and successfully tested "traceroute 10.8.0.1" locally.

dev tun
client
proto udp
remote <my-openvpn-server> 22
resolv-retry infinite
nobind
persist-key
persist-tun

but what to do next, so the client is using this tun0 interface, once openvpn client connected?
Do I have to bridge the interfaces?

thanks
michael

xwitty wrote:

Do I have to bridge the interfaces?

No. You have a layer 3 connection which can't be bridged using a layer 2 bridge. You'll need to setup a NAT.

Thanks - sounds pretty clear!

Is there a tutorial or document available out there?
Because every time I search, I get info for OpenVPN server - but I need the setup on OpenVPN client side ...

Would be really great, as I'm totally lost!

Thanks

The discussion might have continued from here.