Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Local are Network Help
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Local are Network Help

noamannoaman Member

Hi
I am looking to make file transfer from mobile to easy.Basically I need to type in a IP address with port and proper protocol so to access files from my android phone.Now I am looking to convert the IP into a localhost domain like http://lgoptimusg/ Redirects to something like this ftp://192.168.1.7:8080/ or
http://192.168.1.7:8080/

This is so that I can help my family members do it easy and they dont have to type difficult IP's
P.S The Ip address will be static I know how to bind an IP to a MAC Address ...That Part I know already :-)

Comments

  • BochiBochi Member
    edited July 2015

    You might setup a local DNS server that does that "translation" for you, however port and protocol still have to be specified by your family members.
    AFAIK many modern routers already have some basic functionality built in to manage such local domain names.

    /EDIT/
    Read you question again and thought your question could also be understood in a different way,
    the answer would then be some additional reverse proxy to transparently redirect to those ports.

  • noamannoaman Member

    will look into that...I dont want my PC on 24/7 ..The modem/router has to have all this facilliities

  • Hi
    are these iptables rules correct....Can I use protocol in them?


    iptables -A PREROUTING -m tcp -p tcp --src ftp://lgoptimusg --sport 80 --dst ftp://192.168.0.39 --dport 8080 -j ACCEPT
    iptables -A PREROUTING -m udp -p udp --src ftp://lgoptimusg --sport 80 --dst ftp://192.168.0.39 --dport 8080 -j ACCEPT

Sign In or Register to comment.