PPTP VPN connection problem

Discussion in 'macOS' started by s0uky, Feb 23, 2011.

  1. s0uky macrumors newbie

    Joined:
    Feb 23, 2011
    #1
    Hello, I read many pages about setting VPN, but still not properly working...
    I set up PPTP VPN connection to work right, connect Mac over VPN. Mac is connected properly, IP address is given, but I can't ping any PC in work.
    My local IP on Mac is: 192.168.1.184, mask: 255.255.255.0, gateway: 192.178.1.253
    IP given from remote server over VPN: 192.168.0.23, mask: 255.255.255.0, gateway: 192:168.0.1

    Log from Console:
    Feb 23 12:49:19 s0uky-MacBook-Pro pppd[5944]: PPTP connecting to server 'vpn.xxxxx.cz' (200.200.200.200)...
    Feb 23 12:49:19 s0uky-MacBook-Pro pppd[5944]: PPTP connection established.
    Feb 23 12:49:20 s0uky-MacBook-Pro pppd[5944]: pptp_wait_input: Address added. previous interface setting (name: en1, address: 192.168.1.184), current interface setting (name: ppp0, family: PPP, address: 192.168.0.23, subnet: 255.255.255.0, destination: 192.168.0.1).

    After that I have disconnected internet from Mac and I have connected only over VPN, but if I want use ping, I see this:

    s0uky-MacBook-Pro:~ s0uky$ ping 192.168.0.1
    PING 192.168.0.1 (192.168.0.1): 56 data bytes
    ping: sendto: No buffer space available
    Request timeout for icmp_seq 0
    ping: sendto: No buffer space available
    Request timeout for icmp_seq 1
    Request timeout for icmp_seq 2
    .
    .
    .

    Where can be a problem? I have no ideas :-(((
    Thanx for help.
     
  2. s0uky thread starter macrumors newbie

    Joined:
    Feb 23, 2011
  3. brandone macrumors member

    Joined:
    Sep 3, 2010
    Location:
    San Francisco
    #3
    Firstly, are you pinging an IP address or a Host Name. Secondly, if the Subnet of the VPN and your Local Network are the same, you could have problems.

    Example:
    VPN -
    IP Scheme 192.168.0.1
    Subnet 255.255.255.0

    Local -
    IP Scheme192.168.0.1
    Subnet 255.255.255.0

    If this isn't the case, try accessing your Remote network using the domain suffix.

    Example:
    Your PC at work is called "s0uky"
    Instead of pinging s0uky, ping s0uky.domain.com, where domain is the the name of your remote domain.

    If this still doesn't work, you will need to check the IP addresses of the work computers that you are trying to connect to. Assuming they are servers, they should have a static IP address, thus you will only have to set it up once.
    If you have any other questions dont be afraid to ask. Good Luck.
     
  4. s0uky thread starter macrumors newbie

    Joined:
    Feb 23, 2011
    #4
    Thax for your reply:

    For your example, I have same Subnet, but IP Scheme not.

    I have this:
    VPN -
    IP Scheme 192.168.0.1
    Subnet 255.255.255.0

    Local -
    IP Scheme 192.168.1.1
    Subnet 255.255.255.0


    VPN is connetected - IP address from VPN is obtained properly, but I can not access to local computers.
    We have not domain in VPN network.

    If ping not works to IP address, ping with suffix over DNS not works 99% too, because if pinging only over IP, I don't need DNS server, but if I ping to domain with suffix, I need DNS. Reason from this is DNS is unnecessary :)
     
  5. s0uky thread starter macrumors newbie

    Joined:
    Feb 23, 2011
  6. eljonco macrumors newbie

    Joined:
    Nov 28, 2011
    #6
    similar, not same. I could not connect so started to ping and see what happened.

    Ping in the office is answered by all
    Ping to a vpn connected mac is answered
    Ping to a pc in the office from a vpn connected mac returns all packets.
    Ping to almost any mac in the office from a vpn connected mac returns 1 packet, the rest gets lost.
    Ping is just an example protocol, that is probably why I can't connect through the tunnel to the mac server (AFP, http, caldav all fail).

    I can connect through the VPN to a linux-derivative NAS station...
    The VPN server lives in the Vigor 2710 router.
     

Share This Page