I have this following setup:
Office Network: 192.168.9.x --> Subnet for all Wired Connections 192.168.9.1 --> Wired Gateway IP 192.168.10.x --> Subnet for all Wireless Connections 192.168.10.1 --> Wireless Gateway IP Raspberry Pi: 192.168.9.100 --> Wired IP 192.168.9.1 --> Gateway for Wired Network 172.16.x.x --> VPN Connection DNS: 184.108.40.206 WORKING: TestMachine 1: 192.168.9.120 --> Wired IP 192.168.9.100 --> Assigned Gateway IP (IP of RPi) DNS: 220.127.116.11 VPN tunneling works here Websites that are only accessible via VPN is accessible Can Ping any wired and wireless IP machines Can browse internet NOT-WORKING: TestMachine 2: 192.168.10.20 --> Wireless IP 192.168.9.100 --> Assigned Gateway IP (IP of RPi) DNS: 18.104.22.168 VPN tunneling not working Websites that are only accessible via VPN is not accessible Can Ping any wired and wireless IP machines Can browse internet
I was hoping that VPN in the Test Machine 2 will also work but I was wondering why it is failing. What I basically expecting is that both our wired and wireless connections should be able to use the VPN Router (RPi) and tunnel all connections to it.
Any idea what am I missing here? Do I need to make some routes to be applied in RPi machine to let all wireless based subnets go correctly in vpn (tun0)? But I dont know the config on this either