How to block ports on Gargoyle router

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Post Reply
NorfantsPete
Posts: 7
Joined: Thu Jan 16, 2020 4:13 am

How to block ports on Gargoyle router

Post by NorfantsPete »

So, the firewall component inside the GUI has never worked for e - i see other posts aswell saying they put in the restriction but it doesnt apply even after reboot.


The solution:
Edit etc/firewall.user and add the lines
iptables -I FORWARD -p tcp --dport 80 -j DROP
iptables -I FORWARD -p tcp --dport 443 -j DROP
Save and reboot

or whatever ports you want to drop - if you do the above you can at least test it works ok, your phone will say "no internet available" when connected to the wifi

NorfantsPete
Posts: 7
Joined: Thu Jan 16, 2020 4:13 am

Re: How to block ports on Gargoyle router

Post by NorfantsPete »

for instruction on editing, go check my opendns post for instruction, once set up its easy - im blocking allsorts of vpn etc.

patsue
Posts: 1
Joined: Thu Jul 30, 2020 4:41 pm

Re: How to block ports on Gargoyle router

Post by patsue »

NorfantsPete wrote:
Tue Apr 14, 2020 7:21 am
for instruction on editing, go check my opendns post for instruction, once set up its easy - im blocking allsorts of vpn etc.
Where can I find your post? I really need an instruction right now.

Post Reply