What's new

IP address blocking

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.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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

Members online

Back
Top