Profils dns

Post new topic   Reply to topic    DD-WRT Forum Index -> Matériels à base de Broadcom
Author Message
lilielletune
DD-WRT Novice


Joined: 03 Apr 2009
Posts: 1

PostPosted: Mon Oct 12, 2009 16:39    Post subject: Profils dns Reply with quote
Bonjour,

Je cherche a ce que 2 profils de pc, triés par adresse mac/ip ou par réseau wifis/ethernet (mon routeur peux avoir 2 réseaux wifi), accèdent a internet avec des dns différents (1 sur les dns du FAI et l'autre sur openDNS qui permet une sorte de restriction parentale en amont du pc)

Est ce possible?

_________________
netgear wndr3300 dd-wrt standard v24-sp2 build 12533
Sponsor
lexstyui
DD-WRT Guru


Joined: 23 Mar 2007
Posts: 774

PostPosted: Mon Oct 12, 2009 21:58    Post subject: Reply with quote
Tu peux essayer de faire çà avec une règle itables, en redirigeant toutes les requetes dns provenant du pc vers Opendns.

iptables -t nat -I PREROUTING -p udp -s ipdupc --dport 53 -j DNAT --to 208.67.222.222:53
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Matériels à base de Broadcom All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum