#StackBounty: #linux #remote #proxy #gateway Linux Replacement of RD Gateway

Bounty: 50

Is there a way to replace RDS Gateway with some sort of linux based proxy. I know there some ways to do it with ssh/port forwarding, but this is to replace a current RDS Gateway our users utilize for remote access (~300 users). I need to support multiple windows clients using their native RDP to connect to their windows desktops on campus, using some sort of linux proxy in between.

From my searching, there are some solutions (xrdp,ssh proxy, port forwarding, etc) that sort of do what I need but they either aren’t user friendly or they involve using multiple/non-standard ports. Before I give up my search and succumb to paying MS Licensing for RDS, is it currently possible to use linux to proxy RDP from windows using their native client?

[Multiple Remote Windows Clients] => [Linux proxy/gateway] => [Corporate Windows Desktops]


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!

#StackBounty: #proxy #openvpn OpenVPN through proxy, can't get client ip address

Bounty: 100

I have 3 pc’s:

  • pc1 hosts the VPN server
  • pc2 hosts a proxy server and acts as client 1
  • pc3 acts as client 2
  • pc3 shares a network with pc2, but not with pc1
  • pc2 shares a network with pc1.
  • client1 is connected through the proxy on pc2
  • client2 is also connected through the proxy on pc2

So the setup looks like this:

----------------
|      pc3     |
|  VPN Client2 |
|  10.100.0.3  |
----------------
       |
       | Network A
       |
----------------
|      pc2     |
| Proxy server/|
|  VPN Client1 |
|  10.100.0.2  |
----------------
       |
       | Network B
       |
----------------
|      pc1     |
|  VPN Server  |
|  10.100.0.1  |
----------------

Now, pc1 hosts a webserver which will get the ip address of the client making the request for the webpage.

When I make the request from PC2 I can correctly see the request came from PC2.

But when I make the request from PC3 I expected to see the VPN assigned ip address of 10.100.0.3, but instead I get the ip address from PC2 in the case when client 1 is connected, if client 1 is not connected will get the ip address of the VPN server itself (10.100.0.1)

I thought I created a direct ‘tunnel’ which would make pc1 think the request came directly from pc3, what am I doing wrong?


Get this bounty!!!