Ip Forwarding
Is it possible to just forward the IP addresses? That way my iptables/gateway box WONT change the ips and JUST act like a firewall? Using SNAT and DNAT is too complicated with windows.
Thanks
Will Olbrys.
E2-O: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500.
Quoted 1 line · William Olbrys
Is it possible to just forward the IP addresses?
Yes.
Quoted 2 lines
That way my iptables/gateway box WONT change the ips and JUST act like a firewall? Using SNAT and DNAT is too complicated with windows.
Please provide more detailed information, so we can help.
Regards
Signature · 1 line
Willi Dyck
Well I want to put a windows 2000 domain controller behind my iptables-enabled redhat 8 box. The domain controller had a static ip before it went behind the firewall and for Active Directory to work correctly it HAS to stay that way. I spent days and days trying otherwise but windows is far too stubborn. AD plus legacy support for WINS makes nat translation a living hell. So I simply set up all my rules as default accept and let it fly, hoping that the forwarding would take care of itself. Essentially it did! I could perform simple function like connecting to the internet but I couldn't do more important functions like cruise the windows network or have things join/leave/see the domain behind this iptables enabled box. I thought it had something to do with routers not seeing the right ip address as it leaves the iptables box or the routers not being able to find its way back to this box behind the firewall.
It struck that while I wrote this complicated email I may have come up with a solution. Since the static IP of the win2k box is the same and only the gateway has changed, then the data it sends will be legitimate concerning it's IP address(not an internal IP). Could I create an alias at the outbound NIC level for the win2k's IP address and SNAT packets leaving the outbound NIC that originated from the win2k box?
Thank you for any help.
P.S. I'm sorry to ask such a complicated question. I am new to Linux for the most part and have a very basic understanding of networking. No I am not a Hotmail employee :)
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Willi Dyck
Sent: Friday, February 21, 2003 7:28 PM
To: [email protected]
Subject: Re: Ip Forwarding
Quoted 1 line · William Olbrys
Is it possible to just forward the IP addresses?
Yes.
Quoted 2 lines
That way my iptables/gateway box WONT change the ips and JUST act like a firewall? Using SNAT and DNAT is too complicated with windows.
Please provide more detailed information, so we can help.
Regards
Signature · 16 lines
Willi Dyck E2-I: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500. E2-O: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500.
Was this too complicated? Heh that's why I wrote such a generic questions
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of William Olbrys
Sent: Friday, February 21, 2003 7:48 PM
To: [email protected]
Subject: RE: Ip Forwarding
Well I want to put a windows 2000 domain controller behind my iptables-enabled redhat 8 box. The domain controller had a static ip before it went behind the firewall and for Active Directory to work correctly it HAS to stay that way. I spent days and days trying otherwise but windows is far too stubborn. AD plus legacy support for WINS makes nat translation a living hell. So I simply set up all my rules as default accept and let it fly, hoping that the forwarding would take care of itself. Essentially it did! I could perform simple function like connecting to the internet but I couldn't do more important functions like cruise the windows network or have things join/leave/see the domain behind this iptables enabled box. I thought it had something to do with routers not seeing the right ip address as it leaves the iptables box or the routers not being able to find its way back to this box behind the firewall.
It struck that while I wrote this complicated email I may have come up with a solution. Since the static IP of the win2k box is the same and only the gateway has changed, then the data it sends will be legitimate concerning it's IP address(not an internal IP). Could I create an alias at the outbound NIC level for the win2k's IP address and SNAT packets leaving the outbound NIC that originated from the win2k box?
Thank you for any help.
P.S. I'm sorry to ask such a complicated question. I am new to Linux for the most part and have a very basic understanding of networking. No I am not a Hotmail employee :)
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Willi Dyck
Sent: Friday, February 21, 2003 7:28 PM
To: [email protected]
Subject: Re: Ip Forwarding
Quoted 1 line · William Olbrys
Is it possible to just forward the IP addresses?
Yes.
Quoted 2 lines
That way my iptables/gateway box WONT change the ips and JUST act like a firewall? Using SNAT and DNAT is too complicated with windows.
Please provide more detailed information, so we can help.
Regards
Signature · 34 lines
Willi Dyck E2-I: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500. E2-O: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500. E2-I: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500. E2-O: The presence of this footer indicates the message has been scanned for viruses by the WebShield e500.
Quoted 25 lines · William Olbrys
Was this too complicated? Heh that's why I wrote such a generic questions
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of William Olbrys
Sent: Friday, February 21, 2003 7:48 PM
To: [email protected]
Subject: RE: Ip ForwardingWell I want to put a windows 2000 domain controller behind my iptables-enabled redhat 8 box. The domain controller had a static ip before it went behind the firewall and for Active Directory to work correctly it HAS to stay that way. I spent days and days trying otherwise but windows is far too stubborn. AD plus legacy support for WINS makes nat translation a living hell. So I simply set up all my rules as default accept and let it fly, hoping that the forwarding would take care of itself. Essentially it did! I could perform simple function like connecting to the internet but I couldn't do more important functions like cruise the windows network or have things join/leave/see the domain behind this iptables enabled box. I thought it had something to do with routers not seeing the right ip address as it leaves the iptables box or the routers not being able to find its way back to this box behind the firewall.
Quoted 6 lines
It struck that while I wrote this complicated email I may have come up with a solution. Since the static IP of the win2k box is the same and only the gateway has changed, then the data it sends will be legitimate concerning it's IP address(not an internal IP). Could I create an alias at the outbound NIC level for the win2k's IP address and SNAT packets leaving the outbound NIC that originated from the win2k box?
Generic questions get generic answers, and that is not what you need.
Your questions are not complicated (and the email is definitely not), just obscure.
To cut to the chase:
You do not say anything about what kind of network you use behind your Linux firewall.
If we assume you use a private network (192.168.*.*, 172.16.*.*, 10.*.*.* or similar) of course nothing on the outside will be able to connect to your Windows server - simply because they don't know they need to connect to it through your Linux server. This is a routing issue. A significant fact about NATed networks is that there are no way anything on the outside will know that given resources are behind the NATing firewall.
If you are still using an IP dedicated to your Windows server but on another IP network, consider it pure luck that anything works at all.
If you want to get serious answers from this list, you need to distinct between what matters (e.g. your IP network and your routing tables) and what does not matter at all (e.g. how many days you tried beating sense into Microsoft products). Provide a network diagram explaining your configuration and any problems related to it. Trying to parse your message, however, makes me think that you need to read up on IP routing before you try anything more complicated.
And, by the way, please read the netfilter documentation. It's available on http://www.netfilter.org/documentation/.
Bjørn
Quoted 4 lines · Bjorn Ruberg
Generic questions get generic answers, and that is not what you need.
Your questions are not complicated (and the email is definitely not), just obscure.
[...snip...]
Couldn't have said it a better way! :)
Signature · 4 lines
NT is the OS of the future. The main engine is the 16-bit Subsystem (also called MS-DOS Subsystem). Above that, there is the windoze 95/98 16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a *real* 32-bit system.