Hello, I have create a IPSec VPN between two IPFire this is working…
but when I do a ping to the other site of the VPN like:
Pinging 10.0.0.138 with 32 bytes of data:
Reply from 10.0.0.138: bytes=32 time=15ms TTL=62
Reply from 10.0.0.138: bytes=32 time=15ms TTL=62
Reply from 10.0.0.138: bytes=32 time=15ms TTL=62
Reply from 10.0.0.138: bytes=32 time=15ms TTL=62
this is working.
When I do a ping with more data in it like:
Pinging 10.0.0.138 with 65500 bytes of data:
Request timed out.
Request timed out.
Request timed out.
It seems that the IPFire not can handle to match data!!
Ping statistics for 10.0.0.138:
Packets: Sent = 3, Received = 0, Lost = 3 (100% loss),
C:\Users\Netinium>ping 10.0.0.138 -l 6550
Pinging 10.0.0.138 with 6550 bytes of data:
Reply from 10.0.0.138: bytes=6550 time=16ms TTL=62
Reply from 10.0.0.138: bytes=6550 time=17ms TTL=62
Reply from 10.0.0.138: bytes=6550 time=16ms TTL=62
Reply from 10.0.0.138: bytes=6550 time=16ms TTL=62
Is this a bug or must I do something to handle more data through the firewall
Way Can I ping/trace an Ip address through a IPsec firewall (IPFire) and also
do an telnet 10.0.0.138 4848 and my cursor is gone so the connection on port 4848 is open.
On both site is a firewall rule that all ports are open.
But in the browser on https://10.0.0.138:4848 noting happens.
what’s wrong?
You could have a fragmentation problem along your tunnel, regardless of the capability of the two end points. To understand the problem, you should read the first few pages of this document (or some equivalent explanation).
What happens if you ping like this?
ping other_end_of_the_tunnel -l 1472 -f
the -f says: do not fragment. The -l equal 1472 is testing the MTU size of 1500 (accounting for 8-byte ICMP header and 20-byte IP header). If you have a fragmentation problem you should have the pings not working and a specific error message, e.g: Packet needs to be fragmented but DF set. If that’s the case you can determine empirically the best MTU, as described in the link posted by @tphz
Pinging 10.0.0.138 with 1472 bytes of data:
Reply from 192.168.32.254: Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Ping statistics for 10.0.0.138:
Packets: Sent = 4, Received = 1, Lost = 3 (75% loss),
you have a fragmentation problem. You need to change accordingly the MTU. Do an empirical test until you see no fragmentation happening, then set the two end points to that value.
Pinging 10.0.0.138 with 1400 bytes of data:
Reply from 10.0.0.138: bytes=1400 time=16ms TTL=62
Reply from 10.0.0.138: bytes=1400 time=15ms TTL=62
Reply from 10.0.0.138: bytes=1400 time=19ms TTL=62
Reply from 10.0.0.138: bytes=1400 time=15ms TTL=62
Ping statistics for 10.0.0.138:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 15ms, Maximum = 19ms, Average = 16ms
BTW: This is just another case to recall the basic fact about networks. The properties of a network connection are determined by each node on the way. Especially speed and frame size ( MTU ).