CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Posts
    46

    Control firewall ports

    Hi, let me see if I can explain my problem

    I have a Cisco PIX firewall on my local LAN, it opens 1025 ports for communication and I have a software that randomly uses 3 out of those 1025 opened ports for each session of the software. Now What I need to do is to control those ports, so when the software selects wich 3 port it is going to use, I need to close the other 1022 port, for security reasons...

    Has anyone done somethig like this?, how can I achieve this using VB.

    Please any help or suggestions would be appreciated.

    Thanks in advance.

    Alejandro.



  2. #2
    Join Date
    Jul 2001
    Location
    Kenosha, Wi
    Posts
    37

    Re: Control firewall ports

    Since the Cisco PIX is a Unix based IOS I would use a shell script in PERL from the application performing the port opening. You could also program the PIX to open a port dynamicaly from the IP address requesting these special ports. If you using an inactive mode, then all outgoing communications will succede as long as the are internally initialized. This means only internal hosts can request remote computers and once the link is established from the inside out, then once that link is broken, the port is closed.

    Timothy H. Schilbach
    Alpha Omega Design Inc.
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured