Smoothwall and gateways...

Merlin

Expert Member
Joined
Jan 18, 2006
Messages
2,599
Hi,

I'm running Smoothwall 3.

The router is acting only as a router - no DHCP, IP set to 192.168.1.1 and can successfully connect to my ISP.

My Smoothwall has a red IP 192.168.1.2 and a green 192.168.2.1

Gateway is set to 192.168.1.1 and DNS is 192.168.2.1 (green)

The test machine gets an IP via Smoothwall DHCP, but it's gateway is assigned as 192.168.2.1 - why?

If I connect the test machine directly to the router, and give it the right details, I can connect to the 'net.

Thanks, Nic
 

syntax

Executive Member
Joined
May 16, 2008
Messages
8,655
never used smoothwall, but i see some issues here.

firstly, why is ur smoothwall setting its dns to itself?
Secondly, the reason ur internal machine is getting default gateway of the 2.1 ip is because it has to.
192.168.1.0 and 192.168.2.0 are different networks.
Ur internal machine has its default gateway as the smoothwall nic on its network which is correct.
The smoothwall will then forward the packet to its default gateway which is the router. also correct.

I suspect u have a dns or rule base problem here.
U can test this by setting rules to any any for the meantime, and using an external dns on your host machine (like googles 8.8.8.8) and try bbrowsing or even try pinging an external ip u know will respond.

Then work your way back. Its most likely that the host is trying to get a DNS lookup from the smoothwall, which itself cannot resolve the ips you are lookinhg for
 

hilton

Expert Member
Joined
Aug 19, 2003
Messages
1,807
The problem is that you have configured the smoothwall to act as a router/gateway but you already have such a device (ADSL router).

Not sure what you want from the Smoothwall box but if it's just content filtering the reconfigure it as a 'server only'. This will eliminate the 'green' and 'red' issue and the box should have an IP in the 192.162.1.x range (same as ADSL router). Then set your proxy server in your web browser to the IP of the Smoothwall box.

If however you want the Smoothwall to be the default gateway (and subsequently a transparent proxy) then you need to either;

(a) Leave the Smoothwall a configured but change the ADSL router into bridge mode and let the Smoothwall start the PPPOE session and of course run DHCP on this box as well.

or

(b) Leave the ADSL router as is but configure the Smoothwall box as a 'server only' but remove DHCP from the ADSL router and configure it on the Smoothwall box instead. This won't stop someone manually entering the default gateway IP of the ADSL router and effectively bypassing the transparent proxy but it's a working solution.

Of course I may be completely off track.
 
Top