Note: I checked the answers under Accessing IP cameras from outside network but I could not understand. Forgive me for being this dumb :S. I thought using port forwarding or vpn to home network should solve this issue but it didnt.
I have IP Camera Kaposev (Hidden Wireless charger camera) that is accessible from the iOS app HDWifiCamPro when both the camera and my cellphone are connected to my wifi at home. It works OK. However, when I am trying to connect to the camera using the same app remotely (using the 4G network on my cellphone), the app fails to connect. Can you please tell me what I should do to connect to the camera from outside of my wifi?
What have I done so far?
Using wireshark and my iphone connected to my Macbook (with RVI enabled and xcode installed), I was able to monitor the traffic between the Iphone and the camera. I see that the communication is going over UDP between ip_addr_camera:28888 and ip_addr_phone:20988
The camera's username is: SOME_USERMAME and the password is: SOME_PASSWORD
My public IP of wifi (gateway) is 218.201.55.211
I created port forwarding in my router as following
Port forwarding 1: Name: Testcam Protocol:UDP WAN_port:20988 LAN_port:28888 Destination_IP:ip_addr_camera Destination_MAC:MAC_CAM
Port forwarding 2: Name: Testcam2 Protocol:UDP WAN_port:28888 LAN_port:20988 Destination_IP:ip_addr_camera Destination_MAC:MAC_CAM
I have enabled the VPN service in my router setting and created a VPN on my cellphone. Hence, when I connect to the VPN on my cellphone, I get the public IP address of 218.201.55.211 and I get a LAN IP for my device as well.
After these steps, I am lost. I am new to the whole networking thing, I will really appreciate it if you can guide me on what more should I do to be able to view this camera remotely. Is there any easy way to access the stream remotely? I do not know if my camera is ONVIF compatible or not
I am unable to access the camera from (With or WITHOUT vpn) udp://ip_addr_camera:28888 or 20988
Update: Turns out that I am unable to ping my other devices on LAN when connected with VPN. Following is the configuration that I am using
VPN Server settings with in router (Technicolor wifi router plus v3 )
- Local IP: 192.168.1.245
- Remote IP Start: 192.168.1.246
- Remote IP End: 192.168.1.253
DHCP Settings
- Local Device: 192.168.1.1
- Network address: 192.168.1.0
- DHCP Start address: 192.168.1.64
- DHCP End address: 192.168.1.243
Static IPs Settings
- Camera: 192.168.1.244
- MAC book: 192.168.1.49
- Iphone: 192.168.1.246
VPN Client settings
- Server address: My public ip of home network
- Type: L2TP over IPSec
- Username: MY_VPN_USER
- Password: MY_VPN_PASS
- Shared Secret: SOME_SECRET
- Send all traffic: True
- DNS Servers: As provided by device for WAN (2.248.248.2, 2.248.248.248)
Update 2: I can ping the devices now from the inside the wifi lan connected laptop to external vpn connect iphone. I can also ping the lan connected camera ip address from my vpn connected external device. BUT i am unable to connect to the camera though its app HDWIFICam pro still :(