Cisco 827 Wildcards

Discussion in 'Cisco' started by paulcd, Apr 23, 2008.

  1. paulcd

    paulcd

    Joined:
    Apr 23, 2008
    Messages:
    2
    I have a customer who is connecting remotely using VNC to a computer inside an office network that has a Cisco 827 connecting to the Internet. Previously the remote PC had a static IP address and I was using the following syntax to restrict access to this address:

    access-list 101 permit tcp host 1.2.3.4 host 4.5.6.7 eq 5900

    where 1.2.3.4 is the remote static IP and 4.5.6.7 is the Cisco static IP and port 5900 is for VNC. I have another entry earlier it pinhole 5900 as follows:

    ip nat inside source static tcp 192.168.1.6 5900 4.5.6.7 5900 extendable

    where 192.168.1.6 is the VNC host PC inside the office network.

    The customer is now using a 3G card which can't get a static address. However they IP they get assigned is within an IP address range such that the first 2 octets are the same. ie 1.2.33.44 or 1.2.55.66. I entered the following line into the Cisco box but it isn't allowing access.

    access-list 101 permit tcp host 1.2.0.0 host 4.5.6.7 eq 5900

    I figured the .0.0 should allow access to anyone connecting from 1.2.x.y. Can anyone please enlighten me on how to make this work?
     
    paulcd, Apr 23, 2008
    #1
    1. Advertising

  2. paulcd

    paulcd

    Joined:
    Apr 23, 2008
    Messages:
    2
    I have found a solution (it works):

    access-list 101 permit tcp host 1.2.3.4 host 4.5.6.7 eq 5900

    becomes

    access-list 101 permit tcp 1.2.0.0 0.0.255.255 host 4.5.6.7 eq 5900
     
    paulcd, Apr 25, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Beppe
    Replies:
    0
    Views:
    4,153
    Beppe
    Jul 8, 2003
  2. Gadh
    Replies:
    1
    Views:
    653
    TheRealSlimShady
    Aug 27, 2003
  3. Martin Bilgrav

    wildcards ?

    Martin Bilgrav, Sep 5, 2005, in forum: Cisco
    Replies:
    2
    Views:
    612
    Martin Bilgrav
    Sep 5, 2005
  4. Arnold Ligtvoet

    ENUM & Bind9 wildcards?

    Arnold Ligtvoet, Jul 25, 2005, in forum: VOIP
    Replies:
    6
    Views:
    2,381
    Arnold Ligtvoet
    Jul 28, 2005
  5. Simon Gronow

    Cisco 877 & Cisco 827 as backup

    Simon Gronow, Dec 17, 2006, in forum: Cisco
    Replies:
    2
    Views:
    579
    Simon Gronow
    Dec 18, 2006
Loading...

Share This Page