Hi,
i am trying to clear [DF] bit coming from VPN traffic. I added below the PF rules but not worked
Especially 1433 Database traffic is very slow in VPN tunnel on my network . I think that it is related with DF bits
thanks in advance
WAN = igb5
LAN= igb1
i am trying to clear [DF] bit coming from VPN traffic. I added below the PF rules but not worked
Especially 1433 Database traffic is very slow in VPN tunnel on my network . I think that it is related with DF bits
thanks in advance
WAN = igb5
LAN= igb1
Code:
table <vpn_networks> { 192.168.254.0/24 }
scrub on wg1 inet all no-df fragment reassemble
scrub from any to <vpn_networks> no-df
scrub from <vpn_networks> to any no-df
scrub on igb5 inet all no-df fragment reassemble
scrub on igb1 inet all no-df fragment reassemble
Code:
192.168.1.77.62171 > 192.168.254.2.445: Flags [S], cksum 0x9a48 (correct), seq 1582324813, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
17:50:28.537090 IP (tos 0x0, ttl 128, id 2953, offset 0, flags [DF], proto TCP (6), length 52)
192.168.1.77.62178 > 192.168.254.2.445: Flags [S], cksum 0xf473 (correct), seq 3315178193, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
17:50:29.548351 IP (tos 0x0, ttl 128, id 2954, offset 0, flags [DF], proto TCP (6), length 52)
192.168.1.77.62178 > 192.168.254.2.445: Flags [S], cksum 0xf473 (correct), seq 3315178193, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
17:50:31.563222 IP (tos 0x0, ttl 128, id 2955, offset 0, flags [DF], proto TCP (6), length 52)
192.168.1.77.62178 > 192.168.254.2.445: Flags [S], cksum 0xf473 (correct), seq 3315178193, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
17:50:35.570853 IP (tos 0x0, ttl 128, id 2956, offset 0, flags [DF], proto TCP (6), length 52)
192.168.1.77.62178 > 192.168.254.2.445: Flags [S], cksum 0xf473 (correct), seq 3315178193, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
17:50:43.581009 IP (tos 0x0, ttl 128, id 2957, offset 0, flags [DF], proto TCP (6), length 52)
192.168.1.77.62178 > 192.168.254.2.445: Flags [S], cksum 0xf473 (correct), seq 3315178193, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
17:50:49.605645 IP (tos 0x0, ttl 128, id 2958, offset 0, flags [DF], proto TCP (6), length 52)