- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Secure OS Software for Linux
- >
- Re: Natting with Redhat linux8
Secure OS Software for Linux
1753434
Members
4574
Online
108793
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
Discussions
Discussions
Forums
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
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
тАО04-19-2003 12:18 AM
тАО04-19-2003 12:18 AM
Natting with Redhat linux8
Hi ,
I'am raghu fairly new in Linux field.....Now I have a task of setting up Linux Firewall. I have configured basic firewall .... .
Now I want to do the Natting ....Its like this ... I've exchange server box.This box is in the Internal zone . The who wants to access exchange in the LAN can access it directly . But the people from outside needs to access this Exchange server box with a Valid IP (Public IP) . So How can I Nat the Internal IP to External IP (Public IP)
Thanks,
Raghu
I'am raghu fairly new in Linux field.....Now I have a task of setting up Linux Firewall. I have configured basic firewall .... .
Now I want to do the Natting ....Its like this ... I've exchange server box.This box is in the Internal zone . The who wants to access exchange in the LAN can access it directly . But the people from outside needs to access this Exchange server box with a Valid IP (Public IP) . So How can I Nat the Internal IP to External IP (Public IP)
Thanks,
Raghu
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2003 04:17 AM
тАО04-19-2003 04:17 AM
Re: Natting with Redhat linux8
This is 'stateless NAT' using ip route and iproute2. For exmaple:
# ip route add nat 205.254.211.17 via 192.168.100.17
# ip rule add nat 205.254.211.17 from 192.168.100.17
See this link:
http://linux-ip.net/html/nat-stateless.html
# ip route add nat 205.254.211.17 via 192.168.100.17
# ip rule add nat 205.254.211.17 from 192.168.100.17
See this link:
http://linux-ip.net/html/nat-stateless.html
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2003 09:35 AM
тАО04-19-2003 09:35 AM
Re: Natting with Redhat linux8
Hi,
you could also use iptables and issue something like:
/sbin/iptables -A PREROUTING -t nat -i ppp0 -p tcp -d $INTERNET_IP --sport $UNPRIVPORTS --dport 25 -j DNAT --to-destination $MAIL_SERVER_IN
This would forward incoming connection to your mail server.
Thanks,
JP
you could also use iptables and issue something like:
/sbin/iptables -A PREROUTING -t nat -i ppp0 -p tcp -d $INTERNET_IP --sport $UNPRIVPORTS --dport 25 -j DNAT --to-destination $MAIL_SERVER_IN
This would forward incoming connection to your mail server.
Thanks,
JP
Open your Mind and use Open Source software...
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP