View previous topic :: View next topic |
Author |
Message |
refresh n00b
Joined: 31 Jul 2003 Posts: 16
|
Posted: Wed Jun 14, 2006 11:58 pm Post subject: Iptables firewall with Comcast Pro |
|
|
I currently have had a Gentoo box setup as a router/firewall between Comcast Pro and my network for about 2 years now. I ran it in a basic configuration with 2 interfaces, internal and external. I have the ability to add another NIC Card into the pc.
Old Setup:
Code: | eth0 = Dynamic IP - External Interface
eth1 = Static 192.168.1.1 Internal Interface
eth1 -> NAT -> eth0 : This works fine, i can surf the web and everything else
|
The reason i am here is to ask you to help with my new setup, Same Box but below added extra:
New Setup:
Code: | eth0 = Dynamic IP - External Interface #1
eth1 = Static 192.168.1.1 Internal Interface
eth2 = Dynamic IP - External Interface #2
eth0 and eth2 are both on the comcast cable modem connected via switch.
|
I basiclly want to beable to grab 2 ip's from comcast since i have Comcast Pro and use them to setup a little hosting of my webserver and other stuff. I can grab the IP fine through DHCPCD, i even request for an ip on the same subnet using
Code: | dhcpcd -Bd -s XXX.XXX.XXX.XXX eth2 |
That grabs the information and gives me the ip correctly on my eth2, keeping in mind i already have eth0 on the setup with a dynamic ip on the same subnet as eth2.
Once i do that, i am unable to connect anywhere, do anything from a computer on the network or to the internet. it basiclly just stops all internet traffic. i looked at the route tables and i have 2 route for default but one for eth0 and one for eth2 and the same for there local subnets.
i changed the firewall rules to reflect this, and everything. Still have no luck getting this to work.
i have 2 webservers, one at 192.168.1.100 and the other at 192.168.1.101. I basiclly want one public ip to goto the first and the second public ip to goto the second yet being able to use the ip the rest of the way with NAT and other services i might run.
I hope this infomation is enough and thank you.
refresh |
|
Back to top |
|
|
refresh n00b
Joined: 31 Jul 2003 Posts: 16
|
Posted: Fri Jun 16, 2006 12:35 pm Post subject: |
|
|
Is there anybody that can provide some assistance at all, i really need this and it would be greatly appreciated.
I have been trying to figure this out for about 3 weeks now, with no luck. If there are some problems understanding what i have wrote before this, please just message me or post reply, with question so that i could help you understand better.
Thank you very much in advace,
refresh |
|
Back to top |
|
|
|
|
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
|
|