forked from dpiquet/mypve-firewall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bridged.rules
33 lines (29 loc) · 922 Bytes
/
bridged.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#####################################################
#
# Bridged Virtual Machines Firewall Rules
#
#####################################################
#
# Define Here rules for your bridged virtual machines
#
# Available rules:
#
# - BRIDGED_VM_LIMIT_PING <address> <pings per second>
# - BRIDGED_VM_ALLOW_PING <address>
# - BRIDGED_VM_PROTECTED_TCP_PORT <address> <port>
# - BRIDGED_VM_PROTECTED_UDP_PORT <address> <port>
# - BRIDGED_VM_PROTECTED_PORT <address> <port>
# - BRIDGED_VM_ALLOW_TCP_PORT <address> <port>
# - BRIDGED_VM_ALLOW_UDP_PORT <address> <port>
# - BRIDGED_VM_ALLOW_PORT <address> <port>
#
# You can also use MACROS from /etc/pve-firewall/macros
#
# example www virtual machine
WWW='192.168.1.10'
BRIDGED_VM_ALLOW_HTTP $WWW
BRIDGED_VM_ALLOW_HTTPS $WWW
# example DNS virtual machine
DNS1='192.168.1.11'
BRIDGED_VM_ALLOW_UDP_PORT 53 $DNS1
BRIDGED_VM_ALLOW_TCP_PORT 53 $DNS1