[Log In ] [New Posts] []
Go Back   GotApex? Forums Forums > General Topics > Software, OS, and the Internet
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-04-2003, 08:07 AM   #1
ribitch
Rear Admiral Upper Half
 
ribitch's Avatar
 
Join Date: Sep 2001
Location: Michigan
Posts: 3,672
Send a message via AIM to ribitch
Question iptables

I am working on an IP tables firewall and I need to pass ports 80, 81, and 443 through. The interface it is coming into is aliased with a second IP.

eth0=192.168.1.1
eth0:1=192.168.1.2

eth1=192.168.10.1

eth0 is the firewalls public interface, eth0:1 is the servers public IP which must be different than the firewalls, and eth1 is the firewalls private network (actually a DMZ with a second firewall attached to it).

I need to route all requests to www.mydomain.com through the firewall to the server in teh DMZ. I am trying to avoid adding another NIC for that alaised IP because I will be adding one for a 802.11 network and I dont want to eat up all of the PCI slots.

Does anyone know if iptables works with aliased IP's? I am starting to think that.

Thanks
__________________
http://ribitch.com/ipod.html
ribitch is offline   Reply With Quote
Old 09-04-2003, 01:36 PM   #2
ribitch
Rear Admiral Upper Half
 
ribitch's Avatar
 
Join Date: Sep 2001
Location: Michigan
Posts: 3,672
Send a message via AIM to ribitch
i did it.

IP tables doesnt support aliased interfaces. The alias appears as the main interface from what I gathered. so I had to forward all traffic on the main interface in, then nat it to the server. I was hoping to get by without making a new internal DNS entry for that server, but I have to.
ribitch is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 06:25 AM.