I have followed the tour, Here is my "/etc/dnsmasq.conf"
I kill the dnsmasq and restart itCode:user=nobody resolv-file=/tmp/resolv.conf no-poll interface=br0 no-negcache cache-size=512 dhcp-leasefile=/tmp/dnsmasq.log dhcp-range=lan,192.168.1.101,192.168.1.254,86400 read-ethers dhcp-option=lan,252,"\n" dhcp-authoritative interface=tun0
then restart the openvpn again, and connect the server from my pcCode:killall dnsmasq && sleep 3 && dnsmasq
but I still have DNS problem
Here is my post-fireware below
I can't find where could be wrong, could someone please help, thank you.Code:#!/bin/sh #OpenVPN access from WAN iptables -D INPUT -j DROP iptables -I INPUT -p udp --dport 1194 -j ACCEPT iptables -t nat -I PREROUTING -i eth1 -p udp --dport 1194 -j DNAT --to-destination $4:1194 iptables -A INPUT -j DROP iptables -I INPUT -i tun0 -j ACCEPT iptables -I FORWARD -i tun0 -j ACCEPT iptables -I FORWARD -o tun0 -j ACCEPT iptables -I OUTPUT -o tun0 -j ACCEPT


 
					
					 
				
				
				
					 Reply With Quote
  Reply With Quote