Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th September 2007, 01:07
DazzyB DazzyB is offline
Junior Member
 
Join Date: Apr 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Firewalls, Internet Gateways and Mail

Ok, so I've been working the whole day on my Ubuntu 6.06 Firewall/Internet Gateway.

Basically, all it has is two network interfaces, one which connects to my ADSL router and the other to my switch and the rest of the network.

It uses simple internet connection sharing, and I'm running Squid Proxy... the firewall redirects all port 80 traffic through the proxy.

So far, so good... Now the thing is, I'm running my mail server on my Windows 2003 box, so I've set up DNS to route all mail to that server... but its not working.

It should be noted that I have a dynamic IP on my adsl account so I use dnsExit so solve that problem... but I thought as the mail reached my gateway bind would take over and direct it to the windows mail server.

Can anyone help me out here? pweese?
Reply With Quote
Sponsored Links
  #2  
Old 24th September 2007, 01:38
DazzyB DazzyB is offline
Junior Member
 
Join Date: Apr 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

O....Kay! never mind that... I figured it out (god bless webmin), so it was as simple as doing a bit of NAT'ing on the firewall, now, another thing... how do I do this with a subdomain, because my ASP web portal also runs on the windows box, so how do I forward WWW.whateva.com to 192.168.0.2 or PORTAL.whateva.com to 192.168.0.2 ?

thanks in advance!
Reply With Quote
  #3  
Old 24th September 2007, 16:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Should work the same as with email, only that you use port 80 now instead of port 25.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 24th September 2007, 21:07
DazzyB DazzyB is offline
Junior Member
 
Join Date: Apr 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh, ye... hehe "I knew that" lol.
Another thing, is it possible to run ASP scripts with apache? if so, any good tutorials for ubuntu?

thanks
Reply With Quote
  #5  
Old 25th September 2007, 15:55
valhalla valhalla is offline
Junior Member
 
Join Date: Sep 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by DazzyB
Oh, ye... hehe "I knew that" lol.
Another thing, is it possible to run ASP scripts with apache? if so, any good tutorials for ubuntu?

thanks
You can try with mod_asp.

I've managed to run an ASP.NET web application on apache with it...
It is a little bit buggy, but it works...

There's also
this
and this
but I didnt try them...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail configuration issue bogdinator Installation/Configuration 37 2nd March 2006 18:32


All times are GMT +2. The time now is 13:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.