UFW(8) UFW(8) (NAME) ufw - netfilter (DESCRIPTION) . (USAGE) ufw [--dry-run] enable|disable|reload ufw [--dry-run] default allow|deny|reject [incoming|outgoing|routed] ufw [--dry-run] logging on|off|LEVEL ufw [--dry-run] reset ufw [--dry-run] status [verbose|numbered] ufw [--dry-run] show REPORT ufw [--dry-run] [delete] [insert NUM] [prepend] allow|deny|reject|limit [in|out] [log|log-all] [ PORT[/PROTOCOL] | APPNAME ] [comment COMMENT] ufw [--dry-run] [rule] [delete] [insert NUM] [prepend] allow|deny|reject|limit [in|out [on INTERFACE]] [log|log-all] [proto PROTOCOL] [from ADDRESS [port PORT | app APPNAME ]] [to ADDRESS [port PORT | app APPNAME ]] [comment COMMENT] ufw [--dry-run] route [delete] [insert NUM] [prepend] allow|deny|reject|limit [in|out on INTERFACE] [log|log-all] [proto PROTOCOL] [from ADDRESS [port PORT | app APPNAME]] [to ADDRESS [port PORT | app APPNAME]] [comment COMMENT] ufw [--dry-run] [--force] delete NUM ufw [--dry-run] app list|info|default|update (OPTIONS) --version . -h, --help . --dry-run . enable . disable . reload . default allow|deny|reject DIRECTION DIRECTION DIRECTION incoming outgoing routed . . deny reject (RULE SYNTAX) . logging on|off|LEVEL (). LOG_KERN syslog . rsyslog /var/log/ufw.log . LEVEL . 'low' . (LOGGING) . reset . --force . status ufw . status verbose . 'Anywhere' 'any' 0.0.0.0/0 (IPv4) ::/0 (IPv6) . status . : ufw allow in on eth0 from 192.168.0.0/16 ufw allow out on eth1 to 10.0.0.0/8 ufw route allow in on eth0 out on eth1 to 10.0.0.0/8 from 192.168.0.0/16 ufw limit 2222/tcp comment 'SSH port' ufw status : To Action From -- ------ ---- Anywhere on eth0 ALLOW 192.168.0.0/16 10.0.0.0/8 ALLOW OUT Anywhere on eth1 10.0.0.0/8 on eth1 ALLOW FWD 192.168.0.0/16 on eth0 Anywhere LIMIT Anywhere # SSH port (route) . show REPORT . (REPORTS) . allow ARGS (allow). (RULE SYNTAX) . deny ARGS (deny). (RULE SYNTAX) . reject ARGS (reject). (RULE SYNTAX) . limit ARGS (limit). (RULE SYNTAX) . delete RULE|NUM . insert NUM RULE NUM . prepend RULE . (RULE SYNTAX) . . (comment) . '' (: 'insert' 'prepend' ). : ufw allow 53 tcp udp . '/protocol' : ufw allow 25/tcp tcp . ufw /etc/services : ufw allow smtp ufw (ingress) (egress) in out . : ufw allow in http ufw reject out smtp ufw reject telnet comment 'telnet is unencrypted' . PF OpenBSD . : ufw deny proto tcp to any port 80 tcp . : ufw deny proto tcp from 10.0.0.0/8 to 192.168.0.1 port 25 A RFC1918 tcp 192.168.0.1 . ufw deny proto tcp from 2001:db8::/32 to any port 25 IPv6 2001:db8::/32 tcp . IPv6 IPv6 /etc/default/ufw . ufw deny in on eth0 to 224.0.0.1 proto igmp igmp 224.0.0.1 eth0 . ufw allow in on eth0 to 192.168.0.1 proto gre gre 192.168.0.1 eth0 . ufw allow proto tcp from any to any port 80,443,8080:8090 comment 'web app' tcp ( ) . '443' . ( ). ufw . : tcp udp : ah esp gre vrrp ipv6 IPv4 igmp IPv4 / (routed/forwarded) route ( PF FORWARD netfilter ). : ufw route allow in on eth1 out on eth2 eth2 eth1 . ufw route allow in on eth0 out on eth1 to 12.34.45.67 port 80 proto tcp eth0 eth1 tcp 12.34.45.67 . IP (IP forwarding) . /etc/ufw/sysctl.conf : net/ipv4/ip_forward=1 net/ipv6/conf/default/forwarding=1 net/ipv6/conf/all/forwarding=1 : ufw disable ufw enable sysctl ufw . sysctl . ufw (brute-force) . limit ufw IP . http://www.debian- administration.org/articles/187 . : ufw limit ssh/tcp . reject deny . : ufw reject auth ufw . DIRECTION on INTERFACE DIRECTION in out ( ). http eth0 : ufw allow in on eth0 to any port 80 proto tcp delete . : ufw deny 80/tcp : ufw delete deny 80/tcp NUM status numbered . '3' : ufw delete 3 IPv6 IPv4 IPv6 ( 'ufw allow 22/tcp') . delete . . : ufw insert 3 deny to any port 22 from 10.0.0.135 proto tcp IP prepend : ufw prepend deny from 1.2.3.4 (IPS) . IPv4 IPv4 IPv6 IPv6 . : ufw status numbered ufw . . log log-all . ssh : ufw allow log 22/tcp (LOGGING) . (EXAMPLES) : ufw deny 53 tcp: ufw allow 80/tcp RFC1918 : ufw allow from 10.0.0.0/8 ufw allow from 172.16.0.0/12 ufw allow from 192.168.0.0/16 udp 1.2.3.4: ufw deny proto udp from 1.2.3.4 to any port 514 1.2.3.4 udp 1.2.3.5 : ufw allow proto udp from 1.2.3.5 port 5469 to 1.2.3.4 port 5469 (REMOTE MANAGEMENT) ufw enable ufw init ufw (flush) . ufw ( ssh) . ufw ufw enable : ufw allow proto tcp from any to any port 22 ssh . ' ' ufw ufw ( ). ssh ufw . ufw --force enable . (APPLICATION INTEGRATION) ufw /etc/ufw/applications.d . ufw : ufw app list ( ). : ufw allow : ufw allow from 192.168.0.0/16 to any app app port . : ufw app info '' app list . all . .INI : [] title= description=<description> ports=<ports> <?><?><?><?> 'ports' <?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?>/<?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?> <?><?> <?><?> '|' <?><?> <?><?> <?><?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?>. <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?> <?><?> <?><?><?><?> (<?><?><?><?><?><?><?><?> <?><?> 'start:end') <?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?> <?><?> <?><?> <?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?>. <?><?><?><?> <?><?><?><?>: [SomeService] title=Some title description=Some description ports=12/udp|34|56,78:90/tcp <?><?> <?><?><?><?> <?><?><?><?> 'SomeService' <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?> <?><?><?> <?> <?><?><?><?> <?><?> <?><?><?><?><?><?> UDP<?> <?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?><?> TCP <?> UDP<?> <?> <?><?><?><?><?><?><?><?> <?><?> <?> <?><?><?><?> <?><?> <?><?> <?><?> <?><?><?><?><?><?> TCP (<?><?><?><?> <?><?> <?><?> <?><?><?><?><?> <?> <?><?><?><?><?>) <?><?> <?><?><?><?> <?><?><?><?><?><?>. <?><?> <?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?> <?><?><?><?>: ufw app update <name> <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?>. <?><?><?> <?><?> <?><?><?><?><?> <?><?><?> 'all' <?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?>. <?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?> <?><?><?><?>: ufw app update --add-new <name> <?><?><?><?><?> <?><?><?><?><?> update --add-new <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?> <?><?><?>: ufw app default <policy> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> skip <?><?><?><?> <?><?> <?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?> update --add-new <?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?>. <?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?> allow <?><?> deny <?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?> update --add-new <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?>. <?><?><?><?><?>: <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> allow <?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?>. <?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> allow<?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?> <?><?> <?><?><?> <?><?><?><?><?><?>. <?><?><?> <?><?><?><?><?> (LOGGING) <?><?><?><?><?> ufw <?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?>. <?><?> <?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?> ufw <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?> 'low' <?><?><?><?><?><?><?> <?><?><?><?><?><?>. <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?> <?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?><?><?>: ufw logging LEVEL <?><?><?><?><?> LEVEL <?><?><?><?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?><?><?> 'off'<?> 'low'<?> 'medium'<?> 'high' <?> 'full' <?><?><?><?>. <?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?> <?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?>: off <?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?> ufw <?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?>. low <?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> (<?><?> <?><?><?><?><?><?><?><?><?> <?><?><?>)<?> <?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?><?> <?><?><?><?><?><?>. medium <?><?><?><?> <?><?><?> low<?> <?><?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> INVALID <?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?>. <?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?> <?><?><?> <?><?><?> <?><?><?><?><?><?><?>. high <?><?><?><?> <?><?><?> medium (<?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?>)<?> <?><?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?> <?><?><?>. full <?><?><?><?> <?><?><?> high <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?>. <?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?> medium <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?> <?><?><?> <?><?><?><?> <?><?><?> <?><?> <?><?> <?><?><?><?> <?><?> <?><?><?><?>. <?><?><?> medium <?><?><?> <?><?><?><?> <?><?><?> <?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?>. <?><?><?><?> <?><?><?><?> <?><?><?><?><?> 'on' <?><?> <?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?> <?><?><?> 'low' <?><?><?><?> <?><?><?><?><?><?>. <?><?><?><?><?><?><?><?> (REPORTS) <?><?><?><?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?>. <?><?> <?><?> <?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?> <?> <?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> listening<?> <?><?><?><?> <?><?> <?><?><?><?> <?><?><?> iptables <?><?><?><?><?>: raw builtins before-rules user-rules after-rules logging-rules listening added <?><?><?><?><?> raw <?><?><?><?><?> <?><?><?> <?><?> <?><?> <?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?> raw <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?>. <?><?><?><?><?> listening <?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?> <?><?> <?><?> <?><?><?><?><?> listening <?><?><?><?> tcp <?> <?><?><?><?><?> <?><?><?> <?><?><?><?> udp<?> <?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?> <?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?>. <?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?> '*' <?><?><?> <?><?><?><?><?><?>. <?><?> <?><?> <?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?> <?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?>. <?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?>. <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?> tcp6 <?> udp6 <?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?> IPV6 <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?> <?><?>. <?><?><?><?><?> added <?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?> <?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?>. <?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?><?> <?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?><?><?><?> (<?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?> ufw status <?><?><?><?><?><?><?> <?><?><?><?>). <?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?> ufw <?><?><?><?><?><?><?><?><?><?><?><?><?> (<?><?><?><?><?><?><?><?><?><?>) <?><?><?><?><?><?><?><?> <?><?><?><?> <?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?>. <?><?><?><?><?><?> ufw <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?> IPv6 <?><?><?> <?><?> <?><?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?><?>. <?><?><?><?> (NOTES) <?><?><?><?><?> <?><?><?><?> ufw <?><?><?><?><?><?><?> <?><?><?> <?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?> (deny)<?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?> (deny) <?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?> (allow) <?><?><?><?><?> <?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?> (stateful tracking) <?><?><?><?> <?><?><?><?><?><?><?> NEW <?><?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?>. <?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?>: - <?><?><?><?><?><?><?> (DROP) <?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> RH0 - <?><?><?><?><?><?><?> (DROP) <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?> (INVALID) - <?><?><?><?><?> (ACCEPT) <?><?><?><?><?><?><?><?> <?><?><?><?> icmp (<?><?> INPUT <?> FORWARD): <?><?><?><?><?><?><?><?> destination-unreachable<?><?> source-quench<?><?> time-exceeded<?><?> parameter-problem <?> echo-request <?><?><?><?> IPv4<?> <?> <?><?><?><?><?><?><?><?> destination-unreachable<?><?> packet-too-big<?><?> time-exceeded<?><?> parameter-problem <?> echo-request <?><?><?><?> IPv6. - <?><?><?><?><?> (ACCEPT) <?><?><?><?><?><?><?><?> icmpv6 <?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?> (INPUT) - <?><?><?><?><?> (ACCEPT) <?><?><?><?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?>-<?><?><?><?> IPv6 <?><?><?><?> (ffe8::/10) <?><?> (INPUT) - <?><?><?><?><?> (ACCEPT) <?><?><?><?><?><?> <?><?><?><?><?><?> DHCP <?><?> (INPUT) - <?><?><?><?><?><?><?> (DROP) <?><?><?><?><?><?> <?><?><?><?><?><?><?> (INPUT) - <?><?><?><?><?> (ACCEPT) <?><?><?><?><?><?> mDNS <?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?> INPUT (<?><?><?><?> 224.0.0.251 <?><?><?><?> IPv4 <?> ff02::fb <?><?><?><?> IPv6 <?><?> zeroconf/bonjour/avahi) - <?><?><?><?><?> (ACCEPT) <?><?><?><?><?><?> UPnP <?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?> INPUT (<?><?><?><?> 239.255.255.250 <?><?><?><?> IPv4 <?> ff02::f <?><?><?><?> IPv6) <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?> <?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?>. <?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?> <?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?>. <?><?><?><?><?> ufw <?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?>. <?><?><?><?><?> status <?><?><?><?><?><?><?> <?><?><?><?> <?><?> <?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?> <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?> <?><?><?><?> <?><?><?><?><?> ufw <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?>. <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> /etc/ufw <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?>. <?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> ufw show raw <?><?><?><?><?><?><?> <?><?><?><?>. <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?> filter<?><?> nat<?><?> mangle <?> raw <?><?> <?><?> <?><?><?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?>: iptables -n -L -v -x -t <table> ip6tables -n -L -v -x -t <table> <?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?><?> iptables <?> ip6tables <?><?><?><?><?><?> <?><?><?><?>. <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?> REJECT <?><?><?><?><?> <?><?><?><?> ufw <?><?><?><?> <?><?><?> <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?> ufw <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?>. <?><?><?><?> <?><?><?><?><?><?> <?><?> README <?><?><?><?><?><?> <?><?><?><?><?><?>. <?><?><?><?><?><?> IPV6 <?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?>. <?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> IPv6 <?><?><?><?><?> <?><?><?> <?><?><?><?> loopback<?> <?><?><?><?><?> IPV6 <?><?> <?><?> /etc/default/ufw <?><?> <?><?><?> 'no' <?><?><?><?><?> <?><?><?><?> <?> ufw <?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?>. <?><?><?><?><?><?> <?><?> IPv6 <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?> IPv4 <?><?><?><?> <?><?><?><?> <?> <?><?><?><?><?> <?><?> <?><?><?><?><?> ufw status <?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?> <?><?>. <?><?><?><?><?><?><?> <?><?> <?><?> <?><?> <?><?> <?><?><?><?> IPv4 <?> IPv6 <?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?> <?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?>. <?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?> IPv6 <?><?><?><?> <?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?> <?><?> <?><?><?><?> <?><?> <?><?> <?><?><?><?><?><?> IPv4 <?> IPv6 <?><?><?><?> <?><?><?><?><?><?><?>: ufw allow 22 <?><?><?><?><?><?><?><?> IPv6 <?><?> <?><?><?> IPv4 <?> 6to4 <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> 'ipv6' (<?><?><?><?><?> '41') <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?>. <?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?>: ufw allow to 10.0.0.1 proto ipv6 ufw allow to 10.0.0.1 from 10.4.0.0/16 proto ipv6 <?><?><?><?><?><?> IPSec <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?><?> 'esp' (<?><?><?><?><?> '50') <?> 'ah' (<?><?><?><?><?> '51') <?><?><?><?><?><?><?><?> <?><?><?><?><?><?>. <?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?>: ufw allow to 10.0.0.1 proto esp ufw allow to 10.0.0.1 from 10.4.0.0/16 proto esp ufw allow to 10.0.0.1 proto ah ufw allow to 10.0.0.1 from 10.4.0.0/16 proto ah <?><?><?><?><?> keepalived <?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> 'vrrp' (<?><?><?><?><?> '112') <?><?><?><?><?><?><?><?> <?><?><?><?><?><?>. <?><?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?> <?><?><?><?>: ufw allow to 224.0.0.0/24 from 10.0.0.1 proto vrrp <?><?><?><?><?> <?><?> <?><?><?><?> <?><?> <?><?><?><?><?><?> ufw <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?> <?> <?><?> <?><?><?><?> <?><?><?><?><?><?><?><?><?><?> netfilter <?><?><?><?> <?><?><?><?><?>. <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?><?><?><?> ufw-framework <?><?><?><?><?><?> <?><?><?><?>. <?><?><?><?><?><?> <?><?><?><?><?><?> (SEE ALSO) ufw-framework(8), iptables(8), ip6tables(8), iptables-restore(8), ip6tables-restore(8), sysctl(8), sysctl.conf(5) <?><?><?><?><?><?><?> (AUTHOR) <?><?> <?><?><?> <?><?><?><?><?><?><?><?><?> ufw <?><?><?><?><?> <?><?> <?><?><?><?> Canonical Ltd <?><?> <?><?><?> <?><?><?><?> <?><?> <?><?><?><?> <?><?><?>. May 2023 2023-05-01 UFW(8)