Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

webgraf

macrumors newbie
Original poster
Oct 20, 2014
7
0
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:

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:

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.
 

jared_kipe

macrumors 68030
Dec 8, 2003
2,967
1
Seattle
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.
 

webgraf

macrumors newbie
Original poster
Oct 20, 2014
7
0
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.
Sorry, I understand :cool:

----------

It does not help me.




----------

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

webgraf

macrumors newbie
Original poster
Oct 20, 2014
7
0
10.3/17 10.30.100.40 UGSc 0 0 ppp0
10.30.100.40 172.16.130.56 UH 1 0 ppp0
Its working now. thanks.

Maybe you know how I can automatization (when activate vpn)?
 

jared_kipe

macrumors 68030
Dec 8, 2003
2,967
1
Seattle
Its working now. thanks.

Maybe you know how I can automatization (when activate vpn)?

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.
 

webgraf

macrumors newbie
Original poster
Oct 20, 2014
7
0
I have other problem and can't fix it myself.
VPN disabled when I try to open site using IP from the subnet
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.0.1 UGSc 95 75 en0
default link#9 UCSI 2 0 ppp0
10.3/17 172.16.135.92 UGSc 0 0 ppp0
10.30.100.40 172.16.135.92 UH 0 0 ppp0
17.173.254.222 link#9 UHW3I 0 44 ppp0 10
17.173.254.223 link#9 UHWIi 1 22 ppp0
85.25.128.110 192.168.0.1 UGHS 0 0 en0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 2 136567 lo0
169.254 link#4 UCS 0 0 en0
172.16 ppp0 USc 2 0 ppp0
192.168.0 link#4 UCS 0 0 en0
192.168.0.1/32 link#4 UCS 1 0 en0
192.168.0.1 c8:3a:35:18:89:8 UHLWIir 99 137 en0 254
192.168.0.105/32 link#4 UCS 0 0 en0

I try to open https://10.3.20.214

Error:
Wed Dec 3 13:28:26 2014 : PPTP error when reading socket : EOF
Wed Dec 3 13:28:26 2014 : PPTP error when reading header : read -1, expected 12 bytes
Wed Dec 3 13:28:26 2014 : PPTP hangup
Wed Dec 3 13:28:26 2014 : ipcp: down
Wed Dec 3 13:28:26 2014 : MPPE disabled
Wed Dec 3 13:28:26 2014 : sent [LCP TermReq id=0x2 "MPPE disabled"]
Wed Dec 3 13:28:26 2014 : Connection terminated.
Wed Dec 3 13:28:26 2014 : PPTP clearing port-mapping for en0
Wed Dec 3 13:28:26 2014 : Connect time 1.1 minutes.
Wed Dec 3 13:28:26 2014 : Sent 15175 bytes, received 13255 bytes.
Wed Dec 3 13:28:26 2014 : PPTP disconnecting...
Wed Dec 3 13:28:26 2014 : PPTP disconnected

The vpn connection is working from linux and windows.
How I can fix this?
 

webgraf

macrumors newbie
Original poster
Oct 20, 2014
7
0
And there is no error from console:
curl -I https://10.3.20.214/ --insecure
HTTP/1.1 200 OK
Content-Type: text/html
Date: Wed, 03 Dec 2014 12:10:54 GMT
Last-Modified: Tue, 20 Apr 1943 00:00:00 GMT
Etag: "00897051"
Transfer-Encoding: chunked
Server: Allegro-Software-RomPager/4.62

vpn disabled when I try to open from any browser.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.