HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux firewall query
Operating System - Linux
1832858
Members
3757
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-11-2005 03:55 PM
07-11-2005 03:55 PM
Linux firewall query
Hello !
We have a win2k cluter setup which current IP's are as followos
Node1-10.30.X.196
Node2-10.30.X.197
Cluster ip- 10.30.x.198
we are going to change this ip's as we want to put a Linux firewall .
After putting this firewall the Win2k Server ip will be like this
Node1-172.168.x.6
Node2-172.168.x.7
Cluster ip- 172.168.x.8
Hence we want to NAT this ip's (one to one ) in linux firewall .
172.168.X.6 --- 10.30.X.196
172.168.x.7 --- 10.30.x.197
172.168.x.8 --- 10.30.x.198
Also we want to open 1414 and 1419 port on linux firewall(Bidirectonal)for IBM webSphere MQ -channel.
Can any body help me in this ,
Regds
Dhananjay
We have a win2k cluter setup which current IP's are as followos
Node1-10.30.X.196
Node2-10.30.X.197
Cluster ip- 10.30.x.198
we are going to change this ip's as we want to put a Linux firewall .
After putting this firewall the Win2k Server ip will be like this
Node1-172.168.x.6
Node2-172.168.x.7
Cluster ip- 172.168.x.8
Hence we want to NAT this ip's (one to one ) in linux firewall .
172.168.X.6 --- 10.30.X.196
172.168.x.7 --- 10.30.x.197
172.168.x.8 --- 10.30.x.198
Also we want to open 1414 and 1419 port on linux firewall(Bidirectonal)for IBM webSphere MQ -channel.
Can any body help me in this ,
Regds
Dhananjay
DJ
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 04:07 PM
07-11-2005 04:07 PM
Re: Linux firewall query
A pair of rules, one for inbound, one for outbound:
iptables -t nat -I PREROUTING -d 10.30.x.198 -j DNAT --to 172.168.x.8
iptables -t nat -I POSTROUTING -s 172.168.x.8 -j SNAT --to 10.30.x.198
This translates the packets coming in, destined for 10.30.x.198 to be redirected to 172.168.x.8, and the packets coming out of 172.168.x.8 changed to look like they came from 10.30.x.198.
You'll have to make sure that the routing tables are good.
iptables -t nat -I PREROUTING -d 10.30.x.198 -j DNAT --to 172.168.x.8
iptables -t nat -I POSTROUTING -s 172.168.x.8 -j SNAT --to 10.30.x.198
This translates the packets coming in, destined for 10.30.x.198 to be redirected to 172.168.x.8, and the packets coming out of 172.168.x.8 changed to look like they came from 10.30.x.198.
You'll have to make sure that the routing tables are good.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 03:46 PM
07-12-2005 03:46 PM
Re: Linux firewall query
thanks ...
I want to add 1419 port in linux fw which is not there in /etc/services file .
Can any one help how to do this ....
I want to add 1419 port in linux fw which is not there in /etc/services file .
Can any one help how to do this ....
DJ
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP