[Sussex] Draytek router configuration

Richie Jarvis richie at helkit.com
Tue May 9 19:40:57 UTC 2006


Al Bennett wrote:

> Evening all
>
> OK, so I've acquired a Draytek 2800G ADSL router which looks the part 
> but actually seems to be pretty crappy.  I'm trying to find out how 
> best to set the damn thing up to do what I want it to, so if anyone 
> has any experience with Draytek routers I'd appreciate some pointers!
>
> What I'm trying to set up is a simple network of two Windows NATted 
> PCs which receive IPs via DHCP from the router and a Debian server 
> which has a static IP.  We've got 5 usable IPs from Zen Internet and 
> I'd like one of them to go to the Debian box but that box still to be 
> accessible from the two windows PCs (my first attempt at setting this 
> up had full access for the server but no way to talk to the different 
> subnets).
>
> To me this seems simple enough for a £160 router to handle but for the 
> life of me I can't get it all working.  I've got it to the point now 
> where the PCs get IPs and happily chat to each other, I've assigned a 
> private IP to the server (in the 192.168.1.xxx range) and now PCs and 
> server talk (I think, not very well tested).
>
> What I can't get to work is the external IP address forwarded to the 
> internal server address.  I've presently got it set up using some form 
> port forwarding but it seems to work unreliably.  Sometimes I can 
> connect using the external IP, sometimes not.
>
> Does anyone have any idea how I should be doing this and if I'm at all 
> near the mark?
>
> TIA!
>
> Al
>
Hi Al,

I have a Draytek 2800VG, and previously had a 2600, and have found them 
to be the best cheap router/firewall money can buy.  I also have an 8 
range IP set myself.

Anyway, on to your issue.  The answer is to go to LAN/General Setup and 
set the 2nd IP Address and subnet mask to your external addresses.  Make 
sure 'For IP Routing Usage' is enabled.  Your router should now accept 
connections for your IP range. 

The next step depends on whether you wish to put your Debian box into 
the DMZ, or just open single ports.

For DMZ, go to NAT/DMZ Host, and enable the required Aux WAN IP, and tie 
it to the internal address
For Open ports, go to NAT/Open Ports, and open the required ports, and 
make sure the Aux WAN IP is set to the required address.

The trick here is that your Debian machine needs to be in the same 
address range as the NAT'd windows machines.  My main fileserver is 
setup like this, and has a different external address to everything else 
on my network, even on the outbound.

Hope that helps,

Cheers,

Richie




More information about the Sussex mailing list