Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Programmatically add an application to Windows Firewall ?
Forum Updated to NodeBB v4.3 + New Features

Programmatically add an application to Windows Firewall ?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.7k Views 2 Watching
  • 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.
  • H Offline
    H Offline
    Hanoosh
    wrote on last edited by Hanoosh
    #1

    Hi,

    I'm coding an FTP server , everything works as expected, but the main issue is if the firewall is on, the server cant be reached because it is blocking the oncoming connection to the specified port.

    so how to Programmatically add the FTP server to Windows Firewall ?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You could go hardcore and use the com-interface
      https://msdn.microsoft.com/en-us/library/aa364726(VS.85).aspx
      or use the NSIS Simple Firewall Plugin
      and create an installer that can add the rules and install your ftp server.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved