What's new

IP address blocking

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

kyrios

Occasional Visitor
Hi,

Like title said, which module I could use to block certain IP addresses (not domain name)?
Like 22.22.31.44 for example.
Should I use that module (what its name?) or use user script firewall-start
Code:
iptables -I FORWARD -d 163.171.142.160 -j REJECT
iptables -I FORWARD -d 134.249.116.78 -j REJECT
iptables -I FORWARD -d 35.238.205.163 -j REJECT
iptables -I FORWARD -d 35.232.188.118 -j REJECT
iptables -I FORWARD -d 35.198.197.119 -j REJECT
 
Hi,

Like title said, which module I could use to block certain IP addresses (not domain name)?
Like 22.22.31.44 for example.
Should I use that module (what its name?) or use user script firewall-start
Code:
iptables -I FORWARD -d 163.171.142.160 -j REJECT
iptables -I FORWARD -d 134.249.116.78 -j REJECT
iptables -I FORWARD -d 35.238.205.163 -j REJECT
iptables -I FORWARD -d 35.232.188.118 -j REJECT
iptables -I FORWARD -d 35.198.197.119 -j REJECT
Use Skynet perhaps?
 
Hi,

Like title said, which module I could use to block certain IP addresses (not domain name)?
Like 22.22.31.44 for example.
Should I use that module (what its name?) or use user script firewall-start
Code:
iptables -I FORWARD -d 163.171.142.160 -j REJECT
iptables -I FORWARD -d 134.249.116.78 -j REJECT
iptables -I FORWARD -d 35.238.205.163 -j REJECT
iptables -I FORWARD -d 35.232.188.118 -j REJECT
iptables -I FORWARD -d 35.198.197.119 -j REJECT
Firewall - Network Services Filter
But that won't affect devices you're sending through the router's VPN client. To affect all types of traffic you would need to use a firewall-start script.

Are you sure you want to block outbound traffic to the addresses? Or do you really want to block inbound traffic?
 
Last edited:
Yes, people forget what's already available in GUI.
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top