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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PIX 501 port redirection problem

Status
Not open for further replies.

rancidswan

Technical User
Oct 29, 2009
2
GB

Hi All

This is my first post, as I'm having some issues with our PIX 501 config.

Here's the situation. We would like to redirect a specific internal IP and Port to an external IP and Port, namely 10.6.40.40:993 to 74.125.79.111:993.

We tried the following two entries, which didn't work

static (inside,outside) TCP 10.6.40.40 993 74.125.79.111 993 netmask 255.255.255.255 0 0

access-list outside_in permit tcp any any eq 993

Any help woud be greatly appreciated as we have very little PIX experience here.

Also, here's the rest of the PIX info:

PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname online-firewall
no fixup protocol dns
no fixup protocol ftp 21
no fixup protocol h323 h225 1720
no fixup protocol h323 ras 1718-1719
no fixup protocol http 80
no fixup protocol rsh 514
no fixup protocol rtsp 554
no fixup protocol sip 5060
no fixup protocol sip udp 5060
no fixup protocol skinny 2000
no fixup protocol smtp 25
no fixup protocol sqlnet 1521
no fixup protocol tftp 69
names
name 192.168.1.1 vigor
access-list outside_in permit tcp any any eq 993
no pager
mtu outside 1500
mtu inside 1500
ip address outside 192.168.1.100 255.255.255.0
ip address inside 10.6.40.40 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
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
static (inside,outside) tcp 10.6.40.40 993 74.125.79.111 993 netmask 255.255.255.255 0 0
route outside 0.0.0.0 0.0.0.0 vigor 1
route inside 10.0.0.0 255.0.0.0 10.6.40.254 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 TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet 10.6.40.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80


Thanks
rancidswan
 
add this
access-group acl_name in interface outside

Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Isn't this

static (inside,outside) TCP 10.6.40.40 993 74.125.79.111 993 netmask 255.255.255.255 0 0

backwards? Shouldn't it be

static (inside,outside) TCP 74.125.79.111 993 10.6.40.40 993 netmask 255.255.255.255 0 0

???

static (inside,outside) outside_ip_address port inside_ip_address port

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
good catch burt

Brent
Systems Engineer / Consultant
CCNP, CCSP
 

Thanks for your help guys, still no joy at this stage, here's the current config:

PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 5Oe1NC3wLzCeZjFe encrypted
passwd 5Oe1NC3wLzCeZjFe encrypted
hostname online-firewall
no fixup protocol dns
no fixup protocol ftp 21
no fixup protocol h323 h225 1720
no fixup protocol h323 ras 1718-1719
no fixup protocol http 80
no fixup protocol rsh 514
no fixup protocol rtsp 554
no fixup protocol sip 5060
no fixup protocol sip udp 5060
no fixup protocol skinny 2000
no fixup protocol smtp 25
no fixup protocol sqlnet 1521
no fixup protocol tftp 69
no names
name 192.168.1.1 vigor
access-list outside_in permit tcp any any eq 993
no pager
logging on
logging trap informational
logging host inside 10.6.40.229
no logging message 305012
no logging message 305011
no logging message 302015
no logging message 302014
no logging message 302013
no logging message 302016
mtu outside 1500
mtu inside 1500
ip address outside 192.168.1.100 255.255.255.0
ip address inside 10.6.40.40 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
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
static (inside,outside) tcp 74.125.79.111 993 10.6.40.40 993 netmask 255.255.255.255 0 0
access-group outside_in in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.1.1 1
route inside 10.0.0.0 255.0.0.0 10.6.40.254 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 TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet 10.6.40.0 255.255.255.0 inside
telnet timeout 15
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:2863ac5ea3bd0a61f4948c2d78d5a71c
: end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top