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
  • Hi Bob,

    first of all, thnx for the fast response.

    I've tried all kind of configurations, SSH to SSH service (no luck), manual packet filter (both HTTPS to SSH and SSH to SSH). But they all give me the same result: telnet works, but Putty (on windows) fails with a timeout. The Putty config I use is a copy of the internal one (which works), except the ip and port used.

    Any more suggestions ?
Reply
  • Hi Bob,

    first of all, thnx for the fast response.

    I've tried all kind of configurations, SSH to SSH service (no luck), manual packet filter (both HTTPS to SSH and SSH to SSH). But they all give me the same result: telnet works, but Putty (on windows) fails with a timeout. The Putty config I use is a copy of the internal one (which works), except the ip and port used.

    Any more suggestions ?
Children
No Data