Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. A Proxy to route ports

A Proxy to route ports

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpsysadminhelpquestion
2 Posts 2 Posters 0 Views 1 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.
  • Y Offline
    Y Offline
    Yevgeny Efter
    wrote on last edited by
    #1

    Hello! I don't know if I understand the problem correctly, that's why I'll ask about it first. My computer stands behind a firewall that blocks all ports except for a few. But I need these ports. So I thought to write a program that will route a port that is opened by my firewall to a port that I can't get to it, and install it on another computer outside the network with the firewall. First, is it a possible solution? Second, can I write such a program in C#? Thanks in advance!

    Have a nice day!

    D 1 Reply Last reply
    0
    • Y Yevgeny Efter

      Hello! I don't know if I understand the problem correctly, that's why I'll ask about it first. My computer stands behind a firewall that blocks all ports except for a few. But I need these ports. So I thought to write a program that will route a port that is opened by my firewall to a port that I can't get to it, and install it on another computer outside the network with the firewall. First, is it a possible solution? Second, can I write such a program in C#? Thanks in advance!

      Have a nice day!

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Your explanation isn't very clear at all. You're making statements that contradict each other and you haven't provided any information about where the traffic is comming from that you want to redirect to where. Are the blocks that you're talking about on inbound traffic, or outbound? What ports??

      Yevgeny Efter wrote:

      So I thought to write a program that will route a port that is opened by my firewall to a port that I can't get to it,

      This makes no sense at all. What's the "other computer" outside the firewall?? What's it's purpose in life? If you're talking about routing traffic from the Internet going to a specific port on a machine inside the firewall, the only thing that can redirect that traffic in the firewall itself. If you're talking traffic comming from your machine that is going to a machine on the outside, then you have to open a connection on the target machine and the target port on that machine.

      Yevgeny Efter wrote:

      Second, can I write such a program in C#?

      I seriously doubt it.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups