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

L2 Bridge Openvpn ubuntu

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 423 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.
  • M
    Muqsit
    last edited by Jul 7, 2019, 9:59 AM

    Dear All i am facing an issue on client side i am unable to up the openvpn on client side and the error is write UDP: Network is unreachable (code=101)] kindly helpme out regaring this issue the complete logs are mention below:

    root@ubuntu:~# sudo systemctl status openvpn@server.service
    ● openvpn@server.service - OpenVPN connection to server
    Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
    Active: active (running) since Sat 2019-07-06 18:13:49 PKT; 31min ago
    Docs: man:openvpn(8)
    https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
    https://community.openvpn.net/openvpn/wiki/HOWTO
    Main PID: 1482 (openvpn)
    Status: "Pre-connection initialization successful"
    Tasks: 1 (limit: 2269)
    CGroup: /system.slice/system-openvpn.slice/openvpn@server.service
    └─1482 /usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/server.conf

    Jul 06 18:39:19 ubuntu ovpn-server[1482]: SIGUSR1[soft,network-unreachable] received, process restarting
    Jul 06 18:39:19 ubuntu ovpn-server[1482]: Restart pause, 300 second(s)
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: TCP/UDP: Preserving recently used remote address: [AF_INET]192.168.5.1:1195
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: Socket Buffers: R=[212992->212992] S=[212992->212992]
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: UDP link local: (not bound)
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: UDP link remote: [AF_INET]192.168.5.1:1195
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: write UDP: Network is unreachable (code=101)
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: Network unreachable, restarting
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: SIGUSR1[soft,network-unreachable] received, process restarting
    Jul 06 18:44:19 ubuntu ovpn-server[1482]: Restart pause, 300 second(s)

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by kiokoman Jul 7, 2019, 12:09 PM Jul 7, 2019, 12:04 PM

      the default port for openvpn is 1194 are you sure that 1195 is correct ? did you check if the port is open and reachable ? does this have anythig to do with pfsense?
      Network unreachable
      the error is pretty explanatory
      if you think there is a problem with pfsense check the firewall logs

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received