www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

[SOLVED] VLAN and NAT

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
sirioxx



Joined: 17 Jan 2012
Posts: 9

PostPosted: Fri May 11, 2012 8:01 am    Post subject: [SOLVED] VLAN and NAT Reply with quote

Hi all, I'm using zeroshell beta 16 on an alix.
I've created two vlan for the eth0 nic: eth0.50, eth0.52.

I have then a client in vlan 50 that can ping zeroshell and that can also reach Internet (nat is working then).
A second client, is on vlan 52. It can ping zeroshell but it can't reach Internet.

Off course zeroshell is the gateway of the two client:
client 192.168.50.2 vlan 50 -> gw 192.168.50.1 (eth0.50 zeroshell)
client 192.168.52.2 vlan 50 -> gw 192.168.52.1 (eth0.52 zeroshell)

The true configuration of the zeroshell I'm using is quiete complex but I think I summurized the problem.

What can I check to understund why only vlan 50 goes through nat?

Thank you!


Last edited by sirioxx on Tue May 22, 2012 6:10 am; edited 1 time in total
Back to top
View user's profile Send private message
redfive



Joined: 27 Aug 2009
Posts: 232

PostPosted: Fri May 11, 2012 11:07 am    Post subject: Reply with quote

Firewall rules forward chain ?? Somethings about vlan 52 ? Default policy is drop ? Proxy enabled ?
Back to top
View user's profile Send private message
sirioxx



Joined: 17 Jan 2012
Posts: 9

PostPosted: Tue May 22, 2012 6:10 am    Post subject: Reply with quote

The chain forward policy was accept but there were several unusefull active rules.
I disabled them and it seems to be working fine.

Proxy is disabled.

Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group