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

New to ASA! How can I setup a client to browse out locally?

Status
Not open for further replies.

toosober

IS-IT--Management
Aug 29, 2005
29
US
I am new to ASA configuration, actually this is my first attempt. I was able to bring up the site-to-site VPN from the remote site to the ASA at our main office. And yes, I had to use the ASDM to get it working correctly :eek:)

I am trying to find a way to have traffic go out locally for my personal laptop, and through the tunnel for my work laptop. Is this setup even possible? If it is, can someone point in the right direction please?

Thanks!
 
It is possible. You have to modify the match address ACLs for this. An if you really want ALL traffic from your work laptop to go through you will need additional nat statements and matching match addresses on the remote end.

Post a copy of your scrubbed config. You could also just set up a client VPN connection on your work laptop which is probably more feasible.

 
I am not sure I worded my first post correctly?! I have taken an ASA to my home network to learn how to configure it. I was to learn how to setup a site-to-site VPN back to our main site, which is what we plan to use the ASAs for, to prevent use of "client-VPNs". While doing this testing, I have to take my home network down. So, what I am trying to do is setup a way to use my personal laptop during all this, but do not want ANY of the traffic from it to go through the tunnel. I was not even sure if this was possible?! Or maybe if just the http for that machine was using local resources that would be enough???
[It had been suggested in the future we may use ASAs to separate traffic at our remote Libraries; which would involve the patron PCs looking to the smart filter on the other end of the tunnel, and browsing out at the local site if the site is approved. That will be a whole different problem! But this would be a start to that configuration...]

Here is my config as it is right now, tunnel is working fine:
: Saved
:
ASA Version 8.0(3)
!
hostname Tourist-VPN-ASA
domain-name [mydomain].org
enable password XCXCXCXCX. encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address [privaye ip] 255.255.255.0
!
interface Vlan2
no forward interface Vlan1
nameif dmz
security-level 50
no ip address
!
interface Vlan11
nameif outside
security-level 0
ip address [public ip] 255.255.255.224
!
interface Ethernet0/0
switchport access vlan 11
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
passwd XCXCXCXCXC. encrypted
ftp mode passive
dns server-group DefaultDNS
domain-name [mydomain].org
access-list outside_1_cryptomap extended permit ip [privaye ip] 255.255.255.0 [privaye ip-peer] 255.255.0.0
access-list inside_nat0_outbound extended permit ip [privaye ip] 255.255.255.0 [privaye ip-peer] 255.255.0.0
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu dmz 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-603.bin
no asdm history enable
arp timeout 14400
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
route outside 0.0.0.0 0.0.0.0 [public default gateway] 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
eou clientless username [username]
eou clientless password [password]
http server enable
http [private ip] 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs
crypto map outside_map 1 set peer [peer-public ip]
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 65535
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
no crypto isakmp nat-traversal
telnet [private ip] 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
!
dhcpd address [private range] inside
dhcpd enable inside
!

threat-detection basic-threat
threat-detection statistics access-list
tunnel-group [public ip-peer] type ipsec-l2l
tunnel-group [public ip-peer] ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
!
service-policy global_policy global
prompt context hostname
Cryptochecksum:0707251fa923608fd47e101a2253e9b0
: end

I have a lot to learn! I do not even know what the purpose of many of these commands are, or if all of the commands are even needed?!

Thanks in advance for any help!

 
Change the matc acl :

access-list outside_1_cryptomap extended permit ip [privaye ip] 255.255.255.0 [privaye ip-peer] 255.255.0.0

to just be the IP of your work laptop in the source

no access-list outside_1_cryptomap extended permit ip [privaye ip] 255.255.255.0 [privaye ip-peer] 255.255.0.0

access-list outside_1_cryptomap extended permit ip host 192.168.0.50 [privaye ip-peer] 255.255.0.0

You may need to clear the crypto SAs after changing the match address

Really this should be working anyways. Are the internal address ranges overlapping?



 
Thanks! I will try this later today and let you know how it works...

Are the internal address ranges overlapping?

Do you mean the addresses that ASA is issuing through DHCP? I have only one range setup.

Anyways I will try what you have suggested...

THANKS!
 
Yes, the tunnel is working fine, there are different subnets at both ends. I just want to leave it up to use for test configs, but want to be sure my personal browsing does not happen through the other side of the tunnel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top