Isp block incoming port.

Discussion in 'Networking Issues' started by alf5683, Jul 31, 2018.

  1. alf5683

    alf5683 Reformed Router Member

    Hi,

    my ISP block incoming ports so I can't use my nextcloud server when I'm not at home...
    I wondering if I use my personel VPN server (hosted in other place) for connecting my tomato router to my external VPN and use the IP adresse of the VPN to connect nextcloud ?
    If yes, I think I have lot of iptables rules to write on my OpenvPn server ?

    Any idees or advise ?


    THX
     
  2. Sean B.

    Sean B. LI Guru Member

    Sense blocking all incoming ports would make it rather hard for an internet service provider to provide any service, does nextcloud have the option to change the port # it uses?
     
  3. alf5683

    alf5683 Reformed Router Member

    Yes I can change the port on nextcloud.
    How can I find an open port ? NMAP ?
     
  4. Sean B.

    Sean B. LI Guru Member

    In the routers web interface under Tools->System Commands running:

    Code:
    netstat -a
    Will show all port activity. Pick a port that is not currently, or likely to be, used by a service run on the router ( IE, don't use any ports that show up using the command I stated above ). Ports 1 - 1023 are restricted to programs/services there are running as or started by root. 1024 - 65535 are general use allowed. Pick a number in the higher range, and google it if you want to check for any services that commonly use that port. If none, use it.

    Is any of this "nextcloud" setup you use running on the router itself? Or is the client or server simply behind the router? If not running on router itself, don't forget to add port forward rules to direct the chosen incoming port to the device behind the router.
     
    Last edited: Aug 1, 2018
    alf5683 likes this.
  5. alf5683

    alf5683 Reformed Router Member

    Hi !

    The command say :

    Nextcloud run behind the tomato router, so yes I have to add port forward rules :d
    But I have to find an open port on my ISP connection first............................................................. I test my public ISP IP with lot of online port scanner and nothing is open.....
    Can you think it's possbile to use my openVPN server to fix this ? something like this :

    Internet //// openvpn server ////// isp //// tomato router openvpn client //// my local network ???????


    Thk
     
    Last edited: Aug 25, 2018
  6. Sean B.

    Sean B. LI Guru Member

    No port will show as open unless something is active on that port to respond. In other words, just pick a port #.. configure your service with that port.. add the port forward to your router and try it.
     
  7. alf5683

    alf5683 Reformed Router Member

    The port 9443 on my tomato is alredy ready with Port Forwarding rule and nextcloud listen on it.
     
  8. Sean B.

    Sean B. LI Guru Member

    Does it work? Or is that the port it came with?
     
  9. alf5683

    alf5683 Reformed Router Member

    No that doesn't work... Only on local network. When I change the ISP (my phone on hotspot mode) all work, but with my normal ISP......
     
  10. Sean B.

    Sean B. LI Guru Member

    1.) When using "local network mode" and it works.. what is the exact IP address and port your connecting to?

    2.) Please post a screen shot of the GUI page Port Forwarding->Basic.
     
  11. alf5683

    alf5683 Reformed Router Member

    All you request :

    My normal ISP : 5.5.5.5:9443
    My phone on hotspot : 4.4.4.4:9443
    Local network : 192.168.0.100:9443



    Thank you :d

    [​IMG]
     
  12. Sean B.

    Sean B. LI Guru Member

    The screenshot shows port 9445 .. your list says port 9443. Which one is correct? I'd suggest putting that port in "Int port".. just to be sure.
     
  13. alf5683

    alf5683 Reformed Router Member

    Oups, my fault ! The correct port is 9443 not 9445. but none works !

    Any idees ?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice