Category: Uncategorized

  • Restart VPN Connection on Mikrotik

    At times due to load balancing,a vpn connection stops working and crm systems,radius servers or remote access may stop working.Here is a script to disable vpn and re enable

    Navigate to scheduler,

    Click add new scheduler.

    Paste the following code on Event

    Set time to run every 1 minute

    Expected on mikrotik

  • KVM Acceleration cannot be Used.

    KVM acceleration cannot be used (/dev/kvm doesn’t exist). It is possible to turn off KVM support in the gns3_server.conf by adding enable_kvm = false to the [Qemu] section.

    This error occurs while i was using mikrotik on GNS3 for the first time.

    How i solved it

    Add the following snippet at the end of the file

    Restart the mikrotik on gns3

  • The ‘gns3-gui==2.2.23’ distribution was not found

    I experienced this error in Ubuntu Hirsute Hippo (21.04)The complete error when i run gns3 on terminal

    File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 777, in resolveraise DistributionNotFound(req, requirers)pkg_resources.DistributionNotFound: The ‘gns3-gui==2.2.23’ distribution was not found and is required by the application

    To resolve this error

    Update your Ubuntu

    Re-Install GNS 3

    
    
    
    
    
  • SyntaxError: Illegal continue statement: no surrounding iteration statement

    OCCURS WHEN

    SOLUTION

  • error: failed to push some refs to ‘github.com:….

    This error means no changes in the local repository,therefore

  • mkdir:Cannot create directory ‘/.NVM’:Permission denied

    How to solve it

  • Customize OPENVPN profile for Mikrotik client

    Mikrotik support for vpn is quite versatile with several VPN clients/server setups to chose from,among them OPENVPN.

    Facts to grasp before deployment of the openvpn:

    Lacks support for

    • udp
    • lzo compression
    • tls
    • sha512

    While deploying the ovpn file,make sure tls is disabled and the tls certificate absent.

    Sample ovpn client for mikrotik

    client
    dev tun
    proto tcp
    remote PUBLIC IP PORT
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    auth SHA1
    cipher AES-256-CBC
    ignore-unknown-option block-outside-dns
    verb 3
    —–BEGIN CERTIFICATE—– CA —–END CERTIFICATE—–


    —–BEGIN CERTIFICATE—– cert—–END CERTIFICATE—–


    —–BEGIN PRIVATE KEY—– Key—–END PRIVATE KEY—–

en_USEnglish