Port forwarding through multiple routing tables / rdomains

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



I'm trying to find a way to forward ports from a client via a router with multiple rdomains to an internal server, across one of the rdomains:

                  router
             +---------------+
             |        ~ rd01 + ----- Server01
             |       /       |
Client ----- + rd00 ~~~ rd02 + ----- Server02
             |       \       |
             |        ~ rd03 + ----- Server03
             +---------------+

I am able to connect to the inner machine using nc(1) and route(8) to cross between the routing tables:

ssh -o ProxyCommand='ssh router.example.org route -T 2 exec nc %h %p' user2@server02

However, that seems to eliminate the possibility of forwarding a port from the client to the inner machine.  Is there a way to forward ports despite crossing between two routing tables?  If so, how?

/Lars
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux