Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [fwBasic]
- status = enabled
- incoming = deny
- outgoing = deny
- routed = disabled
- [Rule0]
- ufw_rule = 10.1.1.0/24 ALLOW OUT Anywhere (out)
- description = Allow traffic to LAN
- command = ufw allow out to 10.1.1.0/24
- policy = allow
- direction = out
- protocol =
- from_ip =
- from_port =
- to_ip = 10.1.1.0/24
- to_port =
- iface =
- routed =
- logging =
- [Rule1]
- ufw_rule = 10.1.1.0/24 ALLOW OUT Anywhere on enp3s0 (out)
- description = Restrict connections to eth1
- command = /usr/sbin/ufw allow out on enp3s0 from any to 10.1.1.0/24
- policy = allow
- direction = out
- protocol =
- from_ip =
- from_port =
- to_ip = 10.1.1.0/24
- to_port =
- iface = enp3s0
- routed =
- logging =
- [Rule2]
- ufw_rule = Anywhere ALLOW OUT Anywhere on tun0 (out)
- description = Allow tun0 traffic
- command = /usr/sbin/ufw allow out on tun0 from any to any
- policy = allow
- direction = out
- protocol =
- from_ip = any
- from_port =
- to_ip = any
- to_port =
- iface = tun0
- routed =
- logging =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement