• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Bridging Issues custom option server–bridge not over riding server

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 2.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    torrentsaint
    last edited by Dec 22, 2009, 7:31 PM Dec 22, 2009, 7:03 PM

    I am having a problem setting up Bridging on my pfsense box at home.  I setup a site-to-site VPN from work to home and all is well.  I can ping from my work_computer to my home_computer.

    work_computer 192.168.255.x – work_pfsense(vpn_client) -- work_network -- internet -- home_pfsense(vpn_server) -- home_computer 192.168.1.x

    I want work_computers internet traffic to exit from home_pfsense box.

    I followed directions from http://doc.pfsense.org/index.php/OpenVPN_Bridging.

    Under custom options for the vpn server I added "dev tap0;server-bridge 192.168.1.0 255.255.255.0 192.168.1.192 192.168.1.224"

    I am getting the error

    openvpn[473]: Options error: –server and --server-bridge cannot be used together

    ?Why is my custom option not overriding?

    Here is my VPN server config file

    writepid /var/run/openvpn_server0.pid
    #user nobody
    #group nobody
    daemon
    keepalive 10 60
    ping-timer-rem
    persist-tun
    persist-key
    dev tun
    proto tcp-server
    cipher BF-CBC
    up /etc/rc.filter_configure
    down /etc/rc.filter_configure
    server 192.168.1.192 255.255.255.224
    client-config-dir /var/etc/openvpn_csc
    lport 21
    tls-auth /var/etc/openvpn_server0.tls 0
    ca /var/etc/openvpn_server0.ca
    cert /var/etc/openvpn_server0.cert
    key /var/etc/openvpn_server0.key
    dh /var/etc/openvpn_server0.dh
    comp-lzo
    dev tap0
    server-bridge 192.168.1.0 255.255.255.0 192.168.1.192 192.168.1.224

    If I modify the file to comment out both dev tun and server lines pfsense removes my comments.  It does not complain that I both dev tun and dev tap0.

    Can someone post a working config for the server side of a VPN with bridging working?

    Thanks,
    Steve

    1 Reply Last reply Reply Quote 0
    • C
      celox
      last edited by Feb 21, 2010, 8:19 PM

      i've got exactly the same problem! "Options error: –server and --server-bridge cannot be used together"
      could anyone shed some light on this?
      i triple checked every setting and my custom option will not override the settings :(

      my custom settings

      dev tap0;server-bridge 192.168.2.254 255.255.255.0 192.168.2.218 192.168.2.250;tls-auth /etc/openvpn1196.key 0;management 127.0.0.1 1196;
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received