mirror of https://github.com/aredn/aredn.git
Add missing mss clamping to tunnels (#980)
* Add missing mss clamping for tunnels * Change to add from insert on firewall
This commit is contained in:
parent
12120694af
commit
6250d2c3f8
|
@ -104,3 +104,7 @@ nft add rule ip fw4 reject_to_vpn oifname "wg*" reject
|
|||
nft insert rule ip fw4 forward_dtdlink jump accept_to_vpn
|
||||
nft insert rule ip fw4 forward_wifi jump accept_to_vpn
|
||||
nft insert rule ip fw4 forward_lan jump accept_to_vpn
|
||||
nft add rule ip fw4 mangle_forward iifname "tun*" tcp flags syn tcp option maxseg size set rt mtu
|
||||
nft add rule ip fw4 mangle_forward oifname "tun*" tcp flags syn tcp option maxseg size set rt mtu
|
||||
nft add rule ip fw4 mangle_forward iifname "wg*" tcp flags syn tcp option maxseg size set rt mtu
|
||||
nft add rule ip fw4 mangle_forward oifname "wg*" tcp flags syn tcp option maxseg size set rt mtu
|
||||
|
|
Loading…
Reference in New Issue