Hi,
New to the forum and with limited networking knowledge, so please bear with me...
I'm trying to connect to my router via OpenVPN from my iPhone so im only limited to TUN, TAP is not support on iphones...
My OpenVPN subnet is 192.168.3.x and my local devices are on subnet 192.168.2.x
my success would be having my iphone connected via openvpn and open my network scanner app and able to scan and find all devices in subnet 192.168.2.x
My server config file
# Automatically generated configuration
daemon
topology subnet
server 192.168.3.0 255.255.255.0
proto udp
rcvbuf 0
sndbuf 0
port 1194
dev tun21
comp-lzo adaptive
keepalive 15 60
verb 3
push "route 192.168.2.0 255.255.255.0"
duplicate-cn
push "dhcp-option DNS 192.168.2.1"
push "redirect-gateway def1"
ca ca.crt
dh dh.pem
cert server.crt
key server.key
status-version 2
status status
# Custom Configuration
client-to-client
push "route 192.168.2.0 255.255.255.0"
My client config file:
client
dev tun
proto udp
remote 41.32.27.92 1194
iroute 192.168.2.0 255.255.255.0
float
comp-lzo adaptive
keepalive 15 60
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
Removed
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
Removed
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
Removed
-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind
I can connect normally but just unable to find any devices