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

    OpenVPN error with 0.0.0.0/0 Remote network

    OpenVPN
    1
    2
    6.7k
    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.
    • S
      sbyoon
      last edited by

      I'm testing site to site OpenVPN tunneling with RC2i. And everything works well.

      But there is an error when I try to send all traffic from client site to server site with 0.0.0.0/0 remote network at client setting. Below is the OpenVPN logo message. I think pfsense has a problem in adding route of 0.0.0.0/0 with tun0.

      Sep 9 14:35:45 openvpn[11907]: Initialization Sequence Completed
      Sep 9 14:35:45 openvpn[11907]: Peer Connection Initiated with 61.250.xxx.xxx:1194
      Sep 9 14:35:42 openvpn[11907]: UDPv4 link remote: 61.250.xxx.xxx:1194
      Sep 9 14:35:42 openvpn[11907]: UDPv4 link local (bound): [undef]:1194
      Sep 9 14:35:42 openvpn[11902]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1
      Sep 9 14:35:42 openvpn[11902]: /sbin/ifconfig tun0 255.255.255.2 255.255.255.1 mtu 1500 netmask 255.255.255.255 up
      Sep 9 14:35:42 openvpn[11902]: TUN/TAP device /dev/tun0 opened
      Sep 9 14:35:42 openvpn[11902]: gw 210.106.xxx.xxx

      Is there any way I can solove this problem?

      Thank you in advance.

      1 Reply Last reply Reply Quote 0
      • S
        sbyoon
        last edited by

        I solved this problme with custom option of push "redirect-gateway".

        Thank you.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.