cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
19863
Views
35
Helpful
10
Replies

how to copy tftp to remote site through VPN

michaelli888
Level 1
Level 1

I know by setting management interface ASA can ping or telnet/SSH to the inside interface of the remote ASA through VPN. But it doesn't work for TFTP. Is there a way to copy config to TFP server in remote site through VPN and using source interface as local inside interface?

1 Accepted Solution

Accepted Solutions

Your welcome , don't forget to rate helpfull posts.

Regards

Jorge Rodriguez

View solution in original post

10 Replies 10

JORGE RODRIGUEZ
Level 10
Level 10

Michael,

TFTP should work through VPN, I have tested through RA VPN. I do not see a reason why should not work through l2l vpn scenario.

http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/t.html#wp1498951

In RA vpn scenario where client runs the tftp server.

In RA VPN test scenario,VPN client gets IP 140.40.30.15 assigned.

asa5500fw(config)#tftp-server inside

tftp-server 140.40.30.15 f:\

asa5500fw(config)# copy running-config tftp:

Source filename [running-config]?

Address or name of remote host [140.40.30.15]?

Destination filename []? running-config

Cryptochecksum: 67f2f1a3 c31d5a9b 0f6b1f6d 2f21766d

!!!!!!!

26019 bytes copied in 3.460 secs (8673 bytes/sec)

/////////////////

In your scenario with l2l vpn as long the tftp server IP on other side of tunnel is part of the IPsec tunnel policy try this bellow.

tftp-server outside

Regards

Jorge Rodriguez

Hi Jorge,

Thanks for replying. I think I may not describ my question clearly. The senario I'm asking is a IPSEC site to site VPN, not a Remote access VPN.

Regards,

Hi Michael, yes I did read the first post in l2l, however the test is in RA VPN, but the two similarities that both RA and L2L do have is Ipsec.

the test conducted was on Ipsec RA with tftp server at other end in the case of RA client being the tftp server.

So that being said I could assure the tftp will work on l2l vpn.

Have you tried my suggestions.

eg

SiteA-L2L-SiteB tftpserver in SiteB , you are copying asa congif to tftpserver as long tftp server in siteB is part of the tunnel policy should work, let me know if still no joy to then lab this in L2L scenario.

asa(config)#tftp-server outside

then

asa#copy config tftp

Regards

Jorge Rodriguez

It doesn't work for me. please see the asa output below.

asa(config)# ping inside 192.168.11.10

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.11.10, timeout is 2 seconds:

?!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 290/317/370 ms

asa(config)# tftp outside 192.168.11.10 /

WARNING: 'outside' interface has the lowest security level (0).

asa(config)# copy run tftp

Source filename [running-config]?

Address or name of remote host [192.168.11.10]?

Destination filename []?

Cryptochecksum: e4582635 53632293 22b6aa9f 481e2383

!!!!

%Error writing tftp://192.168.11.10//;int=outside (Timed out attempting to connect)

asa(config)#

Sounds as it could be tftp server, do you see any hits in the tftp server logs? how about asdm logs is tftp port 69 seen in the l2l traffic?

[edit]

what tftp server app do you use, is it a windows APP? if so try using complete path

say the root is f: drive of tftp server.

tftp-server outside f:\

Jorge Rodriguez

Your 'Tftp-server interface' command remind me that ipsec traffic is somehow different. So I set 'tftp-server inside /' on the asa and it works now.

Thanks for your help Jorge.

Your welcome , don't forget to rate helpfull posts.

Regards

Jorge Rodriguez

disccuss on this issue further, the following command works and it copies config to tftp server in remote site.

asa(config)# copy startup-config tftp

Address or name of remote host [192.168.11.10]?

Destination filename []? ttt

!!!!

12681 bytes copied in 8.50 secs (1585 bytes/sec)

however if I put the full path in the copy command it still fails, why? I cannot use prior command because the following command is hard coded in software, how to make it work?

asa(config)# copy startup-config tftp://192.168.11.10/ttt

Address or name of remote host [192.168.11.10]?

Destination filename [ttt]?

!!!!

%Error writing tftp://192.168.11.10/ttt (Timed out attempting to connect)

Try without the path

copy startup-config tftp:192.168.11.10

Jorge Rodriguez

That's where the difficulty is. The whole command 'copy start tftp://x.x.x.x/xxx.txt' is hard coded in an appliaction, I cannot change it...