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!

Allowing telnet access from outside my PIX firewall to a specific host

Status
Not open for further replies.

chlorophyl

IS-IT--Management
Dec 19, 2003
1
US
I have seen some postings on this and thought I did everything I needed... However. I am trying to allow an isolated segment on my network access through my PIX firewall to telnet to a specific host on a non-standard telnet port (3340).

host/subnet information:

External Addresses:
Subnet: 192.168.1.0 255.255.255.0
Firewall: 192.168.1.1
Server: 192.168.1.3 (10.1.5.60 internally)

Internal Addresses of Interest:
Firewall Subnet: 10.1.171.0
Local Router: 10.1.171.1
Firewall Address: 10.1.171.43
Server: 10.1.5.60 (telnet to port 3340)

PIX configuration:

PIX Version 6.2(2)

nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XXX encrypted
passwd ZZZ encrypted
hostname mypix
domain-name mycompany.com
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
names
access-list acl_out permit tcp any host 192.168.1.3 eq 3340
pager lines 24
interface ethernet0 10baset
interface ethernet1 10full
mtu outside 1500
mtu inside 1500
ip address outside 192.168.1.1 255.255.255.0
ip address inside 10.1.171.43 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.1.152.21 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 192.168.1.2-192.168.1.3
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 192.168.1.3 10.1.5.60 netmask 255.255.255.255 0 0
access-group acl_out in interface outside
route inside 0.0.0.0 0.0.0.0 10.1.171.1 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 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
http server enable
http 10.1.171.0 255.255.255.0 inside
http 10.1.152.21 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
no sysopt route dnat
telnet 10.1.171.0 255.255.255.0 inside
telnet 10.1.152.21 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
 
Hmm, are you trying from a pc directly on the outside interface, you have no routing on the outside....your default route points to an inside ip.

Looks like a routing issue to me, cause the acl and the nat config is fine. All except for 192.168.1.3 being part of the global scope, you should remove it from the global commands.


Jan

Network Systems Engineer
CCNA/CQS/CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top