Home Forums OS X Server and Client Discussion Questions and Answers How to Start VPN from Terminal – Internet Connection

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #367277
    FastEddy
    Participant

    Hello All,

    I’m trying to figure out how to start a VPN connection form a tunnel built in Internet Connection.

    I have a working config, I have shell access, and when the tunnel is up, I have ARD access.
    This host is behind a linksys in a remote office. The XServe is in a datacenter.

    I’ve tried to use Automater, Apple Script and scoured posts and the command line options.

    If I understand correctly, vpnd is for a VPN server, yes? The XServe is the VPN server in my case.
    I want a client session to be initiated from a working config.

    This is all Tiger based, latest updates.

    Thanks in Advance,
    Eddy

    #367565
    crackmac
    Participant

    If you can ssh into the server then use the command serveradmin to stop and restart the vpn service.

    [code]% sudo serveradmin stop vpn
    % sudo serveradmin start vpn[/code]

    The serveradmin command is a very powerful tool for remote administration. Here is a link to the official command line admin manual.

    command_line_10-4.pdf

    I hope that helps.–KD

    [QUOTE][u]Quote by: FastEddy[/u]

    Hello All,

    I’m trying to figure out how to start a VPN connection form a tunnel built in Internet Connection.

    I have a working config, I have shell access, and when the tunnel is up, I have ARD access.
    This host is behind a linksys in a remote office. The XServe is in a datacenter.

    I’ve tried to use Automater, Apple Script and scoured posts and the command line options.

    If I understand correctly, vpnd is for a VPN server, yes? The XServe is the VPN server in my case.
    I want a client session to be initiated from a working config.

    This is all Tiger based, latest updates.

    Thanks in Advance,
    Eddy

    [/QUOTE]

    #367903
    fasteddy760
    Participant

    Hi CrackMac, thanks for the reply. I thought I would get an email when someone replied, but never did. Not sure why I assumed that.

    Anyway, I believe your tip is for the XServe, running server.

    I am looking for a solution to start the clients VPN connection.

    I have full access to the Server, via ARD, hands on and more.

    The client however, I can *not* get to, except via SSH.
    So I want to know how to start the _client_ end of Internet Connect, via SSH.

    Any help appreciated as I have been unable to reach this client for 3 months.
    Can only do so Much with SSH.

    Thanks in advance,
    Eddy

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed