Create RDP gateway in Raspberry Pi or Ubuntu
I have a few systems in my local network and want to RDP them from the Internet. One method is to allocate different ports to each system for RDP and configure them in the router. However, what I need is to configure RDP in default mode.
For example <ip-address>:3389/ubuntu
should point to 192.168.1.102:3389
.
Similarly, <ip-address>:3389/win7
shall point to 192.168.1.101:3389
and so on.
I searched Google but articles are related to Windows Server, where they prefer making an RDP gateway server. I a prefer a Linux system (and even better Raspberry Pi) to do this task for me. I tried some RDP related searches on Pi and got information on dnsmasq. But I guess its related to connect to outer network (websites) from local network instead of local network from outside network.
Is is possible? Any hint or link/reference will be very helpful.
linux ubuntu remote-desktop raspberry-pi raspbian
add a comment |
I have a few systems in my local network and want to RDP them from the Internet. One method is to allocate different ports to each system for RDP and configure them in the router. However, what I need is to configure RDP in default mode.
For example <ip-address>:3389/ubuntu
should point to 192.168.1.102:3389
.
Similarly, <ip-address>:3389/win7
shall point to 192.168.1.101:3389
and so on.
I searched Google but articles are related to Windows Server, where they prefer making an RDP gateway server. I a prefer a Linux system (and even better Raspberry Pi) to do this task for me. I tried some RDP related searches on Pi and got information on dnsmasq. But I guess its related to connect to outer network (websites) from local network instead of local network from outside network.
Is is possible? Any hint or link/reference will be very helpful.
linux ubuntu remote-desktop raspberry-pi raspbian
No such thing in *Nix, it is a typical Microsoft application. What we use, in lieu of this, is a VPN, one of very many types.
– MariusMatutiae
Dec 13 '15 at 16:55
Looks like i have been searching in wrong direction. Thanks for the help. Meanwhile, any help regarding how to connect to system and share screen (just like rdp) will be greatly appreciated.
– ashu
Dec 19 '15 at 7:08
You should look into vnc (which is a system not an application; apps implementing vnc are called tightvnc, realvnc, ultravnc, remmina) or teamViewer, depending on what you wish exactly to do.
– MariusMatutiae
Dec 19 '15 at 8:04
add a comment |
I have a few systems in my local network and want to RDP them from the Internet. One method is to allocate different ports to each system for RDP and configure them in the router. However, what I need is to configure RDP in default mode.
For example <ip-address>:3389/ubuntu
should point to 192.168.1.102:3389
.
Similarly, <ip-address>:3389/win7
shall point to 192.168.1.101:3389
and so on.
I searched Google but articles are related to Windows Server, where they prefer making an RDP gateway server. I a prefer a Linux system (and even better Raspberry Pi) to do this task for me. I tried some RDP related searches on Pi and got information on dnsmasq. But I guess its related to connect to outer network (websites) from local network instead of local network from outside network.
Is is possible? Any hint or link/reference will be very helpful.
linux ubuntu remote-desktop raspberry-pi raspbian
I have a few systems in my local network and want to RDP them from the Internet. One method is to allocate different ports to each system for RDP and configure them in the router. However, what I need is to configure RDP in default mode.
For example <ip-address>:3389/ubuntu
should point to 192.168.1.102:3389
.
Similarly, <ip-address>:3389/win7
shall point to 192.168.1.101:3389
and so on.
I searched Google but articles are related to Windows Server, where they prefer making an RDP gateway server. I a prefer a Linux system (and even better Raspberry Pi) to do this task for me. I tried some RDP related searches on Pi and got information on dnsmasq. But I guess its related to connect to outer network (websites) from local network instead of local network from outside network.
Is is possible? Any hint or link/reference will be very helpful.
linux ubuntu remote-desktop raspberry-pi raspbian
linux ubuntu remote-desktop raspberry-pi raspbian
edited Nov 23 '18 at 8:37
fixer1234
17.8k144581
17.8k144581
asked Dec 13 '15 at 12:01
ashu
11817
11817
No such thing in *Nix, it is a typical Microsoft application. What we use, in lieu of this, is a VPN, one of very many types.
– MariusMatutiae
Dec 13 '15 at 16:55
Looks like i have been searching in wrong direction. Thanks for the help. Meanwhile, any help regarding how to connect to system and share screen (just like rdp) will be greatly appreciated.
– ashu
Dec 19 '15 at 7:08
You should look into vnc (which is a system not an application; apps implementing vnc are called tightvnc, realvnc, ultravnc, remmina) or teamViewer, depending on what you wish exactly to do.
– MariusMatutiae
Dec 19 '15 at 8:04
add a comment |
No such thing in *Nix, it is a typical Microsoft application. What we use, in lieu of this, is a VPN, one of very many types.
– MariusMatutiae
Dec 13 '15 at 16:55
Looks like i have been searching in wrong direction. Thanks for the help. Meanwhile, any help regarding how to connect to system and share screen (just like rdp) will be greatly appreciated.
– ashu
Dec 19 '15 at 7:08
You should look into vnc (which is a system not an application; apps implementing vnc are called tightvnc, realvnc, ultravnc, remmina) or teamViewer, depending on what you wish exactly to do.
– MariusMatutiae
Dec 19 '15 at 8:04
No such thing in *Nix, it is a typical Microsoft application. What we use, in lieu of this, is a VPN, one of very many types.
– MariusMatutiae
Dec 13 '15 at 16:55
No such thing in *Nix, it is a typical Microsoft application. What we use, in lieu of this, is a VPN, one of very many types.
– MariusMatutiae
Dec 13 '15 at 16:55
Looks like i have been searching in wrong direction. Thanks for the help. Meanwhile, any help regarding how to connect to system and share screen (just like rdp) will be greatly appreciated.
– ashu
Dec 19 '15 at 7:08
Looks like i have been searching in wrong direction. Thanks for the help. Meanwhile, any help regarding how to connect to system and share screen (just like rdp) will be greatly appreciated.
– ashu
Dec 19 '15 at 7:08
You should look into vnc (which is a system not an application; apps implementing vnc are called tightvnc, realvnc, ultravnc, remmina) or teamViewer, depending on what you wish exactly to do.
– MariusMatutiae
Dec 19 '15 at 8:04
You should look into vnc (which is a system not an application; apps implementing vnc are called tightvnc, realvnc, ultravnc, remmina) or teamViewer, depending on what you wish exactly to do.
– MariusMatutiae
Dec 19 '15 at 8:04
add a comment |
2 Answers
2
active
oldest
votes
There's no equivalent to Microsoft RDP Gateway service on Linux, but there are ways to simplify connecting to multiple RDP servers through a single external IP which should suit your needs.
The best solution on Linux I've found to date is Guacamole; not the green dip that goes great with tortilla chips and a tequila, but the clientless html5 RDP Gateway. http://guacamole.incubator.apache.org/
Guacamole allows you to build a secure landing page, with a list of preconfigured RDP connections (or VNC and SSH) and connect with any HTML5 browser. You don't even need an RDP client, which is great if you want to connect remotely and only have access to a browser. I've been using it for the past couple months, and it works very well. It does take a bit to get all configured, but I find well worth it to not have another Windows server just for RDP redirection. Lots of documentation out there on configuration and setup,
I've got this running on a really small VM (1 core, 256MB memory) and it handles a couple open connections just fine with CPU and memory to spare. I can't see why a RaspberryPi couldn't handle it (even the original Raspberry). Doing a quick google search for 'guacamole rdp raspberrypi' comes up with lots of links.
Good luck!
Thanks for pointing out in the direction. At that time, I was unable to get guide to properly setup and left it. Did it again few months back and it works absolutely fine. Just for help of others, I am adding link for the guide raspberrypi.org/forums/viewtopic.php?f=81&t=71166#p574149
– ashu
Jan 28 '17 at 17:08
add a comment |
As an alternative, I use the '-L' mechanism provided by openssh.
For example, I set up a raspberry pi as the gateway server at home which provides ssh login service from WAN, and run this command on the PC at office:
ssh -nvL :13389:192.168.1.x:3389 IP-OF-PI"
which provides a secured transparent proxy, forwarding all traffic from 127.0.0.1:13389 to my home PC's 3389.
Then I can use mstsc.exe (native rdp client in Windows) to connect to 127.0.0.1:13389.
If you don't have openssh installed on Windows, tunnelier (a ssh client with GUI) is recommended.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1012802%2fcreate-rdp-gateway-in-raspberry-pi-or-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There's no equivalent to Microsoft RDP Gateway service on Linux, but there are ways to simplify connecting to multiple RDP servers through a single external IP which should suit your needs.
The best solution on Linux I've found to date is Guacamole; not the green dip that goes great with tortilla chips and a tequila, but the clientless html5 RDP Gateway. http://guacamole.incubator.apache.org/
Guacamole allows you to build a secure landing page, with a list of preconfigured RDP connections (or VNC and SSH) and connect with any HTML5 browser. You don't even need an RDP client, which is great if you want to connect remotely and only have access to a browser. I've been using it for the past couple months, and it works very well. It does take a bit to get all configured, but I find well worth it to not have another Windows server just for RDP redirection. Lots of documentation out there on configuration and setup,
I've got this running on a really small VM (1 core, 256MB memory) and it handles a couple open connections just fine with CPU and memory to spare. I can't see why a RaspberryPi couldn't handle it (even the original Raspberry). Doing a quick google search for 'guacamole rdp raspberrypi' comes up with lots of links.
Good luck!
Thanks for pointing out in the direction. At that time, I was unable to get guide to properly setup and left it. Did it again few months back and it works absolutely fine. Just for help of others, I am adding link for the guide raspberrypi.org/forums/viewtopic.php?f=81&t=71166#p574149
– ashu
Jan 28 '17 at 17:08
add a comment |
There's no equivalent to Microsoft RDP Gateway service on Linux, but there are ways to simplify connecting to multiple RDP servers through a single external IP which should suit your needs.
The best solution on Linux I've found to date is Guacamole; not the green dip that goes great with tortilla chips and a tequila, but the clientless html5 RDP Gateway. http://guacamole.incubator.apache.org/
Guacamole allows you to build a secure landing page, with a list of preconfigured RDP connections (or VNC and SSH) and connect with any HTML5 browser. You don't even need an RDP client, which is great if you want to connect remotely and only have access to a browser. I've been using it for the past couple months, and it works very well. It does take a bit to get all configured, but I find well worth it to not have another Windows server just for RDP redirection. Lots of documentation out there on configuration and setup,
I've got this running on a really small VM (1 core, 256MB memory) and it handles a couple open connections just fine with CPU and memory to spare. I can't see why a RaspberryPi couldn't handle it (even the original Raspberry). Doing a quick google search for 'guacamole rdp raspberrypi' comes up with lots of links.
Good luck!
Thanks for pointing out in the direction. At that time, I was unable to get guide to properly setup and left it. Did it again few months back and it works absolutely fine. Just for help of others, I am adding link for the guide raspberrypi.org/forums/viewtopic.php?f=81&t=71166#p574149
– ashu
Jan 28 '17 at 17:08
add a comment |
There's no equivalent to Microsoft RDP Gateway service on Linux, but there are ways to simplify connecting to multiple RDP servers through a single external IP which should suit your needs.
The best solution on Linux I've found to date is Guacamole; not the green dip that goes great with tortilla chips and a tequila, but the clientless html5 RDP Gateway. http://guacamole.incubator.apache.org/
Guacamole allows you to build a secure landing page, with a list of preconfigured RDP connections (or VNC and SSH) and connect with any HTML5 browser. You don't even need an RDP client, which is great if you want to connect remotely and only have access to a browser. I've been using it for the past couple months, and it works very well. It does take a bit to get all configured, but I find well worth it to not have another Windows server just for RDP redirection. Lots of documentation out there on configuration and setup,
I've got this running on a really small VM (1 core, 256MB memory) and it handles a couple open connections just fine with CPU and memory to spare. I can't see why a RaspberryPi couldn't handle it (even the original Raspberry). Doing a quick google search for 'guacamole rdp raspberrypi' comes up with lots of links.
Good luck!
There's no equivalent to Microsoft RDP Gateway service on Linux, but there are ways to simplify connecting to multiple RDP servers through a single external IP which should suit your needs.
The best solution on Linux I've found to date is Guacamole; not the green dip that goes great with tortilla chips and a tequila, but the clientless html5 RDP Gateway. http://guacamole.incubator.apache.org/
Guacamole allows you to build a secure landing page, with a list of preconfigured RDP connections (or VNC and SSH) and connect with any HTML5 browser. You don't even need an RDP client, which is great if you want to connect remotely and only have access to a browser. I've been using it for the past couple months, and it works very well. It does take a bit to get all configured, but I find well worth it to not have another Windows server just for RDP redirection. Lots of documentation out there on configuration and setup,
I've got this running on a really small VM (1 core, 256MB memory) and it handles a couple open connections just fine with CPU and memory to spare. I can't see why a RaspberryPi couldn't handle it (even the original Raspberry). Doing a quick google search for 'guacamole rdp raspberrypi' comes up with lots of links.
Good luck!
answered Jun 29 '16 at 16:39
Derek Maurer
362
362
Thanks for pointing out in the direction. At that time, I was unable to get guide to properly setup and left it. Did it again few months back and it works absolutely fine. Just for help of others, I am adding link for the guide raspberrypi.org/forums/viewtopic.php?f=81&t=71166#p574149
– ashu
Jan 28 '17 at 17:08
add a comment |
Thanks for pointing out in the direction. At that time, I was unable to get guide to properly setup and left it. Did it again few months back and it works absolutely fine. Just for help of others, I am adding link for the guide raspberrypi.org/forums/viewtopic.php?f=81&t=71166#p574149
– ashu
Jan 28 '17 at 17:08
Thanks for pointing out in the direction. At that time, I was unable to get guide to properly setup and left it. Did it again few months back and it works absolutely fine. Just for help of others, I am adding link for the guide raspberrypi.org/forums/viewtopic.php?f=81&t=71166#p574149
– ashu
Jan 28 '17 at 17:08
Thanks for pointing out in the direction. At that time, I was unable to get guide to properly setup and left it. Did it again few months back and it works absolutely fine. Just for help of others, I am adding link for the guide raspberrypi.org/forums/viewtopic.php?f=81&t=71166#p574149
– ashu
Jan 28 '17 at 17:08
add a comment |
As an alternative, I use the '-L' mechanism provided by openssh.
For example, I set up a raspberry pi as the gateway server at home which provides ssh login service from WAN, and run this command on the PC at office:
ssh -nvL :13389:192.168.1.x:3389 IP-OF-PI"
which provides a secured transparent proxy, forwarding all traffic from 127.0.0.1:13389 to my home PC's 3389.
Then I can use mstsc.exe (native rdp client in Windows) to connect to 127.0.0.1:13389.
If you don't have openssh installed on Windows, tunnelier (a ssh client with GUI) is recommended.
add a comment |
As an alternative, I use the '-L' mechanism provided by openssh.
For example, I set up a raspberry pi as the gateway server at home which provides ssh login service from WAN, and run this command on the PC at office:
ssh -nvL :13389:192.168.1.x:3389 IP-OF-PI"
which provides a secured transparent proxy, forwarding all traffic from 127.0.0.1:13389 to my home PC's 3389.
Then I can use mstsc.exe (native rdp client in Windows) to connect to 127.0.0.1:13389.
If you don't have openssh installed on Windows, tunnelier (a ssh client with GUI) is recommended.
add a comment |
As an alternative, I use the '-L' mechanism provided by openssh.
For example, I set up a raspberry pi as the gateway server at home which provides ssh login service from WAN, and run this command on the PC at office:
ssh -nvL :13389:192.168.1.x:3389 IP-OF-PI"
which provides a secured transparent proxy, forwarding all traffic from 127.0.0.1:13389 to my home PC's 3389.
Then I can use mstsc.exe (native rdp client in Windows) to connect to 127.0.0.1:13389.
If you don't have openssh installed on Windows, tunnelier (a ssh client with GUI) is recommended.
As an alternative, I use the '-L' mechanism provided by openssh.
For example, I set up a raspberry pi as the gateway server at home which provides ssh login service from WAN, and run this command on the PC at office:
ssh -nvL :13389:192.168.1.x:3389 IP-OF-PI"
which provides a secured transparent proxy, forwarding all traffic from 127.0.0.1:13389 to my home PC's 3389.
Then I can use mstsc.exe (native rdp client in Windows) to connect to 127.0.0.1:13389.
If you don't have openssh installed on Windows, tunnelier (a ssh client with GUI) is recommended.
answered Nov 23 '18 at 5:34
felix021
1113
1113
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1012802%2fcreate-rdp-gateway-in-raspberry-pi-or-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
No such thing in *Nix, it is a typical Microsoft application. What we use, in lieu of this, is a VPN, one of very many types.
– MariusMatutiae
Dec 13 '15 at 16:55
Looks like i have been searching in wrong direction. Thanks for the help. Meanwhile, any help regarding how to connect to system and share screen (just like rdp) will be greatly appreciated.
– ashu
Dec 19 '15 at 7:08
You should look into vnc (which is a system not an application; apps implementing vnc are called tightvnc, realvnc, ultravnc, remmina) or teamViewer, depending on what you wish exactly to do.
– MariusMatutiae
Dec 19 '15 at 8:04