Author Topic: Using an External Firewall with linux mce.  (Read 6599 times)

ardist

  • Making baby steps
  • Posts: 3
    • View Profile
Using an External Firewall with linux mce.
« on: August 17, 2007, 06:35:28 am »
Hello all.

I have a little situation here, and I was hoping someone can help me out.  I have a ISA 2006 firewall connected to my cable modem.  My LinuxMCE is behind that connected to 2 different switches.  One switch being its internal (Pluto universe) network and the other switch for the external- being the switch that the firewall is connected too.  The problem I am having is that when I go through the wizard, and I need to connect to zap2it.com for my myth TV guide, It says that it can't connect to the internet.  Now if I plug the core directly into the cable modem by-passing ISA 2006 it works fine.  (this problem is only for the myth TV guide the rest of the computer is able to go onto the internet)  I have spend considerable time trying to figure this out, I have opened the myth TV ports, and the sql ports, and some other ports that I found on some user forms, (basically any port I heard about that was mentioned on the linuxmce forms I opened; But still no good.  So if there is anyone that might know how to solve this problem, maybe a ISA 2006 guru or someone running a similar setup can help me out.  The other thing I taught was that maybe my internal isn’t side isn’t connecting to the internet, well I know there are firewall specialist and LinuxMce specialist our there and if there is any other information that you need from me just post away.   I appreciate you taking out the time to read this post, and thank you in advance for posting any sort of response.

teedge77

  • Addicted
  • *
  • Posts: 591
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #1 on: August 17, 2007, 04:13:03 pm »
Did you try opening all ports? At least then you would know if it was a port problem or something else entirely.
AMD Athlon 64 X2 6000+
Asus M2V Via AM2 ATX
Lite-On LH-20A1S SATA DVD Burner
80GB  SATA-150
EVGA GeForce 7300 GT 512MB DDR2 PCI Express
Sound Blaster Audigy SE
Kingston 2 GB PC6400 DDR2 800MHz
Ultra X-Finity 800-Watt
ZCU000
Cisco 7970
TDM400P

garg_art2002

  • Regular Poster
  • **
  • Posts: 27
    • View Profile
    • Home Site
Re: Using an External Firewall with linux mce.
« Reply #2 on: September 20, 2008, 10:39:47 am »
Did you try opening all ports? At least then you would know if it was a port problem or something else entirely.

Hi there - My Linux MCE is behind the firewall. I would like to access the media on the machine, so that we can place our video on that.
Is there a recipe to fully disable the firewall?

My machine is a hybrid and has provision to connect to its storage from the second network card.  But that requires us to go to its room.  Since the machine is already behind the firewall, its under a trusted network.


This is an awesome product. Congrats to the creators of the product.

PS: I'd like to avoid disabling the DHCP in it for future potential use cases.  However it will always be behind the firewall.

Anil
Linux MCE.  Next best thing since slice of bread. (Audio, Video, Webserver, NAS - All rolled into one cool appliance).

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Using an External Firewall with linux mce.
« Reply #3 on: September 20, 2008, 01:25:48 pm »
lol, ISA.. *muahahaa*
rock your home - http://www.agocontrol.com home automation

Enigmus

  • Veteran
  • ***
  • Posts: 132
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #4 on: September 20, 2008, 02:40:16 pm »
I too have my LinuxMCE Core behind another firewall, however, I do not experience any of the issues you have reported.  I have no additional ports open on my Core Firewall, and outside of port forwarding the Web interface, there are no other ports specifically defined on my external firewall.
« Last Edit: September 20, 2008, 02:43:06 pm by Enigmus »

garg_art2002

  • Regular Poster
  • **
  • Posts: 27
    • View Profile
    • Home Site
Re: Using an External Firewall with linux mce.
« Reply #5 on: September 20, 2008, 09:28:39 pm »
Did you try opening all ports? At least then you would know if it was a port problem or something else entirely.

Hi there - My Linux MCE is behind the firewall. I would like to access the media on the machine, so that we can place our video on that.
Is there a recipe to fully disable the firewall?

My machine is a hybrid and has provision to connect to its storage from the second network card.  But that requires us to go to its room.  Since the machine is already behind the firewall, its under a trusted network.


This is an awesome product. Congrats to the creators of the product.

PS: I'd like to avoid disabling the DHCP in it for future potential use cases.  However it will always be behind the firewall.

Anil

Guys
I have my linux MCE set up behind a firewall which gives out the IP addresses in the series 192.168.2.1 to all the machines.
I have my linuxmce as static IP of 192.168.2.12
Since I added large storage to the Linux MCE machine, for media, I wanted to switch off my regular NAS and reduce one machine.
It was all possible from behind the LINUX MCE machine but not from the subnet that issued gateway to the LINUX MCE itself.

Since I am a novice, it took me a while to figure out but I was able to ..here is how...

Use the browser based access to LINUX MCE machine....
Go to Advanced >> Network >> Firewall rules

There is a small check box to disable firewall.. Click that save and now you can access the LINUX MCE using the static IP on its WAN side.

A word of CAUTION.....
   This machine is now very vulnerable to attacks and breach.  So please DO MAKE SURE that the LinuxMCE machine itself is behind a very good firewall.

Hope this helps people reduce one machine at their homes.

NEXT STEP:

I have enough users right now, but USER CREATE and sync with samba will be next goal.

Good luck and love this product. Congrats to its creators.
Linux MCE.  Next best thing since slice of bread. (Audio, Video, Webserver, NAS - All rolled into one cool appliance).

ogir

  • Regular Poster
  • **
  • Posts: 21
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #6 on: September 20, 2008, 10:01:05 pm »
ISA and Firewall?

Thats like freezing hot water so you have it in the bad days...

I always thought it was a myth and only existed in some M$ marketing gags. Never believed anybody would use this crap.

Considering Microsoft, i can understand why mankind invented gas chambers and the electric chair.

carpenike

  • Making baby steps
  • Posts: 3
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #7 on: September 21, 2008, 10:24:17 pm »
Hey,

ISA ain't bad to be honest. :) It's not a hardware firewall but the combination of a reverse proxy makes it nice.

Do your rules allow all traffic from the Internal --> External networks?

ogir

  • Regular Poster
  • **
  • Posts: 21
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #8 on: September 21, 2008, 10:59:52 pm »
Oooooooooooohhhhhhhhhhhhhhhh "reverse proxy" oooooooooooooohhhhhhhhhhhhhhh

Another great M$ "invention" which noone ever had before!

And what do you use this special over killing feature for?

Oh and by the way: because YOUR GREAT INVINCIBLE ISA FIREROXXORWALL doesn't manage to get some simple traffic through, it HAS TO BE a problem of LinuxMCE?!
Considering Microsoft, i can understand why mankind invented gas chambers and the electric chair.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #9 on: September 22, 2008, 12:42:32 am »
calm down, guys :)

Okay..

so, to answer the question, yes.

LinuxMCE contains a full featured firewall based on iptables. It currently takes care of the majority of use cases for two things:

* blocking/allowing ports to the core (core_input)
* redirecting traffic from one port on the core, to another machine (port_redirect)

In addition, we have a variety of default firewall rules that protect against all the usual attacks, and packet matching, so that when we get our QoS stuff working well, it will slot in here too.

-Thom

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #10 on: September 22, 2008, 02:37:38 am »
Oooooooooooohhhhhhhhhhhhhhhh "reverse proxy" oooooooooooooohhhhhhhhhhhhhhh

Another great M$ "invention" which noone ever had before!

And what do you use this special over killing feature for?

Oh and by the way: because YOUR GREAT INVINCIBLE ISA FIREROXXORWALL doesn't manage to get some simple traffic through, it HAS TO BE a problem of LinuxMCE?!

Quieten down, fool! He never said Reverse Proxy was a M$ invention, he was pointing out that it was convenient that both functions were available in the same product. However, I note that all good security practice (and M$'s own advice) says that you should not be using both functions on the same device. In fact I think recent versions of ISA make this difficult/impossible.

For your information, Reverse Proxy features are vital for security that practically every corporate DMZ would have.

Carpenike - don't follow your point on not being a hardware firewall. I think you meant its an application rather than an appliance (like PIX or Checkpoint/Nokia) - are you aware that there a numerous appliance forms of ISA which would make them the same as these other "hardware" firewalls?

I don't particularly like ISA at all, problem is its cheap so its hard to ignore when the bean counters arrive!

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Using an External Firewall with linux mce.
« Reply #11 on: September 22, 2008, 10:30:50 am »
I think you meant its an application rather than an appliance (like PIX or Checkpoint/Nokia) - are you aware that there a numerous appliance forms of ISA which would make them the same as these other "hardware" firewalls?
*ouch*

three of the worst examples in a single sentence :-p
rock your home - http://www.agocontrol.com home automation

ogir

  • Regular Poster
  • **
  • Posts: 21
    • View Profile
Re: Using an External Firewall with linux mce.
« Reply #12 on: September 22, 2008, 11:12:43 pm »
Quote
"I don't particularly like ISA at all, problem is its cheap so its hard to ignore when the bean counters arrive!"

Uhm.. there are several firewalls that are indeed for free and also offer advanced security functions (Intrusion detection, web-virus-filter). And if you still need reverse proxy, well, there is a command line. Go for it.
Considering Microsoft, i can understand why mankind invented gas chambers and the electric chair.