Thread: Uncomplicated Firewall
i enable firewall "ufw"
# ufw enable
firewall blocked telnet , http traffic
want configure
iptables -a forward -p tcp --dport 80 -j accept
iptables -a forward -p tcp --dport 23 -j accept
iptables -a input -p tcp --dport 80 -j accept
iptables -a input -p tcp --dport 23 -j accept
iptables -a output -p tcp --dport 80 -j accept
iptables -a output -p tcp --dport 23 -j accept
how can using " ufw" ???
, best firewall
, information right
(important note: ufw not firewall. ufw configures iptables)???
you correct -- ufw configures iptables rules, if try use normal iptables script , ufw ufw tends overwrite rules. can use iptables scripts normal without ufw. or, can add same rules ufw so.
this allow port 80/tcp on interface.code:ufw allow 80/tcp
can further specify this
this allow traffic 192.168.0.3 destined 192.168.0.5:80/tcp . substitute either address. can use cidr denote multiple addresses well. consult docs more information.code:ufw allow 192.168.0.3 192.168.0.5 port 80 proto tcp
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Uncomplicated Firewall
Ubuntu

Comments
Post a Comment