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!

Cannot SSH server on other side of 506E

Status
Not open for further replies.

gchurch

IS-IT--Management
Dec 2, 2003
7
GB
Hi There

I am struggling to configure my first pix - a 506e. I cannot get through to the webserver on the other side with some services. It works ok with http and https but not with ssh and ftp. I can ssh into the pix itself no problem but not the server on the other side.

Any help would be much appreciated.


PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password h6nej2OeTAsIGpgm encrypted
passwd h6nej2OeTAsIGpgm encrypted
hostname pixfirewall
domain-name ciscopix.com
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1828-1829
fixup protocol http 80
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
access-list inbound permit tcp any host 231.232.82.40 eq imap4
access-list inbound permit tcp any host 231.232.82.40 eq www
access-list inbound permit tcp any host 231.232.82.40 eq ssh
access-list inbound permit tcp any host 231.232.82.40 eq https
access-list inbound permit tcp any host 231.232.82.40 eq 2083
access-list inbound permit tcp any host 231.232.82.40 eq 2087
access-list inbound permit tcp any host 231.232.82.40 eq ftp
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 231.232.82.34 255.255.255.240
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool vpnpool 192.168.0.201-192.168.0.204
pdm location 192.168.1.11 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 231.232.82.35-231.232.82.46 netmask 255.255.255.240
static (inside,outside) 231.232.82.40 192.168.1.11 netmask 255.255.255.255 0 0
access-group inbound in interface outside
route outside 0.0.0.0 0.0.0.0 231.232.82.33 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
http server enable
http 0.0.0.0 0.0.0.0 outside
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-pptp
ca identity cpix 231.232.82.34:/cgi-bin
ca configure cpix ca 1 0
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
console timeout 0
vpdn group PPTP-VPDN-GROUP accept dialin pptp
vpdn group PPTP-VPDN-GROUP ppp authentication mschap
vpdn group PPTP-VPDN-GROUP ppp encryption mppe auto
vpdn group PPTP-VPDN-GROUP client configuration address local vpnpool
vpdn group PPTP-VPDN-GROUP client configuration dns 231.166.0.210 231.166.0.218
vpdn group PPTP-VPDN-GROUP pptp echo 60
vpdn group PPTP-VPDN-GROUP client authentication local
vpdn username user1 password *********
vpdn enable outside
dhcpd address 231.232.82.35-231.232.82.46 outside
dhcpd address 192.168.1.2-192.168.1.254 inside
dhcpd lease 3600
dhcpd ping_timeout 750
terminal width 80
Cryptochecksum:bbff01e5d96bf64edd1ce1efd89eaf08
: end
[OK]
 
Hi,

I'm no expert (someone correct me, I am also just learning) but I do not see any rules allowing SSH or FTP to the webserver. I do however see them being allowed to the Public Interface of the firwall.

Lou
 
The webserver is at 231.232.82.40 so I am hoping that this allows it -

access-list inbound permit tcp any host 231.232.82.40 eq ssh
access-list inbound permit tcp any host 231.232.82.40 eq ftp

I have also added this line -

access-list inbound permit tcp any host 231.232.82.40 eq ftp-data

still no joy. Any ideas?

Graham Church
1HostUK Limited
 
Hi,

Have you tried, as a test, to allow SSH or FTP to ANY? Does it work then?

You may also want to try an FTP test with Fixup for FTP disabled.

Lou
 

Again I'm not sure here, but is it possible that the lines should read as such:

access-list inbound permit tcp any host 192.168.1.11 eq ssh
access-list inbound permit tcp any host 192.168.1.11 eq ftp

Lou
 
Hi Lou

Thanks for taking the time to help out.

Yes, I have tried 'any' on both SSH & FTP - no joy
Also tried no fixup on FTP - Still nothing

Any other ideas?

Graham Church
1HostUK Limited
 
I am trying to figure out the same thing.. Maybe?



access-list inbound permit tcp any host 231.232.82.34 eq ssh

I generated a ca Key

ca generate rsa key 2048 For <key_modulus_size> >= 1024
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top