Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Can you do static translation/port forwarding on Nat'ed IP on a PIX?

Reply
Thread Tools

Can you do static translation/port forwarding on Nat'ed IP on a PIX?

 
 
BitBucket
Guest
Posts: n/a
 
      11-01-2003
Hello all. Can you do a translation to the inside, for lets say www and
smtp and pop3 using the 1 nat'ed IP that everyone uses to get on the
internet? This is on a PIX 515e.

If I have confused you thouroughly, maybe this sample config will help you
see what I am needing to know. Public IP's have been changed to protect the
innocent.

ip address outside 123.123.123.2 255.255.255.0
ip address inside 192.168.1.1 255.255.255.0
global (outside) 1 interface
nat (inside) 1 192.168.1.0 255.255.255.0 0 0
static (inside,outside) 123.123.123.2 192.168.1.5 netmask 255.255.255.255 0
0
static (inside,outside) 123.123.123.2 192.168.1.5 netmask 255.255.255.255 0
0
static (inside,outside) 123.123.123.2 192.168.1.5 netmask 255.255.255.255 0
0
access-list outside_access_in permit tcp any host 123.123.123.2 eq smtp
access-list outside_access_in permit tcp any host 123.123.123.2 eq pop3
access-list outside_access_in permit tcp any host 123.123.123.2 eq www

Can this be done?

Many thanks!


 
Reply With Quote
 
 
 
 
BitBucket
Guest
Posts: n/a
 
      11-01-2003
Ignore the 2 extra static translations. I had a brain fart. There should
only be the 1 static with 3 access rules.

Thanks again!


"BitBucket" <> wrote in message
news:bo145m$d69$...
> Hello all. Can you do a translation to the inside, for lets say www and
> smtp and pop3 using the 1 nat'ed IP that everyone uses to get on the
> internet? This is on a PIX 515e.
>
> If I have confused you thouroughly, maybe this sample config will help you
> see what I am needing to know. Public IP's have been changed to protect

the
> innocent.
>
> ip address outside 123.123.123.2 255.255.255.0
> ip address inside 192.168.1.1 255.255.255.0
> global (outside) 1 interface
> nat (inside) 1 192.168.1.0 255.255.255.0 0 0
> static (inside,outside) 123.123.123.2 192.168.1.5 netmask 255.255.255.255

0
> 0
> static (inside,outside) 123.123.123.2 192.168.1.5 netmask 255.255.255.255

0
> 0
> static (inside,outside) 123.123.123.2 192.168.1.5 netmask 255.255.255.255

0
> 0
> access-list outside_access_in permit tcp any host 123.123.123.2 eq smtp
> access-list outside_access_in permit tcp any host 123.123.123.2 eq pop3
> access-list outside_access_in permit tcp any host 123.123.123.2 eq www
>
> Can this be done?
>
> Many thanks!
>
>



 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      11-01-2003
In article <bo145m$d69$>,
BitBucket <> wrote:
:Hello all. Can you do a translation to the inside, for lets say www and
:smtp and pop3 using the 1 nat'ed IP that everyone uses to get on the
:internet? This is on a PIX 515e.

:If I have confused you thouroughly, maybe this sample config will help you
:see what I am needing to know. Public IP's have been changed to protect the
:innocent.

:ip address outside 123.123.123.2 255.255.255.0
:ip address inside 192.168.1.1 255.255.255.0
:global (outside) 1 interface
:nat (inside) 1 192.168.1.0 255.255.255.0 0 0
:static (inside,outside) 123.123.123.2 192.168.1.5 netmask 255.255.255.255 0 0

Change the outside IP address there to the literal word interface

static (inside,outside) interface 192.168.1.5 netmask 255.255.255.255 0 0


--
We don't need no side effect-ing
We don't need no scope control
No global variables for execution
Hey! Did you leave those args alone? -- decvax!utzoo!utcsrgv!roderick
 
Reply With Quote
 
BitBucket
Guest
Posts: n/a
 
      11-03-2003
Thank you walter!


"Walter Roberson" <> wrote in message
news:bo1h0k$c0$...
> In article <bo145m$d69$>,
> BitBucket <> wrote:
> :Hello all. Can you do a translation to the inside, for lets say www and
> :smtp and pop3 using the 1 nat'ed IP that everyone uses to get on the
> :internet? This is on a PIX 515e.
>
> :If I have confused you thouroughly, maybe this sample config will help

you
> :see what I am needing to know. Public IP's have been changed to protect

the
> :innocent.
>
> :ip address outside 123.123.123.2 255.255.255.0
> :ip address inside 192.168.1.1 255.255.255.0
> :global (outside) 1 interface
> :nat (inside) 1 192.168.1.0 255.255.255.0 0 0
> :static (inside,outside) 123.123.123.2 192.168.1.5 netmask

255.255.255.255 0 0
>
> Change the outside IP address there to the literal word interface
>
> static (inside,outside) interface 192.168.1.5 netmask 255.255.255.255 0 0
>
>
> --
> We don't need no side effect-ing
> We don't need no scope control
> No global variables for execution
> Hey! Did you leave those args alone? --

decvax!utzoo!utcsrgv!roderick


 
Reply With Quote
 
BitBucket
Guest
Posts: n/a
 
      11-03-2003
Thank you walter!


"Walter Roberson" <> wrote in message
news:bo1h0k$c0$...
> In article <bo145m$d69$>,
> BitBucket <> wrote:
> :Hello all. Can you do a translation to the inside, for lets say www and
> :smtp and pop3 using the 1 nat'ed IP that everyone uses to get on the
> :internet? This is on a PIX 515e.
>
> :If I have confused you thouroughly, maybe this sample config will help

you
> :see what I am needing to know. Public IP's have been changed to protect

the
> :innocent.
>
> :ip address outside 123.123.123.2 255.255.255.0
> :ip address inside 192.168.1.1 255.255.255.0
> :global (outside) 1 interface
> :nat (inside) 1 192.168.1.0 255.255.255.0 0 0
> :static (inside,outside) 123.123.123.2 192.168.1.5 netmask

255.255.255.255 0 0
>
> Change the outside IP address there to the literal word interface
>
> static (inside,outside) interface 192.168.1.5 netmask 255.255.255.255 0 0
>
>
> --
> We don't need no side effect-ing
> We don't need no scope control
> No global variables for execution
> Hey! Did you leave those args alone? --

decvax!utzoo!utcsrgv!roderick


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
forwarding Args&&... vs forwarding Args... Andrew Tomazos C++ 5 01-05-2012 11:15 PM
I have no idea, you didn't say what country state or city you're in and you can't even write a proper post anyways. richard Computer Support 7 08-01-2010 09:12 PM
if you have free time ,you can chose the pro of you like sara_love67 Computer Support 7 09-25-2007 08:29 PM
if you have free time ,you can chose the pro of you like sara_love67 Digital Photography 0 09-24-2007 08:19 PM
Can't access static member var from static method. Why? Markus Dehmann C++ 5 07-01-2004 04:16 PM



Advertisments