Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Routing and Multi WAN» Inter VLAN routing and single gateway?
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Inter VLAN routing and single gateway?  (Read 1340 times)
0 Members and 1 Guest are viewing this topic.
Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« on: July 27, 2012, 11:45:52 pm »

Greetings Smiley

I run a multiple VLAN/1 LAN setup. The gateway for the LAN is 10.1.1.1

How to stop inter VLAN routing and only direct traffic to the gateway? No matter which VLAN the traffic generates from?
Logged

Kind regards Brian

heper
Sr. Member
****
Offline Offline

Posts: 559


View Profile
« Reply #1 on: July 28, 2012, 04:37:42 am »

use policy routing to specify a gateway in the default any TO any firewall rule

inter-vlan routing will stop to function, only out to internet will work
Logged
Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« Reply #2 on: July 28, 2012, 05:28:22 am »

Walk me through it....

I have tried that (running 1.2.3), but to no avail.
« Last Edit: July 30, 2012, 05:52:00 am by Supermule » Logged

Kind regards Brian

heper
Sr. Member
****
Offline Offline

Posts: 559


View Profile
« Reply #3 on: July 28, 2012, 07:15:40 pm »

no clue bout 1.2.3, have no more remaining systems running it. It's fairly easy on 2.x

in 2.x when ya edit the default lan rule, theres a section to specify a gateway other then 'default'.
Logged
Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« Reply #4 on: July 29, 2012, 05:15:59 pm »

*BUMP* Smiley
Logged

Kind regards Brian

cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6055


View Profile WWW
« Reply #5 on: July 29, 2012, 08:37:25 pm »

How do you have multiple VLANs with only one LAN? Guessing they're bridged together then, or else multiple WANs on VLANs. In general, you do what you're looking to do with firewall rules.
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« Reply #6 on: July 30, 2012, 01:33:21 am »

I have attached some images....

The setup is like this...



LAN Setup



VLAN Setup



LAN Rule



VLAN Rule



The problem is that all of the VLANS can interact. I only want the traffic directed from the VLAN to the internet and no more.
Logged

Kind regards Brian

Metu69salemi
Hero Member
*****
Offline Offline

Posts: 1560


View Profile
« Reply #7 on: July 30, 2012, 01:56:56 am »

Your LAN subnet is way overlapping vlan subnets and you need firewall rule to block RFC1918 networks(inside ip-subnets)
Logged
Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« Reply #8 on: July 30, 2012, 02:25:39 am »

I must be missing something....

To have 10.1.x.x subnets working, then one must run LAN on 10.1.x.x/16 subnet....

And I can only block RFC1918 networks on WAN. Not on LAN....I have searched the ruleset for this to no avail...
Logged

Kind regards Brian

Metu69salemi
Hero Member
*****
Offline Offline

Posts: 1560


View Profile
« Reply #9 on: July 30, 2012, 02:43:16 am »

does this help
Logged
Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« Reply #10 on: July 30, 2012, 03:09:02 am »

Have a look into it Smiley

Thx so far!
Logged

Kind regards Brian

Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« Reply #11 on: July 30, 2012, 03:56:58 am »

Working!

Thanks a lot!
Logged

Kind regards Brian

Metu69salemi
Hero Member
*****
Offline Offline

Posts: 1560


View Profile
« Reply #12 on: July 30, 2012, 04:38:57 am »

edit your first post subject field with [SOLVED]
Logged
Supermule
Hero Member
*****
Offline Offline

Posts: 1172


View Profile
« Reply #13 on: July 30, 2012, 05:51:15 am »

Will do!

Smiley

edit your first post subject field with [SOLVED]
Logged

Kind regards Brian

Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.029 seconds with 20 queries.