Use preshared key inside configuration

File options do not seem to work
This commit is contained in:
sonny 2021-12-29 12:00:02 +01:00
parent 603718458d
commit 16a979b04b
6 changed files with 20 additions and 4 deletions

View file

@ -22,7 +22,7 @@ table ip filter {
iifname "br0" tcp dport {{ ssh_port }} accept comment "SSH"
iifname "br0" tcp dport { {{ http_port }}, {{ https_port }} } accept comment "HTTP/HTTPS"
iifname "br0" tcp dport {{ vpn_port }} accept comment "Wireguard"
iifname "br0" udp dport {{ vpn_port }} accept comment "Wireguard"
iifname "{{ vpn_interface }}" tcp dport { {{ http_port }}, {{ https_port }} } ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "HTTP/HTTPS"
iifname "{{ vpn_interface }}" tcp dport {{ transmission_port }} ip saddr {{ vpn_source_range }} ip daddr {{ vpn_destination_range }} accept comment "Transmission"