New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Iptables help
zaldeampatuan
Member
I have this rule:
iptables -A FORWARD -p tcp -d 10.0.0.0/16 -o venet0 -j DROP
will it block all packets with destination 10.0.0.0/16 coming from all interfaces like tun0 and tun1?
i want to simplify my rule as i have 3 tun on my vps used as openvpn server.
Comments
up...help
This article should tell you everything about blocking packets using iptables.
http://www.cyberciti.biz/tips/linux-iptables-how-to-specify-a-range-of-ip-addresses-or-ports.html
I'm personally a huge fan of Cyberciti. They have a ton of great answers to everything related to Linux/UNIX.