Hi,
Im trying to talk to my RPi that is connected to my VPN (a PPTP hosted by Asus RT-N66U) while my PC is connected to the router's LAN network. The RPi is connected from an external network. I have tried adding routes as suggested in these links:
- https://superuser.com/questions/120...oute-selective-traffic-by-destination-network
- https://serverfault.com/questions/6...-network-if-the-default-gateway-ip-is-dynamic
- https://unix.stackexchange.com/questions/315793/enabling-an-internet-route-through-ppp0
So far I'm not able to ping or ssh into my RPi. Here are some settings from my router and PC:
The VPN settings and connections:
As you can see I can ping the RPi with the router:
PC information:
- ipconfig /all:
PPP adapter GarenCam:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : GarenCam
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.10.11(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
DNS Servers . . . . . . . . . . . : 192.168.5.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 8260
Physical Address. . . . . . . . . : B8-8A-60-91-16-30
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::50d8:5773:ad08:fc4%5(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.5.172(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : søndag 21. mars 2021 00:20:58
Lease Expires . . . . . . . . . . : mandag 22. mars 2021 00:22:12
Default Gateway . . . . . . . . . : 192.168.5.1
DHCP Server . . . . . . . . . . . : 192.168.5.1
DHCPv6 IAID . . . . . . . . . . . : 62425696
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A4-78-52-B8-8A-60-91-16-30
DNS Servers . . . . . . . . . . . : 192.168.5.1
NetBIOS over Tcpip. . . . . . . . : Enabled
route print:
===========================================================================
Interface List
15...28 f1 0e 49 dc ac ......Intel(R) Ethernet Connection (2) I219-LM
43...00 15 5d b8 bf 17 ......Hyper-V Virtual Ethernet Adapter
13...b8 8a 60 91 16 31 ......Microsoft Wi-Fi Direct Virtual Adapter
9...ba 8a 60 91 16 30 ......Microsoft Wi-Fi Direct Virtual Adapter #3
16...00 ff a6 07 f0 e0 ......TAP Adapter OAS NDIS 6.0
53...........................GarenCam
5...b8 8a 60 91 16 30 ......Intel(R) Dual Band Wireless-AC 8260
1...........................Software Loopback Interface 1
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.5.1 192.168.5.172 4280
0.0.0.0 0.0.0.0 On-link 192.168.10.11 36
XX.XXX.XX.XXX 255.255.255.255 192.168.5.1 192.168.5.172 4281
127.0.0.0 255.0.0.0 On-link 127.0.0.1 4556
127.0.0.1 255.255.255.255 On-link 127.0.0.1 4556
127.255.255.255 255.255.255.255 On-link 127.0.0.1 4556
172.28.80.0 255.255.240.0 On-link 172.28.80.1 4496
172.28.80.1 255.255.255.255 On-link 172.28.80.1 4496
172.28.95.255 255.255.255.255 On-link 172.28.80.1 4496
192.168.5.0 255.255.255.0 On-link 192.168.5.172 4536
192.168.5.172 255.255.255.255 On-link 192.168.5.172 4536
192.168.5.255 255.255.255.255 On-link 192.168.5.172 4536
192.168.10.11 255.255.255.255 On-link 192.168.10.11 291
224.0.0.0 240.0.0.0 On-link 127.0.0.1 4556
224.0.0.0 240.0.0.0 On-link 192.168.5.172 4536
224.0.0.0 240.0.0.0 On-link 172.28.80.1 4496
224.0.0.0 240.0.0.0 On-link 192.168.10.11 36
255.255.255.255 255.255.255.255 On-link 127.0.0.1 4556
255.255.255.255 255.255.255.255 On-link 192.168.5.172 4536
255.255.255.255 255.255.255.255 On-link 172.28.80.1 4496
255.255.255.255 255.255.255.255 On-link 192.168.10.11 291
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 331 ::1/128 On-link
5 306 fe80::/64 On-link
43 271 fe80::/64 On-link
5 306 fe80::50d8:5773:ad08:fc4/128
On-link
43 271 fe80::e5e6:e076:4b72:5d6/128
On-link
1 331 ff00::/8 On-link
5 306 ff00::/8 On-link
43 271 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
If anyone could help or give some pointers I would be very grateful!
BR Kristian
Im trying to talk to my RPi that is connected to my VPN (a PPTP hosted by Asus RT-N66U) while my PC is connected to the router's LAN network. The RPi is connected from an external network. I have tried adding routes as suggested in these links:
- https://superuser.com/questions/120...oute-selective-traffic-by-destination-network
- https://serverfault.com/questions/6...-network-if-the-default-gateway-ip-is-dynamic
- https://unix.stackexchange.com/questions/315793/enabling-an-internet-route-through-ppp0
So far I'm not able to ping or ssh into my RPi. Here are some settings from my router and PC:
The VPN settings and connections:
As you can see I can ping the RPi with the router:
PC information:
- ipconfig /all:
PPP adapter GarenCam:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : GarenCam
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.10.11(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
DNS Servers . . . . . . . . . . . : 192.168.5.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 8260
Physical Address. . . . . . . . . : B8-8A-60-91-16-30
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::50d8:5773:ad08:fc4%5(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.5.172(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : søndag 21. mars 2021 00:20:58
Lease Expires . . . . . . . . . . : mandag 22. mars 2021 00:22:12
Default Gateway . . . . . . . . . : 192.168.5.1
DHCP Server . . . . . . . . . . . : 192.168.5.1
DHCPv6 IAID . . . . . . . . . . . : 62425696
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A4-78-52-B8-8A-60-91-16-30
DNS Servers . . . . . . . . . . . : 192.168.5.1
NetBIOS over Tcpip. . . . . . . . : Enabled
route print:
===========================================================================
Interface List
15...28 f1 0e 49 dc ac ......Intel(R) Ethernet Connection (2) I219-LM
43...00 15 5d b8 bf 17 ......Hyper-V Virtual Ethernet Adapter
13...b8 8a 60 91 16 31 ......Microsoft Wi-Fi Direct Virtual Adapter
9...ba 8a 60 91 16 30 ......Microsoft Wi-Fi Direct Virtual Adapter #3
16...00 ff a6 07 f0 e0 ......TAP Adapter OAS NDIS 6.0
53...........................GarenCam
5...b8 8a 60 91 16 30 ......Intel(R) Dual Band Wireless-AC 8260
1...........................Software Loopback Interface 1
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.5.1 192.168.5.172 4280
0.0.0.0 0.0.0.0 On-link 192.168.10.11 36
XX.XXX.XX.XXX 255.255.255.255 192.168.5.1 192.168.5.172 4281
127.0.0.0 255.0.0.0 On-link 127.0.0.1 4556
127.0.0.1 255.255.255.255 On-link 127.0.0.1 4556
127.255.255.255 255.255.255.255 On-link 127.0.0.1 4556
172.28.80.0 255.255.240.0 On-link 172.28.80.1 4496
172.28.80.1 255.255.255.255 On-link 172.28.80.1 4496
172.28.95.255 255.255.255.255 On-link 172.28.80.1 4496
192.168.5.0 255.255.255.0 On-link 192.168.5.172 4536
192.168.5.172 255.255.255.255 On-link 192.168.5.172 4536
192.168.5.255 255.255.255.255 On-link 192.168.5.172 4536
192.168.10.11 255.255.255.255 On-link 192.168.10.11 291
224.0.0.0 240.0.0.0 On-link 127.0.0.1 4556
224.0.0.0 240.0.0.0 On-link 192.168.5.172 4536
224.0.0.0 240.0.0.0 On-link 172.28.80.1 4496
224.0.0.0 240.0.0.0 On-link 192.168.10.11 36
255.255.255.255 255.255.255.255 On-link 127.0.0.1 4556
255.255.255.255 255.255.255.255 On-link 192.168.5.172 4536
255.255.255.255 255.255.255.255 On-link 172.28.80.1 4496
255.255.255.255 255.255.255.255 On-link 192.168.10.11 291
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 331 ::1/128 On-link
5 306 fe80::/64 On-link
43 271 fe80::/64 On-link
5 306 fe80::50d8:5773:ad08:fc4/128
On-link
43 271 fe80::e5e6:e076:4b72:5d6/128
On-link
1 331 ff00::/8 On-link
5 306 ff00::/8 On-link
43 271 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
If anyone could help or give some pointers I would be very grateful!
BR Kristian