Navigation

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

    OpenVPN and vpntunnel.se

    OpenVPN
    2
    3
    1843
    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.
    • N
      norgil last edited by

      Hello!

      I've configured pfsense for vpntunnel.se using this tutorial: http://forum.pfsense.org/index.php?topic=28969.0

      Everything worked perfect for several months, till yesterday.
      OpenVPN tunnel establishes but no traffic goes through it.

      I suppose that this is the reason:

      Oct 29 20:10:53  openvpn[10869]: [server] Peer Connection Initiated with [AF_INET]178.73.212.231:10010
      Oct 29 20:10:53 openvpn[10869]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
      Oct 29 20:10:53 openvpn[10869]: PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 80.67.0.2,dhcp-option DNS 91.213.246.2,redirect-gateway def1,route-gateway 5.254.129.65,topology subnet,ping 10,ping-restart 120,ifconfig 5.254.129.123 255.255.255.192'
      Oct 29 20:10:53 openvpn[10869]: OPTIONS IMPORT: timers and/or timeouts modified
      Oct 29 20:10:53 openvpn[10869]: OPTIONS IMPORT: –ifconfig/up options modified
      Oct 29 20:10:53 openvpn[10869]: OPTIONS IMPORT: route options modified
      Oct 29 20:10:53 openvpn[10869]: OPTIONS IMPORT: route-related options modified
      Oct 29 20:10:53 openvpn[10869]: OPTIONS IMPORT: –ip-win32 and/or --dhcp-option options modified
      Oct 29 20:10:53 openvpn[10869]: ROUTE default_gateway=192.168.116.116
      Oct 29 20:10:53 openvpn[10869]: TUN/TAP device /dev/tap1 opened
      Oct 29 20:10:53 openvpn[10869]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
      Oct 29 20:10:53 openvpn[10869]: /sbin/ifconfig ovpnc1 5.254.129.123 netmask 255.255.255.192 mtu 1500 up
      Oct 29 20:10:53 openvpn[10869]: /sbin/route add -net 5.254.129.64 5.254.129.123 255.255.255.192
      Oct 29 20:10:53 openvpn[10869]: ERROR: FreeBSD route add command failed: external program exited with error status: 1
      Oct 29 20:10:53 openvpn[10869]: /usr/local/sbin/ovpn-linkup ovpnc1 1500 1574 5.254.129.123 255.255.255.192 init
      Oct 29 20:10:53 openvpn[10869]: /sbin/route add -net 178.73.212.231 192.168.116.116 255.255.255.255
      Oct 29 20:10:53 openvpn[10869]: /sbin/route add -net 0.0.0.0 5.254.129.65 128.0.0.0
      Oct 29 20:10:53 openvpn[10869]: /sbin/route add -net 128.0.0.0 5.254.129.65 128.0.0.0
      Oct 29 20:10:53 openvpn[10869]: Initialization Sequence Completed

      command route add -net 5.254.129.64 5.254.129.123 255.255.255.192 echoes that this route already exists.

      Please help to find out solution.

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        stop the openvpn process, manually remove the route, and then start it again, see if that helps. (Or reboot…)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • N
          norgil last edited by

          When I stop OpenVPN service this root disappears.

          I've tried to reboot it. Also I've tried to re-configure clean installation using i386 and amd64 2.0.1 releases.
          Similar logs received.
          I suppose that something has been changed on provider's side and I don't know what to change on my side to make it work.  :-\

          1 Reply Last reply Reply Quote 0
          • First post
            Last post