Need help to convert iptables/dnsmasq scripts under pfSense
-
Hi, All
I'm really a newbie to PfSense, I have currently a NetGear R7000 (DD-WRT) router, and try building my old computer as a PfSense firewall router. Under my R7000 router,
- there is a firewall script (see below), how to implement under PfSense:
#Speed up YouTube
iptables -A INPUT -s 173.194.55.0/24 -j DROP
iptables -A INPUT -s 206.111.0.0/16 -j DROP- I have some scripts under Router's DNSmasq commands (see below), how to implement under PfSense:
address=/router.home/192.168.1.1
address=/voip.home/192.168.1.114
address=/nas1.home/192.168.1.107
address=/nas2.home/192.168.1.123Thanks much for the help.
William
-
1/ You create a block rule via the GUI. Not sure what's the point though, all inbound traffic from WAN is blocked by default.
2/ You can use this as is in Services - DNS Forwarder - Advanced, or use the GUI to set up the same Host Overrides. -
1/ You create a block rule via the GUI. Not sure what's the point though, all inbound traffic from WAN is blocked by default.
You may see here: http://www.dslreports.com/forum/r28071070-How-to-Reddit-YouTube-firewall-rule-with-MI424wr
-
The block rule needs to go to LAN interface(s), with those ranges as destination. (Certainly does not speed up anything here.)
-
2/ You can use this as is in Services - DNS Forwarder - Advanced, or use the GUI to set up the same Host Overrides.
I got this setup, but when try entering "router.home" at the browser, I got error:
Potential DNS Rebind attack detected, …., try accessing the router by IP address instead of by host name
How to solve this?
Thanks
-
By reading the notes in the GUI. System - Advanced - Admin Access (DNS Rebind Check, Alternate Hostnames).
-
By reading the notes in the GUI. System - Advanced - Admin Access (DNS Rebind Check, Alternate Hostnames).
Appreciated. Lots of stuff to learn for me.
-
#Speed up YouTube iptables -A INPUT -s 173.194.55.0/24 -j DROP iptables -A INPUT -s 206.111.0.0/16 -j DROPpfcode does it really speed up youtube? I thought youtube had a large amount of ip tables. I tried blocking them all failed miserable. LOLZ :-[
-
#Speed up YouTube iptables -A INPUT -s 173.194.55.0/24 -j DROP iptables -A INPUT -s 206.111.0.0/16 -j DROPpfcode does it really speed up youtube? I thought youtube had a large amount of ip tables. I tried blocking them all failed miserable. LOLZ :-[
[/quote]Yes. it does sometime.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy