OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • [Bridge Mode] OpenVPN, DNS ?
« previous next »
  • Print
Pages: [1]

Author Topic: [Bridge Mode] OpenVPN, DNS ?  (Read 4310 times)

zyon

  • Newbie
  • *
  • Posts: 29
  • Karma: 3
    • View Profile
[Bridge Mode] OpenVPN, DNS ?
« on: February 15, 2019, 07:10:56 pm »
Hi all,

I have search but found nothing about bridge mode and OpenVPN...
Try all i have could be found but nothing help me, because always says open on AT but on bridge i have disabled my NAT.

OpenVPN work well (internet and connect to OPNsense) with my users.
Same question from a lot of poeple is my LAN(OPT1) access, sorry again to ask ...

All in "pass" but nothing.

Try a lot of time and used this : https://docs.opnsense.org/manual/how-tos/sslvpn_client.html

https://ibb.co/PZq7gZt

Same Tunnel Network 10.10.0.0/24 , my OPT1 Network 10.0.0.0/24

Add ACL to DNS, Push route to OpenVPN but nothing :s ...

If someone can help me ...
Thanks

(Sorry for my English)
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: [Bridge Mode] OpenVPN, DNS ?
« Reply #1 on: February 15, 2019, 09:08:19 pm »
You need to have OpenVPN in 'dev tap' mode to bridge with ethernet since a bridge is a layer 2 device.

Bart...
Logged

zyon

  • Newbie
  • *
  • Posts: 29
  • Karma: 3
    • View Profile
Re: [Bridge Mode] OpenVPN, DNS ?
« Reply #2 on: February 15, 2019, 10:28:35 pm »
Thanks Bart ... not think to try that ....  :-X

Sorry ^^

(Sorry for My English)
Logged

zyon

  • Newbie
  • *
  • Posts: 29
  • Karma: 3
    • View Profile
Re: [Bridge Mode] OpenVPN, DNS ?
« Reply #3 on: February 15, 2019, 11:16:39 pm »
On Mobile connection get : TAP_NOT_SUPPORTED OSI layer 2 tunnels are not currently supported :s
And same on PC no lan :s... i don't understand
« Last Edit: February 15, 2019, 11:41:34 pm by zyon »
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: [Bridge Mode] OpenVPN, DNS ?
« Reply #4 on: February 16, 2019, 09:39:23 am »
I'm afraid that is a known shortcoming of mobile platforms. It is fairly easy to run a TAP client on (x86) Linux though.

Which protocol do you require that needs a layer 2 connection? It is more efficient to run OpenVPN with 'dev tun' and it causes fewer issues, as you have found out.

Bart...
Logged

zyon

  • Newbie
  • *
  • Posts: 29
  • Karma: 3
    • View Profile
Re: [Bridge Mode] OpenVPN, DNS ?
« Reply #5 on: February 16, 2019, 03:50:41 pm »
i don't know..
But TAP or TUN, no lan acces on bridge mode ...

I give up, I do not understand why.
I followed the documentations, try several times and same result everything is ok except access to the lan

Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • [Bridge Mode] OpenVPN, DNS ?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2