Soldato
- Joined
- 18 May 2010
- Posts
- 23,563
- Location
- London
Initially posted this in the Lionux forum, but it's probably more suited here as it's related to the Cisco ASA.
Just thought I'd post this to see if anyone else has encountered what must be a very common issue when using TFTP.
I've been configuring a new Satellite 6 server at work and getting close to the end.
But I have hit a snag (another one of many).
In our testing environment just to get things moving we opened up all the ports on the Cisco firewall for testing.
In our production environment we obviously cant do this. I've looked at the RHEL Satellite documentation as to what ports should be open and am fairly confident that is fine.
However when we come to TFTP boot a bare metal host it is timing out. It is picking up a DHCP lease I can see the connection arriving on the Satellite but the return connection is being dropped presumably by the firewall.
But the crux of the issue is as far as I read on the internet TFTP as part of it's protocol opens up random ports to communicate over.
The issue is when I try to PXE boot, it gets it's IP information then moves on to TFTP....... and just times out. What we are seeing in the logs is the TFTP connection is opening up random ports each time we initiate a connection. Usually in the 5000 port range.
These random ports will not be open on our firewall.
According to what I read on the internet this is normal in the TFTP protocol. We have TFTP working in our test subnet as we opened up the firewall, but in our production subnet we cant open up all UDP ports just to get TFTP to work.
Articles I have consulted on this issue which confirm TFTP uses random ports as part of it's protocol: http://www.winagents.com/en/solutions/tftp-over-firewall.php
https://supportforums.cisco.com/t5/lan-switching-and-routing/acl-for-tftp-traffic/td-p/1471189
https://community.sophos.com/produc...nat-qos-ips/36481/need-a-tftp-rule-that-works
Any one know what the common way to enable and keep secure TFTP? Cant just blanket open all UDP ports.
Just thought I'd post this to see if anyone else has encountered what must be a very common issue when using TFTP.
I've been configuring a new Satellite 6 server at work and getting close to the end.
But I have hit a snag (another one of many).
In our testing environment just to get things moving we opened up all the ports on the Cisco firewall for testing.
In our production environment we obviously cant do this. I've looked at the RHEL Satellite documentation as to what ports should be open and am fairly confident that is fine.
However when we come to TFTP boot a bare metal host it is timing out. It is picking up a DHCP lease I can see the connection arriving on the Satellite but the return connection is being dropped presumably by the firewall.
But the crux of the issue is as far as I read on the internet TFTP as part of it's protocol opens up random ports to communicate over.
The issue is when I try to PXE boot, it gets it's IP information then moves on to TFTP....... and just times out. What we are seeing in the logs is the TFTP connection is opening up random ports each time we initiate a connection. Usually in the 5000 port range.
These random ports will not be open on our firewall.
According to what I read on the internet this is normal in the TFTP protocol. We have TFTP working in our test subnet as we opened up the firewall, but in our production subnet we cant open up all UDP ports just to get TFTP to work.
Articles I have consulted on this issue which confirm TFTP uses random ports as part of it's protocol: http://www.winagents.com/en/solutions/tftp-over-firewall.php
https://supportforums.cisco.com/t5/lan-switching-and-routing/acl-for-tftp-traffic/td-p/1471189
https://community.sophos.com/produc...nat-qos-ips/36481/need-a-tftp-rule-that-works
Any one know what the common way to enable and keep secure TFTP? Cant just blanket open all UDP ports.