Posts Tagged ‘Setup’

postheadericon What is a VLAN & How to Setup VLANs in DD-WRT (Router FAQ)

At FlashRouters, our primary goal is to inform users of what they can do if they decide to take control back of their network and learn more about what their router does. From VPN (Virtual Private Network) integration to QoS (Quality of Service) to DNSMasq & Bandwidth Monitoring/Access controls, DD-WRT is a feature laden firmware alternative ready to maximize your router capabilities and performance.

In this post, we will explore a very popular feature most commonly found in alternative firmwares like DD-WRT called VLAN or VLAN tagging.

What is VLAN (Virutal LAN)?

According to Wikipedia,”In computer networking, a single layer-2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them via one or more routers; such a domain is referred to as a virtual local area network, virtual LAN or VLAN… More sophisticated devices can mark packets through tagging, so that a single interconnect (trunk) may be used to transport data for multiple VLANs…”

Basically a VLAN is a method of created separate networks on the same router for security and segmentation purposes. VLAN setup is a useful procedure if you have some devices on your network that you want to isolate from other devices like multiple guest networks for family friends or office visitors. Provide Internet access with a VLAN without giving them access to your entire network. The settings can easily be changed and adapted to however you want the network to be setup.

VLAN Benefits

A VLAN has the same attributes as a physical local area network (LAN), but it allows for devices to be grouped together more easily even if they are not on the same network switch. Most enterprise-level networks today use the virtual LANs.

Without VLAN functionality, this setup would require a separate, a collection of network cables and equipment separate from the primary network that would be costly and create the need for wiring an entire home or office again. Unlike physically separate networks, VLANs share bandwidth, so VLAN trunks may require aggregated links and/or quality of service prioritization for maximizing the capability.

For many users, VLAN alone is a enough of a reason to switch to third-party alternative firmware, but you can read the Intro to DD-WRT for more.

How to Setup VLAN in DD-WRT

Asus-AC66U Gigabit Wireless DD-WRT Router

Now on to the fun!

In this DD-WRT tutorial, we will setup VLANs for each Ethernet port. This will create a network on each port that is isolated from all the other ports. An Asus RT-AC66U has been used for this tutorial but this same interface is pretty constant throughout any popular DD-WRT enhanced router like the Netgear Nighthawk R7000 AC1900 or the Netgear WNDR4000 N750.

VLAN Configuration of Ports 1-4

Go to http://192.168.1.1/ (or your router management IP address) in your web browser.

Select Setup -> VLANs.

Uncheck ports 1, 2, 3, and 4. Place port 1 into VLAN1, port 2 into VLAN2, and port 3 into VLAN3, port 4 into VLAN4. Set the WAN port to VLAN0.

When this is done, the VLAN configuration page should look like this.

VLAN-howto 1 vlan setup

 

 

Click Save, then Apply Settings.

VLAN-howto 2 apply vlan settings

VLAN Configuration on Each Port

  1. Next, plug an Ethernet cable into port 1 on the router from your computer.
  2. Unplug the router power for 30 seconds and then plug it back in. Wait for the lights to return to normal.
  3. Go to Setup -> Networking.

In this tutorial, we will create a subnet for each VLAN.

VLAN1 will have the subnet 192.168.1.0. VLAN2 will have the subnet 192.168.2.0. VLAN3 will have the subnet 192.168.3.0. VLAN4 will have the subnet 192.168.4.0.

That means devices on VLAN1 will be assigned addresses such as 192.168.1.15 and for VLAN2 192.168.2.50

VLAN-howto 3 port setup assignment

Under Port Setup set VLAN1 to Unbridged.

Set the IP Address to 192.168.1.1. Set the Subnet Mask to 255.555.255.0

Change VLAN2 to Unbridged.

Set the IP Address to 192.168.2.1. Set the Subnet Mask to 255.555.255.0

Change VLAN3 to Unbridged.

Set the IP Address to 192.168.3.1. Set the Subnet Mask to 255.555.255.0

Change set VLAN4 to Unbridged.

Set the IP Address to 192.168.4.1. Set the Subnet Mask to 255.555.255.0

Save your changes by clicking Save. When the interface responds, the Port Setup section should look like this.

VLAN-howto 4 port setup assignment 2

Below the Port Setup area you will see a section titled DHCPD.

What this area does is allow you to create multiple automatic assignment addresses for IP addresses in a network. So whenever someone authenticates into this section, this VLAN will assign it a user address in your network. This is create 4 sets of automatic assignments within the 4 new segments of your network to be handled by the router automatically in the future.

Under DHCPD click Add. Set DHCP 0 to vlan0 with a Leasetime of 1440 (24 hours). Click Save.

Click Add again. Set DHCP 1 to vlan1 with a Leasetime of 1440 (24 hours). Click Save.

Under DHCPD Click Add. Set DHCP 2 to vlan2 with a Leasetime of 1440 (24 hours). Click Save.

Once again, Once again,Set DHCP 3 to vlan3 with a Leasetime of 1440 (24 hours). Click Save.

And a final time, click Add. Set DHCP 4 to vlan4 with a Leasetime of 1440 (24 hours).

Click Save. Let it save. Then, click Apply Settings.

Once completed, the DHCPD -> Mutliple DHCP Server section should look like this:

VLAN-howto 5 multiple dhcp servers

Plug your Ethernet cable into any port on the router aside from port 4 or the WAN port. Unplug the power for 30 seconds and then plug it back in. Wait for the lights to return to normal.

 Adding Firewall Rules to Isolate the VLANs.

Now we have created 4 network segments but we need to use a firewall to fully isolate them from each other. These commands block all VLANs from communication with each other.

Browse to Administration -> Commands.

Copy and paste the following commands into the Commands text box:

iptables -I  FORWARD -s 192.168.1.0/255.255.255.0 -j DROP
iptables -I  FORWARD -s 192.168.2.0/255.255.255.0 -j DROP
iptables -I  FORWARD -s 192.168.3.0/255.255.255.0 -j DROP
iptables -I  FORWARD -s 192.168.4.0/255.255.255.0 -j DROP

Click “Save Firewall”.

VLAN-howto 6 firewall commands

Your DD-WRT VLAN basic configuration is now complete.

Testing the VLAN DD-WRT Setup

To test each VLAN, connect to that wireless network and port. Take note of your IP address and seeing if your local IP address changes in your network. If it changes you have correctly setup VLANs, great job!

The post What is a VLAN & How to Setup VLANs in DD-WRT (Router FAQ) appeared first on FlashRouters DD-WRT & VPN Blog.

FlashRouters DD-WRT & VPN Blog » FlashRouters DD-WRT & VPN Blog

postheadericon Using A Chromecast Setup with a VPN Service

What is a Google Chromecast?

If you’re in the habit of streaming video or music on your tablet or smartphone, then the Google Chromecast is the supremely affordable digital media player that you’ve been waiting for. For $ 35, you can stream any number of apps to your HD television by plugging in Chromecast, such as Netflix, Hulu, YouTube, and even your Google Chrome screen. And you can control the whole thing with your tablet or smartphone; no remote needed.

How to Use Google Chromecast with a VPN Service

Today, we’re going to highlight another one of the myriad ways in which a VPN can enrich your online experience and enhance your online freedom by giving you access to geographically restricted web material: by being used in conjunction with Chromecast.

How Can I Use a Chromecast?

Integrate Chromecast with HDTV – If you own an HD television and hate straining to hear audio out of your computer speakers or trying to watch a YouTube video on a tiny iPhone screen, consider a Chromecast setup with your TV to be the ideal, affordable and simple streaming service solution.

Use Chromecast to replace Digital Projectors – Using Chromecast is also a great and affordable replacement for laptop projectors. If you have an important business meeting and would like to project a slideshow or video clip, doing so with your personal computer and a TV set is a much less involved approach as opposed to trying to cobble together a screen and an expensive and frequently unreliable device like a digital projector. Plus you’ll tech savvy to boot!

No new remote – Tired of starting to use and losing the remote each new gadget gives you. Since Chromecast runs off your tablet or laptop, you also won’t need to add another remote to your collection. All of the management activities can be from the device in your hand or pocket.

How to Setup a Chromecast?

The Chromecast setup is very simple and user friendly. The setup is:

  1. Plug Chromecast into the HDMI port in your TV.
  2. Make sure your computer is connected to the same WiFi network as your computer.
  3. Download the Chromecast App.
  4. Start Chromecast App on your computer.
  5. Check your code on your TV and computer and then click “That’s My Code”.
  6. Enter in your WiFi credentials in the Chromecast on your computer, tablet, or smartphone.
  7. Use the Google Cast Chrome extension/integrated browser button to broadcast content straight to your TV from any device that has Google Chrome on it.
Setup for Google Chromecast

Google Chromecast Setup

Google Chromecast Supported Apps

Google Chromecast supports many of your favorite streaming services for movies, music, and television. A Chromecast setup with your TV is the perfect way to utilize your HDTV’s great picture quality and high quality sound without falling trap to expensive cable bills. Chromecast supported streaming services & integrations include:

  • YouTube
  • Netflix
  • Hulu Plus
  • Plex Media Server
  • Pandora
  • Google Play/Music
  • Vevo
  • Songza
  • …and many more to be announced soon!

Can I Use a Chromecast Setup With A VPN Service?

The primary benefit of using your Chromecast setup with a VPN is just what we stated above; VPNs tunnel your wireless network activity through encrypted servers set up all over the world, so you can ensure that no hackers, identity thieves, or snooping government officials get anywhere near your private information. In this day and age, online security is more necessary than ever, and VPNs provide a remarkably affordable and uncomplicated way to achieve it.

Secondarily, and this is the fun part, VPNs give you access to websites that may not be available in your country. Logging into your VPN means changing your IP address, because you’re made to choose an encrypted server in a different country, and this means that your computer will think it’s in whatever country your server is in. And since you can control which server you choose, you can choose to fool your computer into thinking it’s wherever you’d like it to be.

Benefits of Using Chromecast with a VPN

So if you’re on vacation in Mexico, or traveling to Tokyo for business purposes, or really going anywhere for any reason, you can bring your Netflix queue with you. Just choose an IP address from your home country and you’re ready to go. Better yet, want to sample the library of movies and television that Netflix offers in a different country from your living room? VPNs make that possible as well.

Whether you’re traveling with a tablet or smartphone, or lounging on your couch, using a tiny digital media player  like the Chromecast with a VPN can open up a much wider internet than you could have dreamed of. Popular VPN services for integrating with a Chromecast include IPVanish, Overplay, HideMyAss, & Private Internet Access, or just check out our Official Supported Provider list to figure out if we support your current provider.

Best Routers for Google Chromecast

At FlashRouters, we take powerful routers and super-charge their versatility, making them not just capable of running faster, but of keeping your network completely secure. Top-quality replacement firmwares like DD-WRT and Tomato give users the ability to extend their wireless range and control how their bandwidth is allocated, but more importantly, they give users access to a wide range of advanced security options.

Our products are all flashed with DD-WRT or Tomato firmware, and therefore are extremely modifiable. This open firmware allows for a whole new world of possibility with gadgets like the Google Chromecast.

All of our routers are Chromecast-ready due to their streamlined firmware that supports all OS’s including Apple OS, Chrome, Linux, Android, and Windows. Some of our best performing routers for Chromecast include the top-performing wireless AC beast, the Netgear R7000 DD-WRT Nighthawk; the top performing wireless N Tomato router, the RT-N66U; and our economy line DD-WRT model, the Linksys E1200.

The post Using A Chromecast Setup with a VPN Service appeared first on FlashRouters Blog.

FlashRouters BlogFlashRouters Blog