Skip to main content
Esteemed Contributor III
Jul 15, 2004 9:03 AM UTC
Question

VPN' s and Telnet sessions

Hi all, I' ve got a bit of a wird problem. I have two satellite offices, one with a Fortinet 50a, one with a netscreen 25. At head office we have a Fortinet 60. I have VPN tunnels created between the sites which work very well except for a telnet application we use to access a Compaq Alpha Server. This telnet link drops after 5 minutes, consistently. This sounds like a normal timeout, I accept that, however it has only occured with the introduction of the Fortinet VPN' s. We used to have a single netscreen to netscreen VPN which didn' t do drop the link so I' m sure the problem lies with the Fortinet VPN' s. I can' t find any timeout settings and am stumped. Any advice gratefully received. Thanks. Roland.

    9 replies

    Esteemed Contributor III
    Jul 15, 2004 11:38 AM UTC
    that' s a common problem, get a CLI acces and type: # set sys session port 23 timeout 1800 Now your telnet sessions will expire in 1800 secs. Default is 300 secs (here are your 5 mins). You can see defined sessions timeout with: # get sys sess
    Esteemed Contributor III
    Jul 15, 2004 12:14 PM UTC
    Thanks, I' ll try this.
    Esteemed Contributor III
    Jul 15, 2004 11:41 AM UTC
    after 5 minutes.. lol Yet another vicrim of the default session timeout By default, the FG has a session timeout of 300 seconds. Remembet set system session port xxxx timeout xxxxx then 7 days in seconds is the maximum there is also a setting to change the default session_ttl for all protocols (eg change THE default session_ttl). YOu can find advanced settings on the CLI manual. Have a look at it.
    Esteemed Contributor III
    Jul 15, 2004 12:11 PM UTC
    Thanks, but I guess you' re talking about the admin console session, which I' m quite happy on a 5min timeout via telnet. The actual problem is a remote telnet session to a Compaq Alpha Server over a VPN, which I think Alex Boulanger may have answered. I' ll give that a whirl and have a look at the CLI manual. Thanks for the response, though.
    Esteemed Contributor III
    Jul 15, 2004 12:56 PM UTC
    Both, Thanks for your assistance. It' s staying up a treat now. I do love hidden features.
    Esteemed Contributor III
    Jul 27, 2004 10:40 AM UTC
    just have a look at the top of this page..
    Esteemed Contributor III
    Jun 28, 2006 3:54 PM UTC
    hi! i have a similar problem with telnet timeout. i have set time session on port 23 and it works with on session but if i have more telnet session sometimes this session have little ttl and not ttl i set. and so AS400 stop this telnet session with little timeout. thanks
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024