Graham J <
gra...@invalid.com> wrote:
> Chris Green wrote:
> > I have a Draytek Vigor 2820n with standard ADSL on WAN1 and a Plusnet
> > Hub One (with its own phone line) on WAN2.
> >
> > I would like to be able to get at the Plusnet Hub One's web
> > configuration from 'outside'. It doesn't allow this by itself (or at
> > least don't think it does, please tell me if it does) so I was
> > thinking would it be possible to route a connection coming in on WAN1
> > to connect to the Plusnet Hub One on WAN2.
> >
> > Currently I have external configuration of the Vigor 2820n enabled
> > using a high numbered port so I know I can connect a browser from
> > outside to the 2820n. I have added a NAT port redirection rule to
> > connect port 50081 from outside to the IP address of the Plusnet Hub
> > One on WAN2 and I have opened the firewall for this port. However it
> > doesn't work. Does NAT redirection only work to LAN IPs? Is there
> > maybe something else I can do to get what I want?
> >
>
>
> Yes, but you would need help from a computer on the "inside"
>
In the long[er] term this may be possible, there are at least three
'always on' systems on the 2820n's LAN. One is a Raspberry Pi that
already provides DNS (using dnsmasq) so it could do some routing as
well.
> Consider:
>
> The 2820 creates a LAN of the form 192.168.A.0 with the router itself
> probably at 192.168.A.254
>
The 2820n is at its default address on its LAN - 192.168.1.1.
> The Plusnet router creates a LAN of the form 192.168.C.0 with its own
> address probably being 192.168.C.254 and this connects to the Vigor WAN2
> port. The Vigor WAN2 port will get its IP from the Plusnet router via
> DHCP - suppose it is 192.168.C.1
>
The Plusnet router is at a LAN address of 192.168.13.254.
> A computer on the 192.168.A.0 network can talk to the Plusnet router
> because the Vigor router provides a static route from its LAN to WAN2 -
> it will show that:
>
> Plunet router IP 192.168.C.254 routed via WAN2 192.168.C.1
> All traffic for IP 192.168.C.0-255 is delivered to the WAN2 port.
>
Yes, it's alread set up like that so that computers on the 192.168.1.0
LAN can see the Plusnet router at 192.168.13.254. It's set up as part
of the load balancing on the 2820n, it sets a default route out of
WAN2 for anything on 192.168.13.9.
> So from "outside" you could set up a VPN or whatever to give you access
> via WAN1 to the computer on the "inside", and from that you could open
> its browser on the Plusnet router's management page. The limitation of
> a VPN is that the originating node knows only about the public IP
> address of your WAN1, and the LAN address (192.168.A.0) of the "inside"
> network that it tunnels into. It cannot know about a totally different
> private LAN of the form 192.168.C.0
>
A VPN seems overkill for such an apparently simple requirement....
> A better way to achieve this would be to get a VDSL router that allows
> management from the internet.
Yes, I'm beginning to think that myself. I'm looking at one of the
TP-Link VRnnn series.
--
Chris Green
·