How to Ban a country with iptables

Block a country with iptablesI’m stil lreceiving huge spam/unwanted traffic from russia.
I want to ban with iptables
I already tried to stop it using fail2ban but they continuosly change their IP Address so there is no repetitive behavior wich fail2ban can trace.
This means that even if i setup rules for fail2ban they can do the first connection anyway wasting a little of my server resources.
I want to stop it now, so i decided to do it the bad way:using iptables.
Continue reading “How to Ban a country with iptables”

Incoming search terms:

  • iptables mac osx block china ip (14)
(Visited 7,001 times, 1 visits today)

DD-wrt internal client NAT to port redirected internal host with external address

My messy routers: linksys dd-wrt enabled and Cisco epc3925 bridged.

After configuring your Internet router to act as bridge (mine is a Bridged Cisco epc3925), basically you configured your dd-wrt enabled device in order to map some external ports to one or more internal hosts so you can expose a webserver listening on port 80 or a ssh instance on port 22 using your public ip address given by your internet company to your router, or, better you can even use an FQDN like home-haarlem.giuseppeurso.net to point dns records to your home internet address. Cool. Continue reading “DD-wrt internal client NAT to port redirected internal host with external address”

(Visited 2,401 times, 1 visits today)