Comparison TUN/TAP - what is optimal mode?

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
c.monty
OpenVpn Newbie
Posts: 8
Joined: Thu Jun 21, 2012 12:48 pm

Comparison TUN/TAP - what is optimal mode?

Post by c.monty » Fri Nov 15, 2013 2:55 pm

Hello!

My network architecture looks like this:
WAN <---> Router A <---> Router B <----> LAN

OpenVPN Server is running on Router B, and consequently I have configured port forwarding on Router A.
In my LAN, there are several systems running that I want to control from the WAN.
Furthermore I want to manage a service running in an internal network of Router A.
Any client of the LAN can access this internal network of Router A.

Question:
I want to setup a remote connection to the OpenVPN server from multiple clients (= mobile devices).
What is the optimal mode?
Bridging (TAP-Device) or Routing (TUN-Device)?

THX

c.monty
OpenVpn Newbie
Posts: 8
Joined: Thu Jun 21, 2012 12:48 pm

Re: Comparison TUN/TAP - what is optimal mode?

Post by c.monty » Sat Nov 16, 2013 11:24 am

Well, I knew this advantages/disadvantages... however, my questions was addressing the pros and cons for the specific scenario, means multiple vpn-clients should connect to the private network (LAN) and access any service running in the LAN.

What mode should be prefered?

At this stage it's performance and availability is not relevant (I know solutions for Android using both, TUN and TAN).

Post Reply