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

Problem with DNAT to internal SSH server

I'm running Astaro 8.103 and have a problem with DNAT'ing to an inside SSH server. The setup I'm trying to accomplish is:

external ip (tcp port 443) -> DNAT -> Internal SSH server (tcp port 22)

The (for me) logical configuration would be the following rule:

Traffic Source: Any
Traffic Service: HTTPS (have also tried custom service src 1024:65535 dst: 443)
Traffic Destination: External (WAN) (Address)
NAT mode: DNAT
Destination: Internal SSH server
Destination Service: SSH
Automatic Packet Filter creation: Yes (have tried manual as well)

With this rule in  place I can telnet to port 443 on my external IP, but Putty just times out after a while. Internal SSH to the server works, and other DNAT rules work like a charm. I'm running this in a home environment, so single internal IP range, and single outside IP.

Any help would be appreciated.


This thread was automatically locked due to age.
Parents
  • Port 22 also is used by the Astaro, so none of the three you tried will work.  Are you saying that you tried 'Any -> {4422} -> External (Address) : DNAT SSH to {SSH Server}',  and that that didn't work?

    In that case, please show a picture of your DNAT and of the network definitions used in it.

    Cheers - Bob
Reply
  • Port 22 also is used by the Astaro, so none of the three you tried will work.  Are you saying that you tried 'Any -> {4422} -> External (Address) : DNAT SSH to {SSH Server}',  and that that didn't work?

    In that case, please show a picture of your DNAT and of the network definitions used in it.

    Cheers - Bob
Children
No Data