Corsair

u/Corsair@programming.dev
29 posts · 19 comments

Recent posts

Recent comments

a more accurate diagram of what I'm targeting..

┌──────┐       ┌───────┐         ┌───┐  
│Node 1│       │Node 2 │         │DVR│  
└──┬───┘       └┬──────┘         └─┬─┘  
   │            │                  │    
   │            │                  │    
vlan10         vlan10             vlan20
   │            │                  │    
   └─────────□  □  □───────────────┘    
             ┌───────────┐              
             │hEX refresh│              
             │E50UG      │ □            
             └───────────┘              
                 □                      
                 │                      
                 │                      
                 │                      
              trunking                  
                 │                      
                 │                      
                 │                      
                 □                      
               ┌───┐  □                 
               │hEX│  □                 
               └───┘  □                 
                      □                 

□ = port

So it should be possible for Node 1 to reach DVR ? Either trough Firewall or VLAN rules ?

Thanks @testman@lemmy.ml

StackOverflow says that it can be done by editing xrdp.ini

This post date from 2013 O_o

::: spoiler default /etc/xrdp/xrdp.ini in my version

[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20

[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

[vnc-any]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask

[neutrinordp-any]
name=neutrinordp-any
lib=libxrdpneutrinordp.so
ip=ask
port=ask3389
username=ask
password=ask

:::

so I don't have [xrdp1]

   

To summarize:

Edit the xrdp.ini file set port = ask connect from the remote machine, and at login if you have no existing session, specify port -1 to resume a session enter the default of 5910

I believe this i working if the previous session was already made remotely.. ?otherwise how I get the port of the local X session ?

   

Is there a specific reason for choosing RDP?\

rdp is usefull if you have windows client client, but that it's.

   

And RustDesk is also a good, more advanced alternative.

great piece of software, but too heavy in my case, I want something simple, that just do one thing good. I don't need

  • End-to-end encryption
  • File transfer
  • Chat features

Thank you very much to all of you for your input !

I see port in few of your feedback.

I was not clear enough, let me rephrase:
is it possible to give a subnet to a node, not based on the port of the switch/router but based on the node ? meaning that the switch/router need to recognize the node ( MAC or login? ) and then will give him access to A or B

Thanks.