Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    ExpressVPN connection Options Error: Option "dhcp-option" "route" "redirect gateway"

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 3 Posters 5.4k Views 3 Watching
    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.
    • 4
      4o4rh
      last edited by 4o4rh

      With the "Don't pull routes" option checked and the following custom options

      tun-mtu 1500;
      fragment 1300;
      mssfix 1200;
      remote-random;
      verify-x509-name Server name-prefix;
      remote-cert-tls server;
      key-direction 1;
      route-method exe;
      route-delay 2;
      auth-nocache;
      

      I am getting the following errors

      Sep 20 13:43:34 	openvpn 	83998 	Options error: option 'route' cannot be used in this context ([PUSH-OPTIONS])
      Sep 20 13:43:34 	openvpn 	83998 	Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
      Sep 20 13:43:34 	openvpn 	83998 	Options error: option 'redirect-gateway' cannot be used in this context ([PUSH-OPTIONS])
      Sep 20 13:43:34 	openvpn 	83998 	PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.156.0.1,comp-lzo no,route 10.x.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.x.1.6 10.x.1.5,peer-id 60'
      

      if i add "pull" to the options no differences are noticed.

      I can add the below to remove the those errors, but have problems with the vpn then
      pull-filter ignore "dhcp-option";
      pull-filter ignore "redirect-gateway";

      but if i add the below, it of course kills the routing completely.
      pull-filter ignore "route";

      1 Reply Last reply
      Reply Quote 0
      • ?
        A Former User
        last edited by

        Will it connect with all the custom options removed?

        If so add them one at a time, several of those are not needed at all..

        4 1 Reply Last reply
        Reply Quote 0
        • 4
          4o4rh @Guest
          last edited by

          @bcruze it connects, with or without the filter.

          The question is whether it routes.
          i think the only one i can get away with is the dhcp-option.
          using the filter on either the redirect-gateway or route stops connectivity over the vpn.

          1 Reply Last reply
          Reply Quote 0
          • ?
            A Former User
            last edited by

            https://www.expressvpn.com/what-is-my-ip

            Does that show you connected?

            4 1 Reply Last reply
            Reply Quote 0
            • 4
              4o4rh @Guest
              last edited by

              @bcruze shows me the access point of my vpn connection.

              1 Reply Last reply
              Reply Quote 0
              • L
                limis
                last edited by limis

                This post is deleted!
                1 Reply Last reply
                Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy