Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Telnet Timeout **SOLVED**

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 6.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fuzion1
      last edited by

      Hey,

      We are having an issue with pfsense and telnet.  Our telnet program is set to keep alive, but pfsense is timing it out when it sits idle for a few minutes.  Where is the setting in pfsense to where i can set it to not timeout?

      1 Reply Last reply Reply Quote 0
      • D
        danswartz
        last edited by

        Something does not sound right here.  If your telnet client is really doing keepalive, the state table entry should not be getting expired.

        1 Reply Last reply Reply Quote 0
        • F
          fuzion1
          last edited by

          It is definitely the firewall.  We were having the same issue with our sonicwall, but we were able to set the timeout and fix it.  Any ideas?

          1 Reply Last reply Reply Quote 0
          • D
            danswartz
            last edited by

            If a totally different firewall was having the same issue, I'd argue the contrary - that you have NOT fixed the telnet client to do keep-alive.  Why are you so sure you did?  Having to do anything in the firewall to avoid telnet sessions timing out tells me the telnet client is not doing keepalive after all.

            1 Reply Last reply Reply Quote 0
            • F
              fuzion1
              last edited by

              danswartz,

              Here is a screenshot of the telnet set to keep alive.  Do you have any ideas on what setting in pfsense i could set to make it not shut off?

              screen.jpg
              screen.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • D
                danswartz
                last edited by

                that isn't an idle keepalive - it is NOT turning on telnet idle timeout, which causes telnet to tear down the connection if idle for more than that period - zero in this case disables that.  tcp keepalive is not disabled, but the default there is like 2 hours so that won't help you.  seems like that client does not have a keepalive setting.  you can set the pfsense firewall to conservative mode, which will not kill idle connections (AFAIK).  Under 2.0 this is on System => Advanced => Firewall/NAT.  If you are on 1.2.3, I don't know - you might have to explore the GUI and see.

                1 Reply Last reply Reply Quote 0
                • F
                  fuzion1
                  last edited by

                  Hey,

                  This fixed the issue.  I appreciate the help.  I am closing this thread.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.