old_fogie_network
New Around Here
. . . .
Last edited:
push 'route 192.168.1.0 255.255.255.0'
push 'dhcp-option DNS 192.168.1.100'
push 'redirect-gateway def1'
Use the Arne Schawbe OpenVPN client on the phone. Others do not work as well.so i set it up on my router and used the openvpn app on my phone to load the ovpn file. i was able to connect and i think i understand the PBR. but i could not resolve anything on my phone. it is like there was DNS issues? i am not sure where to go from here...
push 'dhcp-option DNS 192.168.1.100'
where do you put that push code?
still cant resolve anything. shows a good connection on both ends.
from the phone?
how would i do that?
P.S. One word of caution, often not mentioned in other threads. Anytime you're using your own OpenVPN server, it's strongly recommended you do NOT use the all too common 192.168.1.x and 192.168.0.x for your home network. If you do, you risk the remote location having the same network, making routing over the VPN impossible (at least for the purposes of accessing your home network). Better to use something more obscure (e.g., 10.99.34.0/24).
I want to do the same, just access my usb attached HD files when I am away from home. On the Merlin VPN/VPN Server tab, I set up a OpenVPN server and I use the OpenVPN Connect app for Android to connect. I have no commercial vpn or piholes running on my system. Does this advice still apply to change the 192.168.1.x for the home network? If so, I am using all default settings and just have the VPN set to LAN only. Would I need to change any of the advanced settings (for example VPN Subnet / Netmask)?
I am only familiar with 192.168.x.x, what are other allowed ranges? I have a bunch of static devices of 192.168.1.xx (147,153, 200,etc). Can I switch and just change the first 2 digits and keep the last 2 (x.x1.147, x.x,153, etc)Changing your home network from the all-too-common 192.168.1.x and 192.168.0.x networks is strongly *recommended*, but if you don't want to do it, you don't have to. Just beware that most devices default to one of these two networks, and just like YOU deciding to accept the default, the owner of the wifi cafe you frequent and want to use your OpenVPN client from, might decide to accept the same default! And if that happens, it will become *impossible* for you to reach any of the devices on your home network because your client will assume anything on that network is *local* to the wifi cafe, and therefore never routed over the tunnel! But if you use something more obscure for your home network (e.g., 10.99.34.0/24), the chances of that happening, while never zero, is greatly diminished.
When it comes to the VPN subnet and mask, the same thing could happen. By convention, OpenVPN implementations tend to default to the 10.8.0.0/24 network, because that's what's used in the OpenVPN documentation for its examples. But you could use anything you like, provided you don't create a clash of networks. In most cases, leaving the VPN subnet and mask as 10.8.0.0/24 is fine. The only time I've seen a clash is when the user establishes an OpenVPN client on the same router as the OpenVPN server, and the commercial OpenVPN provider also happens to be using 10.8.0.0/24! So that would force you to change your OpenVPN server's tunnel to something else, say 10.9.0.0/24.
xx
It's all about making sure that each and every network that becomes part of your overall configuration never results in network clashes.
The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets:I am only familiar with 192.168.x.x, what are other allowed ranges? I have a bunch of static devices of 192.168.1.xx (147,153, 200,etc). Can I switch and just change the first 2 digits and keep the last 2 (x.x1.147, x.x,153, etc)
Thanks, I don't know what 10/8 prefix, 12 prefix 16 prefix mean. If I currently have 192.168.1.XXXThe Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets:
10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
Here you can calculate your /prefix https://www.ipaddressguide.com/cidrThanks, I don't know what 10/8 prefix, 12 prefix 16 prefix mean. If I currently have 192.168.1.XXX
(XXX) Where the router is at 1, and all my static addresses for devices are at 147-215.
Could I use 172.16.1.XXX and just replace the 192.168 with 172.16 (i.e. 192.168.1.147 becomes 172.16.1.147 etc)?
Here you can calculate your /prefix https://www.ipaddressguide.com/cidr
No need to make this overly complex. Something like 192.168.83.0/24 will do the job. IOW, just a simple change to the third octet, everything else remaining the same.
192.168.83.1 = router
192.168.83.100 = PC
192.168.83.200 = nas
...
Yes, except avoid 2 and 100 as well. A lot of cable modems use 192.168.100.1 as their LAN side address, part of the same idea of being rare.Thanks, Can I use any number between 2 and 254 in the 3rd octet?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!