logo elektroda
logo elektroda
X
logo elektroda

Redirect Domain to Specific Port: IP Camera on Port 456, ABC.PL, Permanent IP, CAMERA#.ABC.PL

stachu03 6702 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16578671
    stachu03
    Level 13  
    Hey.

    I have purchased a domain, let's call it ABC.PL.

    In addition, I have an IP camera installed in my home that works on port 456.
    I have a permanent IP in the world.

    My question is, can I do it so that by typing WWW.ABC.PL into the browser I would receive a page from WWW.ABC.PL:456?

    Finally, I would like to do so to have further cameras at subsequent addresses, e.g. CAMERA1.ABC.PL, CAMERA2.ABC.PL etc.

    I tried configuring SRV entries on DNS but they probably don't do it.

    Thanks in advance.
  • ADVERTISEMENT
  • #2 16578727
    bogiebog
    Level 43  
    www.abc.pl => www.abc.pl:456 can't be done, because www.abc.pl is the same IP address and I assume that the camera and www service in different places (different IP addresses)

    can be done
    k1.abc.pl => s2.abc.pl:port1
    k2.abc.pl => s2.abc.pl:port2

    such redirection should be made in the server configuration www k1 / k2.abc.pl

    You won't redirect ports in DNS.
  • ADVERTISEMENT
  • #3 16578731
    jdubowski
    Tube devices specialist
    stachu03 wrote:
    My question is, can I do it so that by typing WWW.ABC.PL into the browser I would receive a page from WWW.ABC.PL:456?


    You can, but on the WWW.ABC.PL webserver on port 80 you have to put up WWW.ABC.PL:456. Alternatively, you do port forwarding at WWW.ABC.PL.

    stachu03 wrote:
    Finally, I would like to do so to have further cameras at subsequent addresses, e.g. CAMERA1.ABC.PL, CAMERA2.ABC.PL etc.


    Well, first of all, you have to list the appropriate web servers KAMERA1.ABC.PL, KAMERA2.ABC.PL and make redirect pages there or do port forwarding.

    stachu03 wrote:
    I tried configuring SRV entries on DNS but they probably don't do it.


    Yes, they do not serve. Anyway, the easiest way is to make one page KAMERY.ABC.PL and put relevant links on it.
  • ADVERTISEMENT
  • #4 16579602
    stachu03
    Level 13  
    The status for today is that there are only two IP cameras exposed to the world behind the home router.

    I thought I could handle everything with DNS entries.

    I am looking to buy NAS, so from what I know, I will be able to set up the appropriate web server (s) and configure it as described in the first post.

    Thanks for clarifying the matter.
  • ADVERTISEMENT
  • #5 16579615
    bogiebog
    Level 43  
    How would I put a VPN server on a router / LAN and had unlimited access to everything on a LAN.
  • #6 19372021
    rausman
    Level 2  
    solution:
    on the computer behind the router you install apache2 and put the appropriate proxyreverse directives on it
    ProxyPass "/ images" "http://www.example.com/"
    ProxyPassReverse "/ images" "http://www.example.com/"

    possibly a balancer


    BalancerMember http://www2.example.com:8080
    BalancerMember http://www3.example.com:8080
    ProxySet lbmethod = bytraffic


    ProxyPass "/ images /" "balancer: // myset /"
    ProxyPassReverse "/ images /" "balancer: // myset /"


    Of course, for this you need to properly set the firewalls on the router and the intermediate device or iptables, in addition, you need to connect the listening ports, the proxy server should be in the DMZ (demilitarized zone)

    The disadvantage of reverse proxy is that if this server fails or is overloaded with other services, you will not have access to the cameras.


    The image from the cameras is sent via the UDP protocol? If so, srv dns redirection should work. This is what is done with game servers that are also based on the udp protocol and everything is running under one ip address you have 100 servers under different ports and only srv redirection solves it
ADVERTISEMENT