radioactive Hello everyone, So far I’ve managed to configure my OpenVPN client to access my VPN server at home. I’ve also managed to make it see the local subnet and reach all my clients on the subnet. I’ve used the following on my OpenVPN client on iOS to make my iPhone route all traffic through the VPN connection and go out of the default gateway running at home. So if my OpenVPN server is in country X and I’m in country Y. After I connect to my OpenVPN server, any web browsing goes out like if I’m in country X. redirect-gateway def1 dhcp-option DNS 192.168.1.1 However, I’m trying to define a different gateway on the same LAN at home. The gateway has the IP address of 192.168.1.50. Both gateways (the default provided by the DHCP service on the router and the other one that I want to connect to) are on the same subnet. Any idea how to do this? I’ve unsuccessfully tried a few things and I’m stuck. Thank you in advance for any help.
Pippin Please see --route network/IP [netmask] [gateway] [metric] and --route-gateway gw|'dhcp' in manual: https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
radioactive Thank you for your reply and sorry for posting in wrong section. I’m trying to implement this on the client side if possible. That’s why I posted under iOS.
Pippin Then also see --pull-filter. Set verb 4 in client config then take a look at what the server pushes.