jeudi 26 mars 2015

Redirect dns to ethernet card from wireless


Vote count:

0




I have the following situation:


1- raspberry pi connected to my laptop with ubuntu 14.04 via ethernet set up like this:



ipaddress: 10.42.0.2
network: 10.42.0.0
netmask: 255.255.255.0
gateway: 10.42.0.1
broadcast: 10.42.0.255


2- my laptop connected to the router via wireless and set up with this configuration for eth0:



ipaddress: 10.42.0.1
network: 10.42.0.0
netmask: 255.255.255.0
broadcast: 10.42.0.255


and this for wlan0: //wireless lan adapter



ipaddress: 192.168.1.131
network: 192.168.1.0
netmask: 255.255.255.0
broadcast: 192.168.1.255
gateway: 192.168.1.1 //router address


i successfully set up iptables to route all connection on port 80 and 8080 to my raspberry but now the problem is theat the raspberry could not resolve address. i think the problem is i need to redirect dns too but i don't know how. Can someone help me? Tnx in advance



asked 1 min ago







Redirect dns to ethernet card from wireless

Aucun commentaire:

Enregistrer un commentaire