Re: Windows 7 & 10 dns resolution

Celedhrim <[email protected]> Mon, 6 Mar 2017 20:59:27 +0100
Newsgroups gmane.comp.security.firewalls.firehol.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------325DD3CABA8AB85290E57922
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

I log all with ulog , but nothing with "in=eth0" and nothing about my 
windows client IP

Here is my configuration

I have added at the end

###############
# WINDOWS DNS BUG
##############
iptables -I INPUT -i eth0 -j ACCEPT

All work like a charm

Le 06/03/2017 à 19:31, Phil Whineray a écrit :
> Hi Celedhrim
>
> On Mon, Mar 06, 2017 at 07:06:19PM +0100, Celedhrim wrote:
>> Hi,
>>
>> I have a debian testing as gateway on my network with 2 NIC , eth0:lan
>> eth1:wan
>> This gateway is also dhcp/dns for the lan
>> With linux android client no problems , all is fine.
>> With windows 10 , windows 7 and xbox one , when they start , they say :
>> No network.
>> I can ping the gateway , http it etc but nslookup say : TIMEOUT :(
> Did you check the logs on your gateway? Check out this page:
>    http://firehol.org/guides/firehol-troubleshooting/
>
> If that doesn't help, could you include your firehol.conf?
>
> Cheers
> Phil



--------------325DD3CABA8AB85290E57922
Content-Type: text/plain; charset=UTF-8;
 name="firehol.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="firehol.conf"

# FireHOL configuration file
#
# See firehol.conf(5) manual page and FireHOL Manual for details.
#
# This configuration file will allow all requests originating from the
# local machine to be send through all network interfaces.
#
# No requests are allowed to come from the network. The host will be
# completely stealthed! It will not respond to anything, and it will
# not be pingable, although it will be able to originate anything
# (even pings to other hosts).
#

version 6

# Accept all client traffic on any interface
#interface any world
#	client all accept

###############
# VARIABLES
###############

datura="212.83.180.20"
mescaline="176.31.127.208"
claranet="62.240.254.57"
xbox_one="10.12.13.3"
celerity="10.12.13.27"

###############
# FAIL2BAN
###############

ipset create f2b-sshd hash:ip 
blacklist full ipset:f2b-sshd


###############
# DNAT
###############

# Permettre l'acces a tox du lan par le dns publique.
dnat to 10.12.13.1 inface eth0 dst tox.ielf.org

# Forward vers la xbox pour xbox live
for x in ${server_xboxlive_ports}
do
	dnat to ${xbox_one} inface eth1 proto "${x/\/*/}" dport "${x/*\//}"
done

# Forward steam
for x in ${server_steam_ports}
do
	dnat to ${celerity} inface eth1 proto "${x/\/*/}" dport "${x/*\//}"
done


###############
# INTERFACES
###############


interface eth0 lan
	policy accept

interface eth1 wan
	policy drop
	server ping accept
	server ssh accept
	server http accept
	server https accept
	server smtp accept
	server xboxlive accept
	server steam accept
	server weechat accept
	server taskd accept
	server any accept src $datura
	server any accept src $mescaline
	client all accept
	

interface docker0 docker
	policy accept

###############
# ROUTERS
###############

router lan2wan inface eth0 outface eth1
	masquerade
	route all accept

router docker2wan inface docker+ outface eth1
	masquerade
	route all accept

--------------325DD3CABA8AB85290E57922
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KRmlyZWhvbC1z
dXBwb3J0IG1haWxpbmcgbGlzdApGaXJlaG9sLXN1cHBvcnRAbGlzdHMuZmlyZWhvbC5vcmcKaHR0
cDovL2xpc3RzLmZpcmVob2wub3JnL21haWxtYW4vbGlzdGluZm8vZmlyZWhvbC1zdXBwb3J0

--------------325DD3CABA8AB85290E57922--