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

Connect to web server through vpn 1

Status
Not open for further replies.

fathead

IS-IT--Management
Apr 13, 2002
154
I am trying to connect to a web server through my vpn. I can ping, telnet, etc., but I can't open a web page throught the vpn. It is probably something really simple, but I am new to configuring a PIX. Any suggestons?

 
Do you mean that you cannot open a specific web page or all http/https web sites?

Are you going to open a web page on the Internet while you're connected to the VPN? Or actually you're trying to open a web page inside your VPN, such as corporate intranet web site?

Can you ping using 1500 bytes ping packet?

Do you have your DNS probably configured on your PC?

Do you have any ACLs blocking http/https?
 
I can't open a web site on the corporate intranet. It is on the other side of the VPN. I can open web sites on the internet

I can ping the web server, but I can't ping with 1500 byte packets.

DNS is correct.

I don't think I have any ACL's blocking.

Here's the config:

Building configuration...
: Saved
:
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password qNCgH3rhV8678j/J encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name ciscopix.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
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
fixup protocol tftp 69
names
name 172.16.34.0 twc-jack
name 172.16.34.11 GW-Srv1
object-group service webbrowser tcp
port-object eq https
port-object eq www
object-group network config
network-object 68.***.***.*** 255.255.255.0
network-object 68.***.***.*** 255.255.255.255
network-object 255.255.255.255 255.255.255.255
access-list inside_outbound_nat0_acl permit ip 172.21.18.0 255.255.255.0 twc-jack 255.255.255.0
access-list outside_cryptomap_20 permit ip 172.21.18.0 255.255.255.0 twc-jack 255.255.255.0
access-list inmap permit tcp any host 64.***.***.*** eq 5900
access-list inmap permit tcp any host 64.***.***.*** eq 5901
pager lines 24
icmp permit 67.***.***.*** 255.255.255.0 outside
icmp permit twc-jack 255.255.255.0 inside
mtu outside 1500
mtu inside 1500
ip address outside pppoe setroute
ip address inside 172.21.18.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 172.21.18.0 255.255.255.0 inside
pdm location 24.***.***.*** 255.255.255.255 outside
pdm location 67.***.***.*** 255.255.255.255 outside
pdm location 24.***.***.*** 255.255.255.255 inside
pdm location twc-jack 255.255.255.0 outside
pdm location 64.***.***.*** 255.255.255.255 outside
pdm location GW-Srv1 255.255.255.255 outside
pdm location 172.21.18.12 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface 5900 172.21.18.12 5900 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 5901 172.21.18.12 5901 netmask 255.255.255.255 0 0
access-group inmap in interface outside
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 24.***.***.*** 255.255.255.255 outside
http 67.***.***.*** 255.255.255.255 outside
http 172.21.18.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public%d
no snmp-server enable traps
no floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 67.***.***.***
crypto map outside_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 67.***.***.*** netmask 255.255.255.255 no-xauth no-config-mode
isakmp peer ip 67.***.***.*** no-xauth no-config-mode
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
telnet 67.***.***.*** 255.255.255.255 outside
telnet 172.21.18.0 255.255.255.0 inside
telnet 24.***.***.*** 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
management-access inside
console timeout 0
vpdn group pppoe_group request dialout pppoe
vpdn group pppoe_group localname womansclinic@dixie-net.com%d
vpdn group pppoe_group ppp authentication pap
vpdn username womansclinic@dixie-net.com password *********
dhcpd address 172.21.18.10-172.21.18.20 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
username ics_pix password 3uHKS8qtFx7onnF2 encrypted privilege 15
terminal width 80
Cryptochecksum:05f2e2c483c0b8a3ffa01102c61f8244
: end
[OK]


 
Are you trying to connect to it via hostname/URL or IP address. What address does DNS resolve to? An internal address or external?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
I can ping, telnet"

Do you mean you can telnet to port 80 of your web server?

Sounds like an MTU issue to me if you can't ping using 1500 bytes packet.

Is ICMP unreachables blocked? If yes, then try to unblock it.

Or, if you're using Cisco VPN client, there's a program called "Set MTU". Launch it and set the NIC MTU to say 1440 and try again.
 
I set the mtu to 1350 to get it to work...however it is very slow.

I had the DSL provider increase the speed to 3.0 (actually connects around 2.5-2.8).

The other end has cable internet at 2.0 (actually connects around 1.3-1.8)

How can I increase the speed of the VPN???

 
If I ping -t -l 1350 <web server>, the ping time is anywhere from 113 to 556...are these normal times through the VPN?

 
You can try to unblock ICMP unreachables and set the MTU back to default to check the performance. You can read the following URL for the rationale of unblocking ICMP unreachables.


Also there're many factors affecting the ping time, such as bandwidth, router/firewall CPU loading, web server CPU loading, your PC CPU loading...etc. And yes VPN does affect the ping time a little bit as CPU processes are used to handle the encryption/decryption and/or encapsulation/decapsulation.
 
Notice the collisions on the outside interface...could this be the probelm??

interface ethernet0 "outside" is up, line protocol is up
Hardware is i82559 ethernet, address is 0012.0146.a106
IP address 67.xxx.xxx.xxx, subnet mask 255.255.255.252
MTU 1500 bytes, BW 10000 Kbit half duplex
1241987 packets input, 646168327 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
1206220 packets output, 681359775 bytes, 0 underruns
0 output errors, 5260 collisions, 0 interface resets
0 babbles, 0 late collisions, 31502 deferred
0 lost carrier, 0 no carrier
input queue (curr/max blocks): hardware (128/128) software (0/21)
output queue (curr/max blocks): hardware (0/44) software (0/1)
interface ethernet1 "inside" is up, line protocol is up
Hardware is i82559 ethernet, address is 0012.0146.a107
IP address 172.16.34.100, subnet mask 255.255.255.0
MTU 1500 bytes, BW 100000 Kbit full duplex
1596446 packets input, 689398191 bytes, 0 no buffer
Received 274252 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
1421040 packets output, 821859007 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collisions, 0 deferred
0 lost carrier, 0 no carrier
input queue (curr/max blocks): hardware (128/128) software (0/44)
output queue (curr/max blocks): hardware (3/35) software (0/1)



 
Collisions on ethernet interface running half-duplex is common and may not necessarily be an indicator of connectivity issue as collision is the heart of CSMA/CD. But of course if the other end support full duplex then it's always a good try to set both side to full duplex.

Performance of your VPN depends on a lot of things like your internet connection at home or other remote location, the VPN client PC loading, the internet connection at your main site, the VPN server loading...etc. If you allow ICMP on your WAN interface at main site, you can always try to ping that WAN public IP from home or remote location and check for the latency before any encryption process.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top