MacOS 12.x: VPN connection established, but not usable

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
targit
Posts: 1
Joined: Thu Nov 14, 2024 6:27 pm

MacOS 12.x: VPN connection established, but not usable

Post by targit » Thu Nov 14, 2024 6:40 pm

Hi All,

Environment: mac OS 12.x.

Install VPN Connection with this Guide: https://www.softether.org/4-docs/2-howt ... ient_Setup

Send all traffic over remote gateway is selected.

Problem: Client etablished VPN connection to VPN-Server. But vpn connection is not useable. Ping and other commands (traceroute) failed.

client: gateway 192.168.172.1
vpn assigned IP: 192.168.178.84

Server: gateway 192.168.172.1

on client side cant ping itself:

Code: Select all

traceroute 192.168.178.84
traceroute to 192.168.178.84 (192.168.178.84), 64 hops max, 52 byte packets
traceroute: sendto: No route to host
 1 traceroute: wrote 192.168.178.84 52 chars, ret=-1
 *traceroute: sendto: Host is down
traceroute: wrote 192.168.178.84 52 chars, ret=-1
network oin client-side:

Code: Select all

ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=400<CHANNEL_IO>
	ether d0:81:7a:a6:a2:80 
	inet6 fe80::c80:ac6f:14d0:27d6%en0 prefixlen 64 secured scopeid 0x4 
	inet 192.168.178.21 netmask 0xffffff00 broadcast 192.168.178.255
	inet6 fd00::c88:9338:da6:4246 prefixlen 64 autoconf secured 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	options=460<TSO4,TSO6,CHANNEL_IO>
	ether 82:18:48:a4:66:00 
	media: autoselect <full-duplex>
	status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
	ether 82:18:48:a4:66:00 
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x0
	member: en1 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 5 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: <unknown type>
	status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
	options=400<CHANNEL_IO>
	ether 02:81:7a:a6:a2:80 
	media: autoselect
	status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
	options=400<CHANNEL_IO>
	ether 62:2f:50:07:45:5c 
	inet6 fe80::602f:50ff:fe07:455c%awdl0 prefixlen 64 scopeid 0x8 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=400<CHANNEL_IO>
	ether 62:2f:50:07:45:5c 
	inet6 fe80::602f:50ff:fe07:455c%llw0 prefixlen 64 scopeid 0x9 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::fa41:18ee:68d2:a573%utun0 prefixlen 64 scopeid 0xa 
	nd6 options=201<PERFORMNUD,DAD>
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
	inet6 fe80::8605:28a7:c917:6c66%utun1 prefixlen 64 scopeid 0xb 
	nd6 options=201<PERFORMNUD,DAD>
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000
	inet6 fe80::ce81:b1c:bd2c:69e%utun2 prefixlen 64 scopeid 0xc 
	nd6 options=201<PERFORMNUD,DAD>
utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::3c9:1118:81dd:de95%utun3 prefixlen 64 scopeid 0xd 
	nd6 options=201<PERFORMNUD,DAD>
utun4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
	inet6 fe80::d3a3:2a0c:ea48:55d0%utun4 prefixlen 64 scopeid 0xe 
	nd6 options=201<PERFORMNUD,DAD>
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
	[b]inet 192.168.178.84 --> 1.0.0.1 [/b]netmask 0xffffff00 

Code: Select all

netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags           Netif Expire
default            link#15            UCSg             ppp0       
default            192.168.178.1      UGScIg            en0       
1.0.0.1            192.168.178.84     UH               ppp0       
17.248.213.64      link#15            UHW3Ig           ppp0    180
17.248.213.65      link#15            UHW3Ig           ppp0    149
17.248.213.66      link#15            UHWIig           ppp0       
17.248.213.67      link#15            UHW3Ig           ppp0    149
17.248.213.69      link#15            UHWIig           ppp0       
34.118.66.19       link#15            UHWIig           ppp0       
88.65.0.146        192.168.178.1      UGHS              en0       
91.66.77.91        link#15            UHWIig           ppp0       
127                127.0.0.1          UCS               lo0       
127.0.0.1          127.0.0.1          UH                lo0       
169.254            link#4             UCS               en0      !
192.168.0.1        link#15            UHW3Ig           ppp0    300
192.168.178        link#4             UCS               en0      !
192.168.178.1/32   link#4             UCS               en0      !
192.168.178.1      dc:39:6f:d0:56:24  UHLWIir           en0   1195
192.168.178.1      link#15            UHWIig           ppp0       
192.168.178.21/32  link#4             UCS               en0      !
192.168.178.84     link#4             UHRLWI            en0      !
192.168.178.255    link#15            UHW3Ig           ppp0    126
212.227.15.171     link#15            UHWIig           ppp0       
217.175.192.20     link#15            UHW3Ig           ppp0     65
224.0.0/4          link#15            UmCS             ppp0       
224.0.0/4          link#4             UmCSI             en0      !
224.0.0.251        link#15            UHmW3I           ppp0    294
255.255.255.255/32 link#15            UCS              ppp0       
255.255.255.255/32 link#4             UCSI              en0      !
255.255.255.255    link#15            UHW3bI           ppp0    300

Internet6:
Destination                             Gateway                         Flags           Netif Expire
default                                 fe80::%utun0                    UGcIg           utun0       
default                                 fe80::%utun1                    UGcIg           utun1       
default                                 fe80::%utun2                    UGcIg           utun2       
default                                 fe80::%utun3                    UGcIg           utun3       
default                                 fe80::%utun4                    UGcIg           utun4       
::1                                     ::1                             UHL               lo0       
fd00::/64                               link#4                          UC                en0       
fd00::c88:9338:da6:4246                 d0:81:7a:a6:a2:80               UHL               lo0       
fe80::%lo0/64                           fe80::1%lo0                     UcI               lo0       
fe80::1%lo0                             link#1                          UHLI              lo0       
fe80::%en0/64                           link#4                          UCI               en0       
fe80::c80:ac6f:14d0:27d6%en0            d0:81:7a:a6:a2:80               UHLI              lo0       
fe80::de39:6fff:fed0:5624%en0           dc:39:6f:d0:56:24               UHLWIi            en0       
fe80::%awdl0/64                         link#8                          UCI             awdl0       
fe80::602f:50ff:fe07:455c%awdl0         62:2f:50:7:45:5c                UHLI              lo0       
fe80::%llw0/64                          link#9                          UCI              llw0       
fe80::602f:50ff:fe07:455c%llw0          62:2f:50:7:45:5c                UHLI              lo0       
fe80::%utun0/64                         fe80::fa41:18ee:68d2:a573%utun0 UcI             utun0       
fe80::fa41:18ee:68d2:a573%utun0         link#10                         UHLI              lo0       
fe80::%utun1/64                         fe80::8605:28a7:c917:6c66%utun1 UcI             utun1       
fe80::8605:28a7:c917:6c66%utun1         link#11                         UHLI              lo0       
fe80::%utun2/64                         fe80::ce81:b1c:bd2c:69e%utun2   UcI             utun2       
fe80::ce81:b1c:bd2c:69e%utun2           link#12                         UHLI              lo0       
fe80::%utun3/64                         fe80::3c9:1118:81dd:de95%utun3  UcI             utun3       
fe80::3c9:1118:81dd:de95%utun3          link#13                         UHLI              lo0       
fe80::%utun4/64                         fe80::d3a3:2a0c:ea48:55d0%utun4 UcI             utun4       
fe80::d3a3:2a0c:ea48:55d0%utun4         link#14                         UHLI              lo0       
ff00::/8                                ::1                             UmCI              lo0       
ff00::/8                                link#4                          UmCI              en0       
ff00::/8                                link#8                          UmCI            awdl0       
ff00::/8                                link#9                          UmCI             llw0       
ff00::/8                                fe80::fa41:18ee:68d2:a573%utun0 UmCI            utun0       
ff00::/8                                fe80::8605:28a7:c917:6c66%utun1 UmCI            utun1       
ff00::/8                                fe80::ce81:b1c:bd2c:69e%utun2   UmCI            utun2       
ff00::/8                                fe80::3c9:1118:81dd:de95%utun3  UmCI            utun3       
ff00::/8                                fe80::d3a3:2a0c:ea48:55d0%utun4 UmCI            utun4       
ff01::%lo0/32                           ::1                             UmCI              lo0       
ff01::%en0/32                           link#4                          UmCI              en0       
ff01::%awdl0/32                         link#8                          UmCI            awdl0       
ff01::%llw0/32                          link#9                          UmCI             llw0       
ff01::%utun0/32                         fe80::fa41:18ee:68d2:a573%utun0 UmCI            utun0       
ff01::%utun1/32                         fe80::8605:28a7:c917:6c66%utun1 UmCI            utun1       
ff01::%utun2/32                         fe80::ce81:b1c:bd2c:69e%utun2   UmCI            utun2       
ff01::%utun3/32                         fe80::3c9:1118:81dd:de95%utun3  UmCI            utun3       
ff01::%utun4/32                         fe80::d3a3:2a0c:ea48:55d0%utun4 UmCI            utun4       
ff02::%lo0/32                           ::1                             UmCI              lo0       
ff02::%en0/32                           link#4                          UmCI              en0       
ff02::%awdl0/32                         link#8                          UmCI            awdl0       
ff02::%llw0/32                          link#9                          UmCI             llw0       
ff02::%utun0/32                         fe80::fa41:18ee:68d2:a573%utun0 UmCI            utun0       
ff02::%utun1/32                         fe80::8605:28a7:c917:6c66%utun1 UmCI            utun1       
ff02::%utun2/32                         fe80::ce81:b1c:bd2c:69e%utun2   UmCI            utun2       
ff02::%utun3/32                         fe80::3c9:1118:81dd:de95%utun3  UmCI            utun3       
ff02::%utun4/32                         fe80::d3a3:2a0c:ea48:55d0%utun4 UmCI            utun4   
Ping on 1.0.0.1 works:

Code: Select all

ping 1.0.0.1
PING 1.0.0.1 (1.0.0.1): 56 data bytes
64 bytes from 1.0.0.1: icmp_seq=0 ttl=59 time=44.836 ms
64 bytes from 1.0.0.1: icmp_seq=1 ttl=59 time=46.647 ms
64 bytes from 1.0.0.1: icmp_seq=2 ttl=59 time=44.869 MS
traceroute himself dont work:

Code: Select all

traceroute 192.168.178.84
traceroute to 192.168.178.84 (192.168.178.84), 64 hops max, 52 byte packets
traceroute: sendto: No route to host
 1 traceroute: wrote 192.168.178.84 52 chars, ret=-1
 *traceroute: sendto: Host is down
traceroute: wrote 192.168.178.84 52 chars, ret=-1
any ideas ?

solo
Posts: 1546
Joined: Sun Feb 14, 2021 10:31 am

Re: MacOS 12.x: VPN connection established, but not usable

Post by solo » Sat Nov 16, 2024 11:53 am

Yes, test it out on proven, working servers https://www.vpngate.net/en/howto_l2tp.aspx#mac

Post Reply