OpenVPN TAP bridge rebridge-I have a manual solution but how to do it automatic



  • Hallo all

    first post, Hallo All,  thanks for PFsense great work

    Now fun  :o
    After building Tap OpenVPN tunel with bridged interfaces betwen 2 sites with pfsense 2.1.1
    That looks like :

    <  pfsense siteA >                internet                <  pfsense siteB  >
    siteA < (lan<>ovpntap)> <–----Openvpn tunel ------><(opvpntap<>lan)>siteB
              < Bridge siteA    >                                              <bridge site="" b =""  ="">my problem is timing

    for example...
    if i reboot siteA pfsense instance , after restart bridged interfaces are not bridged, at least it looks so, but in settings every thing looks ok.
    Then i need to go to in GUI Interfaces >(Assign)>Bridges>select  my bridge and click edit icon and then save button without changing any value)

    Imo this is because bridges are made before tunel is build
    spending xxx hours of frustration WTFun :o :o :o but it works :)

    Now questin How to make it automaticaly, what comands are done when save button is pressed when editing bridge so i can schedule it with cron or shellcmd package

    Marcin


    edit:

    i can confirm timing issue

    ifconfig after reboot shows that on bridge0 is only one member

    and manualy adding ovpnc1 interface and turning it on helps

    commands used to manualy fix after reboot:


    ifconfig bridge0 addm ovpnc1
    ifconfig ovpnc1 up

    please correct me if i'm thinking wrong</bridge>



  • This exact same thing happens to me since 2.1.1 upgrade (from 2.1-release)

    Have you already filled a bug report?



  • @iMok:

    This exact same thing happens to me since 2.1.1 upgrade (from 2.1-release)

    Have you already filled a bug report?

    Sorry didn't had time to do so and i need fast solution so like i said i will use shellcmd to just add ovpn to bridge
    But You alvays free to do so…

    Edit

    I just report it as an issue... Bug #3595

    https://redmine.pfsense.org/issues/3595



  • Just wanted to add that I have the exact same problem both upgrading from 2.1 and also with a fresh 2.1.1 install. I have had a lot of trouble with 2.1.1 and this is one of them, so I was forced to revert back to 2.1 again.


Log in to reply