Friday, August 17, 2018

Linking VLAN across a router

Hi,

I'm trying to create a few tiny networks, linked using PPTP VLAN to eachother.

I have an ubuntu server in the cloud running a PPTP server, and am using a load of small GL-AR150 routers which are configured to connect to the VLAN server. This part seems to work. The clients can all speak to the server, and the clients can load eachother's router web-portals.

E.g. Server is 10.10.10.1 and it gives the VPN clients 10.10.10.100 to 10.10.10.110. The computers behind each GL-AR150 can load other GL-AR160 pages by browsing to 10.10.10.101 from the router configured to 10.10.10.100.

Each of these routers has a few computers, currently receiving addresses via DHCP e.g. 10.10.100.1 and the computer gets 10.10.100.2.

How do I configure the AR150 to forward traffic between these subnets?

I want a computer that is 10.10.100.2 (connected to the router that has VPN IP 10.10.10.100) to be able to talk to 10.10.101.2 (connected to the router that has VPN IP 10.10.10.101) and vice-versa.

I have tried setting up static routes, fiddling with firewall etc, but seem to be missing something. What static routes would I need to setup and how would I setup IP tables to allow this?

Cheers



No comments:

Post a Comment