- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: IP Tables Question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 04:55 AM
01-10-2003 04:55 AM
IP Tables Question
I've been trying to test a new setup which is slightly tricky and I wanted to find out if anyone knows if it will work, or has already tried it:
Network 1<--->Gateway<--->Network 2--NATrouter>---->Internet
Explaination:
We have a router which performs NAT overload (Dynamic Nat with port translation), this router connected network 2 to the internet, so all hosts in network 2 (including gateway) can access the internet.
The gateway server though is also connected to another network, thats Network 1.
By configuring the Gateway server to perform Dynamic Nat with Port translation, will hosts on network 1 be able to access the internet ?
Logically, I would say yes, but I am not 100% sure if a problem arises with the packets originating from network 1, since they will be nat'ed twice (once through gateway server, and once through the router).
Any ideas ?
Cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 05:03 AM
01-10-2003 05:03 AM
Re: IP Tables Question
although I have not tested it I don't think this should be a problem (famous last words) ...
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2003 02:04 PM
01-12-2003 02:04 PM
Re: IP Tables Question
For me, it should work. Seen from the NATrouter, the gateway is considered as a normal host.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 08:04 PM
01-14-2003 08:04 PM
Re: IP Tables Question
But for the reply packet, I'm not so sure whether a simple NAT rule in Gateway or NATrouter will work, although I don't know the exact configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2003 05:49 AM
01-15-2003 05:49 AM
Re: IP Tables Question
For simplicity's sake, let's assume that by "Network 1" and "Network 2", you're refering to segments with only one subnet on each of them.
NATrouter:
- needs a route added to its routing table that says "Network 1" is on Gateway.
Gateway:
- needs a default route pointing to NATrouter.
Network 1 clients:
- default gateway is Gateway
Network 2 clients:
- default gateway is NATrouter
The packets going through Gateway should NOT be NAT'd by Gateway - why would you do that? It should just forward the packets on (ie route them), not translate them.
If for some reason (that I can't even imagine), you do want to do NAT for Network 1 on Gateway instead of doing it on NATrouter, you can do that but the clients on Network 2 will have no way of initiating contact with the clients on Network 1. The clients on Network 1 *will* be able to initiate contact with the clients on Network 2.
Since you control both subnets, technically you *could* make nat work on both boxes for both subnets, but again, why would you do that?
Only run NAT on your edge routers - never NAT internal traffic, it's just wasteful.