TUN and TAP : Same time ?

This forum is for admins who are looking to build or expand their OpenVPN setup.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
galemberti
OpenVpn Newbie
Posts: 2
Joined: Thu May 19, 2011 7:54 am

TUN and TAP : Same time ?

Post by galemberti » Thu May 19, 2011 8:28 am

Hi,

I have a question, can i use on the same serveur Openvpn routing and bridging ?
I want a client profile routing and another client profile bridging at the same time.

That is possible on the same physical server ?

Tks for your help

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: TUN and TAP : Same time ?

Post by janjust » Thu May 19, 2011 8:35 am

on the same physical server : yes
using the same openvpn instance : no

you'd simply run two instances of openvpn , on different ports (e.g. udp port 1194 and udp port 1195). One instance tap, one instance tun.

Getting routing to work in this setup (esp between the 2 instances) is a bit trickier.

galemberti
OpenVpn Newbie
Posts: 2
Joined: Thu May 19, 2011 7:54 am

Re: TUN and TAP : Same time ?

Post by galemberti » Thu May 19, 2011 8:55 am

Thank you for your (quick) response

Post Reply