Re: Help with reverse proxy for all TCP ports/protocols



On Nov 15, 12:24 pm, Cacadril <en...@xxxxxxxxx> wrote:
On Nov 15, 4:44 pm, j.g.too...@xxxxxxxxx wrote:

Hey all,

I am attempting to do (I think this is the right term) a reverse proxy
for any TCP port/protocol, not just HTTP.

Essentially, I want:
ssh/telnet/ftp/etc internet.server1.com ==> WANIP_ADDRESS ==>
10.10.10.1
ssh/telnet/ftp/etc internet.server2.com ==> WANIP_ADDRESS ==>
10.10.10.2

So all ports that come in from internet.server1.com go to my WAN IP
ADDRESS, and redirects it to 10.10.10.1 and all ports from
internet.server2.com go to my WAN IP ADDRESS, and redirects it to
10.10.10.2.

Do you mean ...
 - you are running a linux box? ...
 - acting as a gateway? ...
 - between your local network and the internet? ...
 - and you want that any tcp connection being initiated by
   datagrams coming from the internet? ...
 - shall be forwarded to specific IP addresses on the local network ?
 - depending on the IP address of the *source* of this connection
attempt?

Ooops, I shall now suppose the anser to the above questions is *no*.



Thanks for your reply, and your assumption is incorrect. I am running
a linux box...acting as a gateway...between my local network and the
internet...and want that any tcp connection being initiated by
datagrams coming from the internet...shall be forwarded to the
specific IP address on the local network...depending on the DOMAIN
NAME that the source of this connection is attempt to come through.

So now that you got that off your chest feeling better? Good. Now
since the request is made more readable, anyone out there can help
further?

Thanks,

Noisome
.



Relevant Pages

  • RE: suffering from an apparently broken tcp
    ... suffering from an apparently broken tcp ... that outgoing packets had a checksum error at the TCP layer. ... Most of the time three TCP continuation frames come in back-to-back, ... it's only on the local network that's dreadfully slow. ...
    (Debian-User)
  • RE: suffering from an apparently broken tcp
    ... I'm really starting to convince myself that this is a hardware ... that outgoing packets had a checksum error at the TCP layer. ... Most of the time three TCP continuation frames come in back-to-back, ... it's only on the local network that's dreadfully slow. ...
    (Debian-User)
  • Re: If I get two comcast internet subscriptions into my home, will I get double performance?
    ... >>but you won't get proper balancing. ... Perhaps you'd better take the time to understand how TCP works. ... you open a TCP connection from A, all packets for that connection must go ... Those boxes will not work for TCP traffic, ...
    (comp.dcom.modems.cable)
  • Re: Blocking receive and close
    ... TCP does this precisely to avoid ... the socket is destroyed immediately. ... The TCP connection hangs ... But just before you enter the recv function, ...
    (comp.programming.threads)
  • Re: IP number question
    ... |>:I am talking about TCP. ... you can send responses with a range of sequence numbers, ... What is "The Ultimate Meme"? ...
    (comp.security.misc)