![]() if I root the phone, it can be possible using "ip" command to create a custom table with a default gateway of 192.168.100.1Ģ. Since I was not sure, I tested it, but I think it is not possible with this setup because the phone gateway cannot be change without a client installed on the phone.ġ. Once the phone connects to the the WiFi, its traffic should originate from remote SE server not the local network. Maybe my objective was not clear enough or I could not express it clearly. got IP and DNS server address from home SE server SW0 (network 192.168.30.0/24) default gateway 192.168.100.1 over Local Bridge via a tap device (tap_vpn) a tap device (tap_sw1) IP: 192.168.100.3 (part of remote SE server network) ![]() So when my a phone is connected to home WiFi gets IP from SW0 hub not from modem DHCP I added second network adopter to a VM in order to advertise IP addresses of SW0 (network 192.168.30.0/24). default gateway 192.168.30.1 over Local Bridge via a network adopter no a tap device Using network adopter connected to HUB #1 via BridgingĮven though I guessed that connecting to home WiFi directly, the modem will handle the traffic not any of PCs on the LAN but it was worth the try. How I assign IP address from SE server Hub #1 my phone? Still I am learning L2 Switch so I tried the second scenario.īecause I needed to add a second network adopter. using IP route or maybe iproute PBC (Policy Based Routing) a cascade connection from HUB #2 to remote SE server two Local Bridge for each HUB, first HUB a network adopter, second HUB a tap device ![]() a cascade connection in second HUB #2 to a remote SE server two HUBs one for internal net and one for external net ![]() The funny part is that a pi here (Iran) is more expensive than a PC (e.g HP ProDesk G4 :| :| :| )Īnd when I connect my phone to the modem WiFi I should have been connected to the remote VPN server. If we have a "raspberry pi box" we can connect to it via its network port, setup a VPN server on it, share the internet via pi WiFi access point the most convenient way of having Internet over a VPN which is 24/7 up and running. It annoys me each time I connect my phone to the home modem WiFi I have to turn on a VPN (on my phone) to check sites/apps have been blocked or for privacy. I have been holding this question in mind for the past few months. ![]()
0 Comments
Leave a Reply. |