Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie in desperate need of configuration help!!!! 2

Status
Not open for further replies.

toksoladuti

IS-IT--Management
Apr 11, 2001
62
GB
Hi,

the genius in our U.S. Head Office decided to replace the Watchguard firewalls in our U.K. office with a Cisco PIX 501, before getting me trained. Therefore I need help!!! At the moment all users can get online as the firewall is setup mainly with the default PAT configuration. However, I have to configure some port redirection for various services. My firewalls external IP is 217.206.x.x and I need:

TCP ports 5631 and 3000 and UDP ports 5632 and 5633 to go to internal IP 192.168.13.1

TCP port 5633 and UDP port 5634 to go to internal IP 192.168.13.21

Please help, my current configration is below:

PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxxxxxxxxxxxxxx encrypted
passwd xxxxxxxxxxxxxxxx encrypted
hostname UKPIX
domain-name ciscopix.com
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol http 3000
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
names
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 217.206.x.x 255.255.255.248
ip address inside 192.168.13.2 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 81.168.x.x 255.255.255.255 outside
pdm location 64.208.x.x 255.255.255.255 outside
pdm location 81.168.x.0 255.255.255.255 outside
pdm location 195.137.x.x 255.255.255.255 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 217.206.x.x 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
aaa authentication ssh console LOCAL
http server enable
http 0.0.0.0 0.0.0.0 outside
http 192.168.13.0 255.255.255.0 inside
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet 0.0.0.0 0.0.0.0 outside
telnet 81.168.x.x 255.255.255.255 outside
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 64.208.x.x 255.255.255.255 outside
ssh 81.168.x.x 255.255.255.255 outside
ssh 195.137.x.x 255.255.255.255 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
console timeout 0
dhcpd address 192.168.13.3-192.168.13.34 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
username xxxxxxxx password xxxxxxxxx encrypted privilege 15
terminal width 80
Cryptochecksum:962b7bfd216a8c9e34272cf8506d617d
: end


Thanks.
 
Try this

this will do the port redirections you want as well as sets up an ACL for the ip's and ports

static (inside, outside) tcp interface 5631 192.168.13.1 5631
static (inside, outside) tcp interface 3000 192.168.13.1 3000
static (inside, outside) udp interface 5632 192.168.13.1 5632
static (inside, outside) udp interface 5633 192.168.13.1 5633

static (inside, outside) tcp interface 5633 192.168.13.21 5633
static (inside, outside) udp interface 5634 192.168.13.21 5634

:NOTE: Allows ping for testing
access-l 100 permit icmp any any

:NOTE: allows the traffic for 192.168.13.1
access-l 100 permit tcp any host 217.206.x.x eq 5631
access-l 100 permit tcp any host 217.206.x.x eq 3000
access-l 100 permit udp any host 217.206.x.x eq 5632
access-l 100 permit udp any host 217.206.x.x eq 5633

:NOTE: allows the traffic for 192.168.13.21
access-l 100 permit tcp any host 217.206.x.x eq 5633
access-l 100 permit udp any host 217.206.x.x eq 5634

:NOTE: applies the access list to an interface
access-g 100 in interface outside
 
A thousands thanks to br0ck this work perfectly and thanks for the explaining notes, they've improve my understanding of this firewall tenfold.

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top