This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No Internet connectivity (DNS?)

Hello,

I trying to setup my UTM for days now. It is my first Sophos UTM but i had many other over the past years (IPCop, Smoothwall, Endian, pfSense, Untangle...) but i never had such trouble getting it to work.

I setup everything the same way i did on other UTM solutions, all the settings are correct and other UTMs are working with these settings except Sophos.

My setup looks like this:

Interface: WAN
IPv4 Address: 192.168.1.250
Netmask: 255.255.255.0
GW IP: 192.168.1.100 (Router)


Interface: LAN
IPv4 Address: 192.168.0.250
Netmask: 255.255.255.0
DHCP Range from 30-70

On Global DNS Tab i set Internal Networks allowed, On DNS Forwarder i set the Google DNS Servers. I created a Firewall Rule from Internal to ANY.

I use the UTM Internal IP as DNS (192.168.0.250) for Clients, if i change the DNS Server to Google or ISP (on a Client machine, i get internet access (sometimes...).


After a fresh install the internet connection will work for some time, but after another restart or so it suddenly stops. I can't ping to any hostname out there such as google.com. I can pint the Router and other local devices, even from an internal Machine.

I created backups, did several factory resets and even reinstalled the UTM from an .iso. Nothing worked i can't get it online. I guess it has something to do with DNS but i can't find the error. 

On Untangle i can set the DNS Servers during WAN creating, here i can only define the Gateway but i assume that the DNS Forwarder Tab is for this, right ? 


So in short:

-Router connects to internet
- Sophos UTM connects to Router via Static WAN set to Router IP as Default GW.
-Global DNS set for Internal Networks
-DNS Forwarders are Google or the ISP (doesn't matter) Use ISP DNS unchecked (don't show up anyway).
-Can't ping oder resolve any DNS from within WebAdmin Interface Tools to Internet Server
-Using Google DNS Server on Clients and Internet will work.
-Will not work on clients with UTM Internal IP as DNS

-Factory reset don't help
-Resore fom backup don't help
-Reinstall UTM OS don't work
-Works some time after fresh install ?!?

-Other UTMs i still have still work flawlessly with the same settings and connected Hardware.

I struggle with this since 4 days, i just can't get it to work properly. I think it has something to do with DNS but i cant really find anything specific. Read all the threads here and elsewhere on the internet related to Sophos UTM and DNS but nothing worked.

Any suggestions ? which DNS setting have i missed ? i basically just want that the WAN interface uses the ISPs or Google's DNS Server for resolution, should be a simple thing as it was on other UTMs like Untangle etc.

-Alex


This thread was automatically locked due to age.
Parents
  • In Standard mode, the Proxy does the lookup.  In Transparent mode, the client does the DNS lookup itself.  In the test you did for #11 above, I'll guess that the client was configured to look up DNS at 8.8.8.8 instead of at the IP of "Internal (Address)."

    In any case, it's back to the DNS configuration.  Please open the 'Forwarders' tab, edit the Availability Group with 'Advanced' open and do the same for the 8.8.8.8 definition in the group.  Can we get a picture of that?

    Cheers - Bob
  • In Standard mode, the Proxy does the lookup.  In Transparent mode, the client does the DNS lookup itself.  In the test you did for #11 above, I'll guess that the client was configured to look up DNS at 8.8.8.8 instead of at the IP of "Internal (Address)."

    In any case, it's back to the DNS configuration.  Please open the 'Forwarders' tab, edit the Availability Group with 'Advanced' open and do the same for the 8.8.8.8 definition in the group.  Can we get a picture of that?

    Cheers - Bob


    No, i did the test with Client DNS configured to Internal address (192.168.0.250). I did it again to be sure:

    dst:
    wsec:/home/login # tcpdump -n -i eth1 dst 8.8.8.8
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
    23:10:31.395766 IP 192.168.1.250.64294 > 8.8.8.8.53: 25004+ A? google.com. (28)
    23:10:36.931162 IP 192.168.1.250.55034 > 8.8.8.8.53: 34490+ A? google.com. (28)
    23:10:43.193084 IP 192.168.1.250 > 8.8.8.8: ICMP echo request, id 5409, seq 271, length 64
    23:11:06.934549 IP 192.168.1.250.59719 > 8.8.8.8.53: 55327+ A? google.com. (28)
    23:11:26.079667 IP 192.168.1.250.51267 > 8.8.8.8.53: 61190+ A? google.com. (28)


    src:
    wsec:/home/login # tcpdump -n -i eth1 src 8.8.8.8
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
    23:11:54.607523 IP 8.8.8.8.53 > 192.168.1.250.52499: 44102 16/0/0 A 193.134.255.217, A 193.134.255.222, A 193.134.255.221, A 193.134.255.242, A 193.134.255.236, A 193.134.255.231, A 193.134.255.237, A 193.134.255.212, A 193.134.255.251, A 193.134.255.226, A 193.134.255.227, A 193.134.255.247, A 193.134.255.216, A 193.134.255.241, A 193.134.255.246, A 193.134.255.232 (284)

    Thats from the desktop client. If i try this from the laptop i get only ICMP echo requests and nothing else. So maybe there is something with the desktop client that generate these logs. DNS cache was flushed before testing.

    Of course, i made a few pictures (client configuration also).
Reply
  • In Standard mode, the Proxy does the lookup.  In Transparent mode, the client does the DNS lookup itself.  In the test you did for #11 above, I'll guess that the client was configured to look up DNS at 8.8.8.8 instead of at the IP of "Internal (Address)."

    In any case, it's back to the DNS configuration.  Please open the 'Forwarders' tab, edit the Availability Group with 'Advanced' open and do the same for the 8.8.8.8 definition in the group.  Can we get a picture of that?

    Cheers - Bob


    No, i did the test with Client DNS configured to Internal address (192.168.0.250). I did it again to be sure:

    dst:
    wsec:/home/login # tcpdump -n -i eth1 dst 8.8.8.8
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
    23:10:31.395766 IP 192.168.1.250.64294 > 8.8.8.8.53: 25004+ A? google.com. (28)
    23:10:36.931162 IP 192.168.1.250.55034 > 8.8.8.8.53: 34490+ A? google.com. (28)
    23:10:43.193084 IP 192.168.1.250 > 8.8.8.8: ICMP echo request, id 5409, seq 271, length 64
    23:11:06.934549 IP 192.168.1.250.59719 > 8.8.8.8.53: 55327+ A? google.com. (28)
    23:11:26.079667 IP 192.168.1.250.51267 > 8.8.8.8.53: 61190+ A? google.com. (28)


    src:
    wsec:/home/login # tcpdump -n -i eth1 src 8.8.8.8
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
    23:11:54.607523 IP 8.8.8.8.53 > 192.168.1.250.52499: 44102 16/0/0 A 193.134.255.217, A 193.134.255.222, A 193.134.255.221, A 193.134.255.242, A 193.134.255.236, A 193.134.255.231, A 193.134.255.237, A 193.134.255.212, A 193.134.255.251, A 193.134.255.226, A 193.134.255.227, A 193.134.255.247, A 193.134.255.216, A 193.134.255.241, A 193.134.255.246, A 193.134.255.232 (284)

    Thats from the desktop client. If i try this from the laptop i get only ICMP echo requests and nothing else. So maybe there is something with the desktop client that generate these logs. DNS cache was flushed before testing.

    Of course, i made a few pictures (client configuration also).
Children
No Data