Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

multiple ssh nat

I am trying to setup transparent ssh to servers inside the firewall.
I also need to keep the Astaro box ssh usable.
Has anyone else done this. I can forward port 22 with no problems but if I start to forward (for example: port 24) it is refused.
One way I can think of is to have the FW pass port 24 to server A on port 22 but I don't know how to set that up. 
I am probably missing something.


This thread was automatically locked due to age.
Parents
  • Hi Jon, 

    This is no problem just add the following configuration.

    Add Service
    -----------
    'Redir SSH 1'   tcp 1024:65535 24

    Add DNAT Rule
    -------------
    'External Interface' 'Redir SSH 1' 'Server A' SSH

    Add Packetfilter Rule
    ---------------------
    'Any' 'SSH' 'Server A' 'Allow'

    Now this should be working

    kind regards 
    gert
Reply
  • Hi Jon, 

    This is no problem just add the following configuration.

    Add Service
    -----------
    'Redir SSH 1'   tcp 1024:65535 24

    Add DNAT Rule
    -------------
    'External Interface' 'Redir SSH 1' 'Server A' SSH

    Add Packetfilter Rule
    ---------------------
    'Any' 'SSH' 'Server A' 'Allow'

    Now this should be working

    kind regards 
    gert
Children