Configuration VPN ppp0

Discussion in 'Mac OS X Server, Xserve, and Networking' started by webgraf, Oct 20, 2014.

  1. webgraf macrumors newbie

    Joined:
    Oct 20, 2014
    #1
    I have a VPN-access to the some network. I use this vpn to access only for 10.3/17 and do now use for the external access. Its working on the Linux OS. My routing:
    [​IMG]
    But I can't configure this vpn on the mac. If external access is working vpn not, and if vpn is working external not.
    Please help me.
    My routing when vpn was connected:
    [​IMG]
    Option "All traffic through VPN" was disabled.

    Please tel how I must routing for working vpn && external access.

    ----------

    I added a routing on the linux:
    address 10.3.0.0
    netmask 255.255.128.0
    gw 10.3.100.40

    But how I must to do in MAC I don't know.
     
  2. jared_kipe macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #2
    sudo route add 10.3.0.0/17 10.3.100.40

    Just a heads up, but ESPECIALLY when talking about network stuff, refer to Mac or OSX as , "Mac" and not "MAC" as "MAC" has a very specific meaning in this context.
     
  3. webgraf thread starter macrumors newbie

    Joined:
    Oct 20, 2014
    #3
    Sorry, I understand :cool:

    ----------

    It does not help me.

    [​IMG]
    [​IMG]

    ----------

    Code:
    sudo route add 10.3.0.0/17 10.3.100.40 -ifscope ppp0
    This does not help too.
     
  4. jared_kipe macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #4
    Your screenshot shows ppp on a different IP than the GW you tried to add. (10.3.. vs 10.30..)
     
  5. webgraf thread starter macrumors newbie

    Joined:
    Oct 20, 2014
    #5
    Its working now. thanks.

    Maybe you know how I can automatization (when activate vpn)?
     
  6. jared_kipe macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #6
    I do not, typically the 'thing' that assigns the interface the IP address will make a route for the same subnet. (i.e. the other side of the vpn)

    When I've used PPP in the past (I currently prefer IPSEC) if the 'joiner' is assigned an ip address on that interface like 192.168.254.20/24 then there will already be a route to the 192.168.254.0 subnet provided by the vpn.
     
  7. webgraf thread starter macrumors newbie

    Joined:
    Oct 20, 2014
  8. webgraf thread starter macrumors newbie

    Joined:
    Oct 20, 2014
    #8
    I have other problem and can't fix it myself.
    VPN disabled when I try to open site using IP from the subnet
    I try to open https://10.3.20.214

    Error:
    The vpn connection is working from linux and windows.
    How I can fix this?
     
  9. webgraf thread starter macrumors newbie

    Joined:
    Oct 20, 2014
    #9
    From VPN provider:
    Could this be the reason?
     
  10. webgraf thread starter macrumors newbie

    Joined:
    Oct 20, 2014
    #10
    And there is no error from console:
    vpn disabled when I try to open from any browser.
     

Share This Page