Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 68

Thread: ISP blocks ports

  1. #21
    Join Date
    Jul 2011
    Beans
    52

    Re: ISP blocks ports

    doas...this way is hard to talk to you.

    Can we talk at msn, gtalk or anything else?

    Port 22 is not used by the host (windows webeserver 2008 ).
    It's free.

  2. #22
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: ISP blocks ports

    Then the host needs to be configured to forward port 22 to your guest.

  3. #23
    Join Date
    Jul 2011
    Beans
    52

    Re: ISP blocks ports

    Quote Originally Posted by psusi View Post
    Then the host needs to be configured to forward port 22 to your guest.
    I already did.

  4. #24
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ISP blocks ports

    ok, then we need some config info. from the guest run:
    Code:
    ifconfig -a
    netstat -ntlup
    sudo ufw status
    route
    from the host, run PowerShell as admin and run:
    Code:
    ipconfig /all
    route print
    netstat -abno | FINDSTR "LIST"
    netsh firewall show
    and post these back.
    Things are rarely just crazy enough to work, but they're frequently just crazy enough to fail hilariously.

  5. #25
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: ISP blocks ports

    If you ssh to 188.16.163.14 on the host, are you connected to the guest? If not then it seems your port forward is not set up correctly.

  6. #26
    Join Date
    Jul 2011
    Beans
    52

    Re: ISP blocks ports

    Here goes the asked information.
    I don't have sudo installed, should I install?

    DEBIAN ETCH

    #ifconfig -a
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:0C:29:CB:BB:73
              inet addr:192.168.211.128  Bcast:192.168.211.255  Mask:255.255.255.0
              inet6 addr: fe80::20c:29ff:fecb:bb73/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:217975 errors:0 dropped:0 overruns:0 frame:0
              TX packets:36777 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:174262386 (166.1 MiB)  TX bytes:2584142 (2.4 MiB)
              Interrupt:59 Base address:0x2000
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:873 errors:0 dropped:0 overruns:0 frame:0
              TX packets:873 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:74169 (72.4 KiB)  TX bytes:74169 (72.4 KiB)
    
    sit0      Link encap:IPv6-in-IPv4
              NOARP  MTU:1480  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    #netstat -ntlup
    Code:
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN     4204/mysqld
    tcp        0      0 192.168.211.128:53      0.0.0.0:*               LISTEN     3364/named
    tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN     3364/named
    tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN     3364/named
    tcp6       0      0 :::53                   :::*                    LISTEN     3364/named
    tcp6       0      0 :::22                   :::*                    LISTEN     3596/sshd
    tcp6       0      0 ::1:953                 :::*                    LISTEN     3364/named
    udp        0      0 0.0.0.0:32768           0.0.0.0:*                          3364/named
    udp        0      0 192.168.211.128:53      0.0.0.0:*                          3364/named
    udp        0      0 127.0.0.1:53            0.0.0.0:*                          3364/named
    udp        0      0 0.0.0.0:68              0.0.0.0:*                          3262/dhclient3
    udp6       0      0 :::32769                :::*                               3364/named
    udp6       0      0 :::53                   :::*                               3364/named
    #route
    Code:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.211.0   *               255.255.255.0   U     0      0        0 eth0
    default         192.168.211.2   0.0.0.0         UG    0      0        0 eth0

    WINDOWS WEBSERVER 2008

    IPCONFIG /ALL
    Code:
       Host Name . . . . . . . . . . . . : luna531
       Primary Dns Suffix  . . . . . . . : startdedicated.com
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : startdedicated.com
    
    Ethernet adapter Local Area Connection:
    
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
       Physical Address. . . . . . . . . : 00-19-99-A7-AD-7F
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 85.25.100.203(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 85.25.100.1
       DNS Servers . . . . . . . . . . . : 85.25.128.10
                                           85.25.255.10
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
    Ethernet adapter VMware Network Adapter VMnet1:
    
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
       Physical Address. . . . . . . . . : 00-50-56-C0-00-01
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 192.168.163.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
    Ethernet adapter VMware Network Adapter VMnet8:
    
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
       Physical Address. . . . . . . . . : 00-50-56-C0-00-08
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 192.168.211.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Enabled
    ROUTE PRINT
    Code:
    ===========================================================================
    Interface List
     11...00 19 99 a7 ad 7f ......Broadcom NetLink (TM) Gigabit Ethernet
     17...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
     18...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8
      1...........................Software Loopback Interface 1
    ===========================================================================
    
    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      85.25.100.1    85.25.100.203     21
          85.25.100.0    255.255.255.0         On-link     85.25.100.203    276
        85.25.100.203  255.255.255.255         On-link     85.25.100.203    276
        85.25.100.255  255.255.255.255         On-link     85.25.100.203    276
            127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
            127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
      127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
        192.168.163.0    255.255.255.0         On-link     192.168.163.1    276
        192.168.163.1  255.255.255.255         On-link     192.168.163.1    276
      192.168.163.255  255.255.255.255         On-link     192.168.163.1    276
        192.168.211.0    255.255.255.0         On-link     192.168.211.1    276
        192.168.211.1  255.255.255.255         On-link     192.168.211.1    276
      192.168.211.255  255.255.255.255         On-link     192.168.211.1    276
            224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
            224.0.0.0        240.0.0.0         On-link     85.25.100.203    276
            224.0.0.0        240.0.0.0         On-link     192.168.163.1    276
            224.0.0.0        240.0.0.0         On-link     192.168.211.1    276
      255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      255.255.255.255  255.255.255.255         On-link     85.25.100.203    276
      255.255.255.255  255.255.255.255         On-link     192.168.163.1    276
      255.255.255.255  255.255.255.255         On-link     192.168.211.1    276
    ===========================================================================
    Persistent Routes:
      Network Address          Netmask  Gateway Address  Metric
              0.0.0.0          0.0.0.0      85.25.100.1       1
    ===========================================================================
    
    IPv6 Route Table
    ===========================================================================
    Active Routes:
     If Metric Network Destination      Gateway
      1    306 ::1/128                  On-link
      1    306 ff00::/8                 On-link
    ===========================================================================
    Persistent Routes:
      None
    netstat -abno | FINDSTR "LISTS"
    Code:
    TCP    0.0.0.0:25             0.0.0.0:0              LISTENING       1428
    TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:110            0.0.0.0:0              LISTENING       1408
    TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       648
    TCP    0.0.0.0:143            0.0.0.0:0              LISTENING       1288
    TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:912            0.0.0.0:0              LISTENING       5368
    TCP    0.0.0.0:1433           0.0.0.0:0              LISTENING       1696
    TCP    0.0.0.0:2103           0.0.0.0:0              LISTENING       5144
    TCP    0.0.0.0:2105           0.0.0.0:0              LISTENING       5144
    TCP    0.0.0.0:2107           0.0.0.0:0              LISTENING       5144
    TCP    0.0.0.0:3306           0.0.0.0:0              LISTENING       1156
    TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING       3236
    TCP    0.0.0.0:8306           0.0.0.0:0              LISTENING       2356
    TCP    0.0.0.0:8443           0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:8880           0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING       4
    TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       372
    TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       716
    TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       792
    TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING       468
    TCP    0.0.0.0:49157          0.0.0.0:0              LISTENING       460
    TCP    0.0.0.0:49158          0.0.0.0:0              LISTENING       3272
    TCP    0.0.0.0:49789          0.0.0.0:0              LISTENING       1544
    TCP    0.0.0.0:50399          0.0.0.0:0              LISTENING       5144
    TCP    85.25.100.203:53       0.0.0.0:0              LISTENING       1812
    TCP    85.25.100.203:139      0.0.0.0:0              LISTENING       4
    TCP    85.25.100.203:1801     0.0.0.0:0              LISTENING       5144
    TCP    127.0.0.1:53           0.0.0.0:0              LISTENING       1812
    TCP    127.0.0.1:953          0.0.0.0:0              LISTENING       1812
    TCP    127.0.0.1:8106         0.0.0.0:0              LISTENING       2852
    TCP    127.0.0.1:50797        0.0.0.0:0              LISTENING       1596
    TCP    192.168.163.1:53       0.0.0.0:0              LISTENING       1812
    TCP    192.168.163.1:139      0.0.0.0:0              LISTENING       4
    TCP    192.168.163.1:1801     0.0.0.0:0              LISTENING       5144
    TCP    192.168.211.1:53       0.0.0.0:0              LISTENING       1812
    TCP    192.168.211.1:139      0.0.0.0:0              LISTENING       4
    TCP    192.168.211.1:1801     0.0.0.0:0              LISTENING       5144
    TCP    [::]:25                [::]:0                 LISTENING       1428
    TCP    [::]:80                [::]:0                 LISTENING       4
    TCP    [::]:110               [::]:0                 LISTENING       1408
    TCP    [::]:135               [::]:0                 LISTENING       648
    TCP    [::]:143               [::]:0                 LISTENING       1288
    TCP    [::]:445               [::]:0                 LISTENING       4
    TCP    [::]:1433              [::]:0                 LISTENING       1696
    TCP    [::]:2103              [::]:0                 LISTENING       5144
    TCP    [::]:2105              [::]:0                 LISTENING       5144
    TCP    [::]:2107              [::]:0                 LISTENING       5144
    TCP    [::]:3389              [::]:0                 LISTENING       3236
    TCP    [::]:8443              [::]:0                 LISTENING       4
    TCP    [::]:8880              [::]:0                 LISTENING       4
    TCP    [::]:47001             [::]:0                 LISTENING       4
    TCP    [::]:49152             [::]:0                 LISTENING       372
    TCP    [::]:49153             [::]:0                 LISTENING       716
    TCP    [::]:49154             [::]:0                 LISTENING       792
    TCP    [::]:49155             [::]:0                 LISTENING       468
    TCP    [::]:49157             [::]:0                 LISTENING       460
    TCP    [::]:49158             [::]:0                 LISTENING       3272
    TCP    [::]:49789             [::]:0                 LISTENING       1544
    TCP    [::]:50399             [::]:0                 LISTENING       5144
    TCP    [::1]:953              [::]:0                 LISTENING       1812
    TCP    [::1]:1801             [::]:0                 LISTENING       5144
    NETSH FIREWALL SHOW
    Code:
    The following commands are available:

  7. #27
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ISP blocks ports

    no, if you already have root powers, sudo is not needed. sorry, those instructions were more tailored to ubuntu or a sudoing distro.

    ok, nothing appears to be wrong, there, but we can dig deeper if needbe.

    you said you could ssh in to the windows box, right?
    there doesn't appear to be an ssh service on the windows box, so it does look like the port is being forwarded. if you can connect to ssh, that solves the issue, right?

    if you don;t know which host you are remoted into, simply enter
    Code:
    hostname
    to see which one you are connected to.

    when you are connecting to a NATted system, then you call the exterior address of the nat, rather than the local address of the guest machine.
    Last edited by doas777; July 20th, 2011 at 02:47 AM.
    Things are rarely just crazy enough to work, but they're frequently just crazy enough to fail hilariously.

  8. #28
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: ISP blocks ports

    Quote Originally Posted by doas777 View Post
    what we are trying to tell you, is that NAT won't work, unless you:
    1) run your virtual service on a port that is not in use by the host (eg, since the host runs ssh on 22, you cannot use 22 on your guest).
    2) you must forward the port on your VM nat to the guest:
    (VirtualBox)
    http://www.aviransplace.com/2008/06/...ding-with-nat/
    (VMWare)
    http://www.conetrix.com/Blog/post/Po...using-NAT.aspx
    Thanks for that, I didn't know you could do that.

    Quote Originally Posted by rafaelvidal View Post
    Here goes the asked information.
    I don't have sudo installed, should I install?
    sudo is only used to run that command as root.

    ufw is just a frontend for iptables so post this please (run it as root, if you need to):

    Code:
    iptables -L
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #29
    Join Date
    Jul 2011
    Beans
    52

    Re: ISP blocks ports

    Quote Originally Posted by doas777 View Post
    no, if you already have root powers, sudo is not needed. sorry, those instructions were more tailored to ubuntu or a sudoing distro.

    ok, nothing appears to be wrong, there, but we can dig deeper if needbe.

    you said you could ssh in to the windows box, right?
    there doesn't appear to be an ssh service on the windows box, so it does look like the port is being forwarded. if you can connect to ssh, that solves the issue, right?

    if you don;t know which host you are remoted into, simply enter
    Code:
    hostname
    to see which one you are connected to.

    when you are connecting to a NATted system, then you call the exterior address of the nat, rather than the local address of the guest machine.
    From the dedicated server I can connect through SSH.

    From my personal computer I can't...I want to connect from personal computer.

  10. #30
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ISP blocks ports

    Quote Originally Posted by rafaelvidal View Post
    From the dedicated server I can connect through SSH.

    From my personal computer I can't...I want to connect from personal computer.
    ok. what command are you using to ssh to the guest from within the host, exactly?

    From the server, go to http://www.canyouseeme.org/ and put in 22. can it see you?

    if not, then your port forwarding is not working.

    did you follow directions like these for forwarding the vmware nat to port 22?
    http://www.howtogeek.com/howto/vmwar...ther-computer/
    Things are rarely just crazy enough to work, but they're frequently just crazy enough to fail hilariously.

Page 3 of 7 FirstFirst 12345 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •