Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Transfer these Routes / ip tables to Edge Router Lite

$
0
0

Hi,

 

I am to stupid to adapt the below routes or ip tables to the edge router light. These are for my android devices using an external DNS. 

 

Here are the static Routes:

 

 

IP: 8.8.8.8
Subnet: 255.255.255.255 (or /32)

IP: 8.8.4.4
Subnet: 255.255.255.255 (or /32)

IP: 108.175.32.0
Subnet: 255.255.240.0 (or /20)

IP: 198.38.96.0
Subnet: 255.255.224.0 (or /19)

IP: 198.45.48.0
Subnet: 255.255.240.0 (or /20)

IP: 185.2.220.0
Subnet: 255.255.252.0 (or /22)

IP: 23.246.0.0
Subnet: 255.255.192.0 (or /18)

IP: 37.77.184.0
Subnet: 255.255.248.0 (or /21)

IP: 45.57.0.0
Subnet: 255.255.128.0 (or /17)

Here are the ip tables - I am unsure if these are preferable to the static routes…

 

iptables -I PREROUTING -t nat -p udp --dport 53 -j DNAT --to-destination [put your closest Getflix DNS server here]
iptables -I PREROUTING -t nat -p tcp --dport 53 -j DNAT --to-destination [put your closest Getflix DNS server here]

These blocks (Netflix Servers) go along:

iptables -I FORWARD -d 108.175.32.0/255.255.240.0 -j REJECT
iptables -I FORWARD -d 198.38.96.0/255.255.224.0 -j REJECT
iptables -I FORWARD -d 198.45.48.0/255.255.240.0 -j REJECT
iptables -I FORWARD -d 185.2.220.0/255.255.252.0 -j REJECT
iptables -I FORWARD -d 23.246.0.0/255.255.192.0 -j REJECT
iptables -I FORWARD -d 37.77.184.0/255.255.248.0 -j REJECT
iptables -I FORWARD -d 45.57.0.0/255.255.128.0 -j REJECT

Thanks in advance for any help!

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>