Welcome! Log In Create A New Profile

Advanced

RDP over Nginx- help with Stream module

Posted by wombat833 
RDP over Nginx- help with Stream module
March 29, 2019 12:02PM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready