What's new

Ipset wiki Rmerl not working

  • 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!

Replace "-m set --set" with "-m set --match-set"


Thanks for helping .

I have replaced in firewall-start script and PeerGuardian .

Now, It haven't returned any error. Is It OK by not returning any output msg?

Best Regards,
PoloNes


Enviado do meu iPad Mini retina usando Tapatalk
 
Thanks for helping .

I have replaced in firewall-start script and PeerGuardian .

Now, It haven't returned any error. Is It OK by not returning any output msg?

Best Regards,
PoloNes


Enviado do meu iPad Mini retina usando Tapatalk

You don't se any output msg there, you have to run whole script from putty or telnet.
Run this "iptables -vnL INPUT" to se if counter se any INPUT PeerGuardian packets.

Code:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
 746K  124M ACCEPT     all  --  tun21  *       0.0.0.0/0            0.0.0.0/0
 821K  200M ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:9999
    [COLOR="Magenta"][B]1    40 logdrop    all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set Hammer_ips src,dst[/B][/COLOR]
   63  3312 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpts:9970:10000
 1433 90055 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            state INVALID
60725 9834K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
 2977  318K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0            state NEW
29067 4065K ACCEPT     all  --  br0    *       0.0.0.0/0            0.0.0.0/0            state NEW
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:67 dpt:68
    3   120 SSHBFP     tcp  --  vlan10 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:8787 state NEW
 386K   55M DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0

This is only an example how it could be.
 
You don't se any output msg there, you have to run whole script from putty or telnet.

Run this "iptables -vnL INPUT" to se if counter se any INPUT PeerGuardian packets.



Code:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)

 pkts bytes target     prot opt in     out     source               destination

 746K  124M ACCEPT     all  --  tun21  *       0.0.0.0/0            0.0.0.0/0

 821K  200M ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:9999

    [COLOR="Magenta"][B]1    40 logdrop    all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set Hammer_ips src,dst[/B][/COLOR]

   63  3312 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpts:9970:10000

 1433 90055 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            state INVALID

60725 9834K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED

 2977  318K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0            state NEW

29067 4065K ACCEPT     all  --  br0    *       0.0.0.0/0            0.0.0.0/0            state NEW

    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:67 dpt:68

    3   120 SSHBFP     tcp  --  vlan10 *       0.0.0.0/0            0.0.0.0/0            tcp dpt:8787 state NEW

 386K   55M DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0



This is only an example how it could be.


See it.

5bc3c1bc0f40063e633923537936111d.jpg



Enviado do meu iPad Mini retina usando Tapatalk
 
Similar threads
Thread starter Title Forum Replies Date
P Catch all IPs from certain port and add them to ipset list? Asuswrt-Merlin 18

Similar threads

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