1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VPS disconnection when using VPN

Discussion in 'Proxies' started by luisqp66, Jan 27, 2013.

  1. luisqp66

    luisqp66 Junior Member

    Joined:
    Jun 27, 2012
    Messages:
    131
    Likes Received:
    12
    I installed openvpn on a windows 7 VPS.
    Then I try to connect to my VPN using openvpn and as soon as it connects to VPN I have a remote descktop disconection between my computer and my VPS !!

    Who knows how to avoid this disconnection between my home computer and my winfows 7 VPS as soon as openvpn connects ?

    Thanks
     
  2. luisqp66

    luisqp66 Junior Member

    Joined:
    Jun 27, 2012
    Messages:
    131
    Likes Received:
    12
    No answers ? Ok I will reformulate my problem:

    I have a VPS Server hosting Windows Server 7 (bemanhosting)
    On this I installed openVPN with strongvpn company.

    I can Remote Desktop into the machine successfully (without openVPN running)

    When I connect to openVPN it automatically disconnects Remote Desktop and I'm unable to reach the VPS again until I reboot it.

    Any ideas or suggestions on what to do to enable openVPN to run on the Host machine, and have Remote Desktop Access to it?

    Thank you.
     
  3. thetraveller

    thetraveller Senior Member

    Joined:
    Mar 9, 2009
    Messages:
    1,121
    Likes Received:
    686
    Occupation:
    thousandsmouseclicks
    Location:
    Eastern Europe
    Maybe team viewer will overcome this issue, worth a try.
     
  4. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    You have installed OpenVPN on your Windows VPS as a client or as a server ?

    If you did that as a client then your server is probably rewriting the default gateway which is why your RDP is disconnected as all your VPS connection goes thru the VPN gateway/internal ip>external
     
  5. ugjunk

    ugjunk Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 1, 2011
    Messages:
    2,340
    Likes Received:
    721
    Location:
    Los Angeles
    Home Page:
    You can use services like NOIP.com which will fix your login issue while you can still use a VPN service.
     
  6. luisqp66

    luisqp66 Junior Member

    Joined:
    Jun 27, 2012
    Messages:
    131
    Likes Received:
    12
    Thanks guys.

    I installed openvpn as a client so I can run all softwares without having my static VPS IP banned...

    @cgimaster how can i configure server in order it cannot rewrite the default getaway ?

    Thanks
     
  7. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    How is your access currently ?

    Your home pc RDP to your VPS that uses openvpn client to a VPN service or it connects to another server of yours that is running openvpn as a server ?

    Give me as much detail as possible perhaps you might not even need to do that.
     
  8. luisqp66

    luisqp66 Junior Member

    Joined:
    Jun 27, 2012
    Messages:
    131
    Likes Received:
    12
    Thanks cgimaster I sent you PM with all details
     
  9. xSubZer0x

    xSubZer0x Junior Member

    Joined:
    Apr 3, 2009
    Messages:
    177
    Likes Received:
    45
    I'm also having the same issue with same company except the only difference in mine is im using win 2k3 if someone could also help me with this cheers
     
  10. toptoptop

    toptoptop BANNED BANNED

    Joined:
    Dec 24, 2011
    Messages:
    567
    Likes Received:
    157
    After VPN connection your server changes its IP.
    Now just use its local IP in your VPN network to RDP into it.
    Also chanci your VPN setup. View logs.es are you have some errors
     
  11. seochris96

    seochris96 Regular Member

    Joined:
    Jan 31, 2012
    Messages:
    331
    Likes Received:
    100
    Occupation:
    Writer, Designer, Marketer
    Location:
    2 spots away from the top of Google
    This will sound incredibly simplistic but, have you tried switching the protocol to pptp?

    For example, I have a VPS in france with HMA VPN installed on it. Anytime I enable the VPN via openVPN protocol, I get disconnected and can't reconnect as long as the VPN's enabled. But, when I enable the connection through pptp, I can still remotely connect to the VPS's true IP.

    Just an idea in case you haven't tried it.
     
    Last edited: Feb 3, 2013
  12. guvenor

    guvenor Junior Member

    Joined:
    Aug 11, 2009
    Messages:
    165
    Likes Received:
    89
    open a command prompt and type route add 80.237.246.185 192.168.0.1 Where 80.237.246.185 is the IP of your home PC, and 192.168.0.1 is the IP of your main gateway on the VPS (find by typing "route print" into a command prompt). This should keep your RDP connection on the outside of the VPN.
     
  13. DonnieBrasco

    DonnieBrasco Regular Member

    Joined:
    Feb 27, 2015
    Messages:
    302
    Likes Received:
    254
    Occupation:
    Internet Marketer
    Location:
    Albuquerque
    Just googled my problem with various long tail keywords and where in the whole damn internet i found the solution? good ol bhw.

    Gonna edit that post tomorrow when i tried to use my vpn on my vps with the workarounds posted here in the thread
     
  14. proxygo

    proxygo Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 2, 2008
    Messages:
    10,203
    Likes Received:
    8,689
    and u bumped a thread not touched since 02-02-2013, 11:04 PM
    so share this, amazing
     
  15. wyvern2

    wyvern2 Junior Member

    Joined:
    Mar 25, 2015
    Messages:
    128
    Likes Received:
    12
    Damnn why you guys on pm :( , i have a problem like this too

    lol looks like we're in the same boat, I never thought my long tail keyword gonna be in this thread BHW 1stpage lmao
     
  16. akacash

    akacash Jr. VIP Jr. VIP

    Joined:
    Jan 16, 2010
    Messages:
    805
    Likes Received:
    575
    Location:
    The Beach, USA
    It probably has to do with how you're connecting to the VPN. If you're not already, download a program called OpenVPN and use that to connect to your VPN while on your VPS. I'm pretty sure that every VPN company out there has OpenVPN config files that you can use, and it won't disconnect you from the server. If I had to guess you're using a piece of software the VPN company produced to connect, and it's probably changing the config of your network adapter. OpenVPN will install a TAP-Win32 driver that will create a new virtual adapter/connection that all your traffic will be routed through. Now to be completely honest that last part about the adapters and drivers I don't know to be 100% true, but based on the little bit that I do know and have read, I'm guessing that how it works. Either way though, if you use OpenVPN you shouldn't have any issues like that.