Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - Cisco Model 91 - Help on how to create 1 DMZ IP with CLI?

 
Thread Tools Search this Thread
Old 02-20-2004, 02:59 AM   #1
Default Cisco Model 91 - Help on how to create 1 DMZ IP with CLI?


I had to disable the http interface on this SOHO router because I
couldn't use it for PAT when I wanted to translate from an obscure
higher port on eth1 to 80 on two different web servers. The router's
http configuration interface allows setting one IP on DMZ - but I
don't know how to use CLI to do it. BTW, strangely, on this router
eth1 is the WAN side - not what I'm used to.

Now, I want to DMZ a single IP for all ports.protocols, and I'm stuck.

Frankly, I'm a newbie and wonder if someone can give me an example of
a DMZ setup using access-lists or just PAT. But, with PAT it seems one
has to direct to a specific service/port on the IP.


Saul Louis
  Reply With Quote
Old 02-20-2004, 06:40 AM   #2
Artem
 
Posts: n/a
Default Re: Cisco Model 91 - Help on how to create 1 DMZ IP with CLI?
I had similar problem with opening up non-standard ports to an internal
host. Port to application mapping (PAM) ip port-map didn't work for me
because it allows forwards only for predefined apps, so I use ip nat
commands. Cisco's nat is very flexible and allows to do almost any
translation.

Here is an example of session setting up NAT PAT using telnet CLI:
(of course you don't need to type anything before > or #
-------------------------------------------------
telnet <Router IP>
Username: ********
Password: ********
router>enable
Password: ********
router#conf t
router(config)#ip nat inside source static <DMZ IP> interface <WAN
interface>
router(config)#interface <LAN interface>
router(config-if)#ip nat inside
router(config-if)#end
router(config)#interface <WAN interface>
router(config-if)#ip nat outside
router(config-if)#end
router(config)#ip nat inside source list 120 interface <WAN interface>
overload
router(config)#access-list 120 permit ip <DMZ IP> 0.0.0.0 any
router(config)#end
router#exit
-------------------------------------------------
You can find details on the cisco web site. There is no extendable key
word in ip nat config because looks like it doesn't work at least in the
router I have.
To check the translation table:
router#show ip nat translations
Pro Inside global Inside local Outside local
Outside global
--- <WAN IP> <DMZ IP> --- ---

BTW, I have Dialer1 as WAN interface.



Saul Louis wrote:
> I had to disable the http interface on this SOHO router because I
> couldn't use it for PAT when I wanted to translate from an obscure
> higher port on eth1 to 80 on two different web servers. The router's
> http configuration interface allows setting one IP on DMZ - but I
> don't know how to use CLI to do it. BTW, strangely, on this router
> eth1 is the WAN side - not what I'm used to.
>
> Now, I want to DMZ a single IP for all ports.protocols, and I'm stuck.
>
> Frankly, I'm a newbie and wonder if someone can give me an example of
> a DMZ setup using access-lists or just PAT. But, with PAT it seems one
> has to direct to a specific service/port on the IP.



Artem
  Reply With Quote
Old 02-20-2004, 06:03 PM   #3
Saul Louis
 
Posts: n/a
Default Re: Cisco Model 91 - Help on how to create 1 DMZ IP with CLI?
Thank you very much!

The configuration works.

Again, I appreciate your time.

Saul


Artem <em2351-> wrote in message news:<VZhZb.24466$ om>...
> I had similar problem with opening up non-standard ports to an internal
> host. Port to application mapping (PAM) ip port-map didn't work for me
> because it allows forwards only for predefined apps, so I use ip nat
> commands. Cisco's nat is very flexible and allows to do almost any
> translation.
>
> Here is an example of session setting up NAT PAT using telnet CLI:
> (of course you don't need to type anything before > or #
> -------------------------------------------------
> telnet <Router IP>
> Username: ********
> Password: ********
> router>enable
> Password: ********
> router#conf t
> router(config)#ip nat inside source static <DMZ IP> interface <WAN
> interface>
> router(config)#interface <LAN interface>
> router(config-if)#ip nat inside
> router(config-if)#end
> router(config)#interface <WAN interface>
> router(config-if)#ip nat outside
> router(config-if)#end
> router(config)#ip nat inside source list 120 interface <WAN interface>
> overload
> router(config)#access-list 120 permit ip <DMZ IP> 0.0.0.0 any
> router(config)#end
> router#exit
> -------------------------------------------------
> You can find details on the cisco web site. There is no extendable key
> word in ip nat config because looks like it doesn't work at least in the
> router I have.
> To check the translation table:
> router#show ip nat translations
> Pro Inside global Inside local Outside local
> Outside global
> --- <WAN IP> <DMZ IP> --- ---
>
> BTW, I have Dialer1 as WAN interface.
>
>
>
> Saul Louis wrote:
> > I had to disable the http interface on this SOHO router because I
> > couldn't use it for PAT when I wanted to translate from an obscure
> > higher port on eth1 to 80 on two different web servers. The router's
> > http configuration interface allows setting one IP on DMZ - but I
> > don't know how to use CLI to do it. BTW, strangely, on this router
> > eth1 is the WAN side - not what I'm used to.
> >
> > Now, I want to DMZ a single IP for all ports.protocols, and I'm stuck.
> >
> > Frankly, I'm a newbie and wonder if someone can give me an example of
> > a DMZ setup using access-lists or just PAT. But, with PAT it seems one
> > has to direct to a specific service/port on the IP.



Saul Louis
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to burn copy CD/DVD and create Data/Audio/Video Disc? dvdloveri Software 6 07-27-2009 07:58 AM
Cisco 6509, SUP2, IPv6, upgrade IOS failed fabianV Hardware 0 07-06-2009 04:33 PM
Cisco 871 and NAT Beachguy General Help Related Topics 0 05-19-2009 09:03 PM
Intermittent 100% Backplane Utilisation on Cisco 6500 pkcwu Hardware 0 11-13-2008 12:13 AM
Immediate Cisco ICM Engineer Opportunity StevenFalcon Hardware 0 03-07-2007 04:17 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46