LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-02-2010, 06:44 AM   #1
brak44
Member
 
Registered: Aug 2010
Location: Brisbane Australia
Distribution: Centos, Fedora
Posts: 87

Rep: Reputation: 24
Firewall Samba issue with KVM on Centos


Having built a Centos server using eth0 as the wan and eth1 mapped to br1 as the lan for KVM the firewall prevents Samba from being recognised by other clients on br1. I've tried firestarter, shorewall and the inbuilt firewall within Centos - all have trouble with the bridging of eth1 to br1 in that they need to be turned off for it to work. Setting the rules for Samba has no effect. The virtualized guest is either Win 2003 server or Win XP pro configured for the correct workgroup netbios name. It seems iptables can't handle the complexity of the bridge. Anyone else had this problem or knows of a workaround?
 
Old 08-02-2010, 02:29 PM   #2
alroger
Member
 
Registered: Apr 2008
Location: Brazil
Distribution: Ubuntu
Posts: 36

Rep: Reputation: 17
brak44, how's the interfaces file on your shorewall?
I have my br0 like this and it works fine:
lan br0 detect tcpflags,nosmurfs,routefilter

You might have some of the default parameters for the br1 interface, like it was in eth0, that CAN'T be used with bridge.
 
Old 08-11-2010, 12:45 AM   #3
brak44
Member
 
Registered: Aug 2010
Location: Brisbane Australia
Distribution: Centos, Fedora
Posts: 87

Original Poster
Rep: Reputation: 24
Rebuilding the machine has fixed the problem. I can only put this down to the many differing howtos that were tried in getting KVM configured in bridge mode in the first place. Using the Package Manager to just install KVM (not Virtualization) was a start.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network issue KVM host centos michaelux Linux - Virtualization and Cloud 3 06-05-2010 11:51 PM
KVM on Centos 5.4 - bridge issue on virtual interfaces asmar Linux - Networking 1 03-01-2010 11:11 PM
How to allow Samba server from Selinux firewall in CentOS rahilmaknojia Linux - Server 8 06-09-2009 10:57 AM
CentOS Firewall issue. vasco.debian Linux - Security 4 02-23-2009 11:48 PM
permissions issue with Samba and CentOS 5.2 hotrock3 Linux - Networking 4 01-10-2009 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration