IPsec VPN connection, Windows RDP keep dropping

UFS
UFS Posts: 1
I have IPsec VPN connection between main office and branch. I have computers(XP, Win7,Win10) at main office. Users at branch will use windows RDP connect to computers at Main office. 

The RDP session Intermittent drop.

How to resolve this issue?

Both sites use Flex 500 firewall.

All Replies

  • Zyxel_Cooldia
    Zyxel_Cooldia Posts: 1,511  Zyxel Employee
    Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate 100 Answers 1000 Comments
    Hi @UFS,

    Welcome to Zyxel community.  =)
    Can you send me both site configuration file in PM for further checking?
  • Hi @Zyxel_Cooldia   I have the same issue.

    I have IPsec VPN connection between main office and branch. I have computers on windows 10 at main office. Users at branch will use windows RDP connect to computers at Main office. 


    The RDP session Intermittent drop.

    How to resolve this issue please ?

    Both sites use usg60.


    Thanks a lot.







  • mMontana
    mMontana Posts: 1,389  Guru Member
    50 Answers 1000 Comments Friend Collector Fifth Anniversary
    It's used only for RDP? Or it's steadily working for other tasks/transfers?
    During RDP Session, could you log if the tunnel is still built and/or capable of transfer?
    Did you setup correctly the ingress and egress capabilities of your WAN connections on both side?
    Did you created any BMW rule for keeping the RDP slowly but steadily working?
  • PeterUK
    PeterUK Posts: 3,461  Guru Member
    100 Answers 2500 Comments Friend Collector Seventh Anniversary

    Seeing the same problem with VPN300 V5.10(ABFC.0) by 4G to Zywall 110 V4.70(AAAA.0)ITS-WK46-r102519 by cable site to site tunnel. The problem can take 10-20mins and the tunnel does not seem to drop going by the logs and uptime.

    I set the PC1 to ping the remote PC and RDP to it with a ping to 8.8.8.8

    I have another PC2 also ping the remote PC

    When the RDP drop happens PC1 and PC2 ping drop but the ping to 8.8.8.8 is fine

    Might do a local site to site for testing.



  • It's used only for RDP? Or it's steadily working for other tasks/transfers?
    Both

    During RDP Session, could you log if the tunnel is still built and/or capable of transfer?
    Yes

    Did you setup correctly the ingress and egress capabilities of your WAN connections on both side?
    Yes

    Did you created any BMW rule for keeping the RDP slowly but steadily working?
    I don't know how to do this.

    I read this
    "There was a setting in the Firewall that would "flush states for a gateway that goes down". That was the default setting. Checking the tick box "overrides this setting by not clearing states for existing connections." Checking that box prevented the disconnects. I was able to RDP for over an hour and no disconnects."
    But i dont know where it is on zyxel


  • PeterUK
    PeterUK Posts: 3,461  Guru Member
    100 Answers 2500 Comments Friend Collector Seventh Anniversary

    Do you know if your tunnel is by protocol 50 or UDP 4500? doing a local site to site with protocol 50 shows it to be stable with RDP I think the problem might have to do with NAT-T


  • Zyxel_Cooldia
    Zyxel_Cooldia Posts: 1,511  Zyxel Employee
    Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate 100 Answers 1000 Comments
    Hi @Mad_cha,
    Please hit CLI Router# debug system no-udp-disperse active and test if it is stable in RDP connection.

  • PeterUK
    PeterUK Posts: 3,461  Guru Member
    100 Answers 2500 Comments Friend Collector Seventh Anniversary
    edited December 2021
    Hi @Mad_cha,
    Please hit CLI Router# debug system no-udp-disperse active and test if it is stable in RDP connection.

    Did that both ends RDP still drops out
  • PeterUK
    PeterUK Posts: 3,461  Guru Member
    100 Answers 2500 Comments Friend Collector Seventh Anniversary

    It definitely has to do with NAT-T UDP 4500 I did a local test with three routers so that the tunnel uses NAT-T UDP 4500 and RDP dropped the problem does not happen if the end points use protocol 50 WAN IP to WAN IP.

    How I tested

    VPN300

    PC 192.168.255.51 to 192.168.138.2 RDP PC and ping

    ge5 192.168.255.49/28

    ge4 external

    IP 192.168.2.2/24 gateway 192.168.2.2

    site to site IP 192.168.4.1

    ge4 to VPN2S LAN2

    VPN2S

    LAN2

    IP192.168.2.1/24

    WAN2 port 4 NAT

    IP 192.168.4.2/24 gateway 192.168.4.1

    Port4 to Zywall 110 WAN2

    Zywall 110

    WAN2

    IP 192.168.4.1/24

    site to site with Dynamic Peer

    LAN2 192.168.138.1/28

    PC 192.168.255.51 to 192.168.138.2 RDP PC and ping