Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

RDP over Nginx- help with Stream module

$
0
0
Hi fellow members,

I am new to Nginx but have successfully set up a Linux server with Nginx and use that to remotely access my three windows servers but in doing so now cannot Remote Desktop into the same servers. My router ports HTTP,HTTPs and RDP are all pointing to the Nginx and RDP is on 3389.

I have been researching that the way around this is to put a Stream module in my Nginx.conf but I can't find a way that works. the three servers are accessed via three gateways xxx.remotewebacces.com and have IP addresses 192.168.1.x.

stream {
# server {
# listen 443;
# proxy_pass 192.168.1.20:3389;


upstream backend {
hash $remote_addr consistent;
server 192.168.1.20:3389;
server 192.168.1.5:3389;
server 192.168.1.21:3389;
}
}

Is this at all possible?

Chris

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>