Results 1 to 6 of 6
  1. #1
    Newbie
    Join Date
    Jul 2010
    Posts
    12

    Default Drop OpenVPN user into Directory

    I've got my OpenVPN working just fine on my Untangle box, I've been using it from all over the place and pulling files as needed so it's really been a blessing but I have a question on if it's possible to do something.

    I want to be able to send someone an OpenVPN key to my network to either pick up or drop off files. What I need however is to be able to drop that user into one particular directory on a shared drive, I don't want someone to have full VPN access to my entire network, I just want them locked into 1 directory and if they have something for me or I have something for them that directory is the dropbox.

    I don't have any other servers like Active Directory or anything else, very small, simple and effective network here ... so is there a way that I can setup a user in OpenVPN and on every log on they land on say \\sharedrive_x\their_directory

    Any help always appreciated.
    Miguel

  2. #2
    Newbie
    Join Date
    Jul 2010
    Posts
    12

    Default

    BUMP really nobody?

  3. #3
    Untangle Ninja Solignis's Avatar
    Join Date
    Jul 2008
    Location
    Hudson, Ohio, USA
    Posts
    1,693

    Default

    hmmm one way you could do this is with a simple batch file.

    You would call OpenVPN GUI to connect, then have it it run NET USE and connect a specific drive letter to the users folder.

    I would work as long as DNS and everything was correct.
    “Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.” - Linus Torvalds

  4. #4
    Untangle Ninja
    WebFooL's Avatar
    Join Date
    Jan 2009
    Location
    Sweden (Eskilstuna)
    Posts
    4,205

    Default

    Check this post
    http://forums.untangle.com/openvpn/1...nnect-dis.html
    There you have the docs on how to create a .bat file that can map your folder share after a tunnel is establish.

  5. #5
    Untangle Ninja mrunkel's Avatar
    Join Date
    Jul 2008
    Posts
    2,989

    Default

    do not bump threads
    m.


    Big Frickin Disclaimer:
    While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.

    It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  6. #6
    Newbie
    Join Date
    Jul 2010
    Posts
    12

    Default

    Sorry for the bump and thanks for the tips need to get this going and every little bit helps. Miguel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2