LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How share internet connection with red hat linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-share-internet-connection-with-red-hat-linux-716764/)

anil.gupta 04-04-2009 03:31 AM

How share internet connection with red hat linux?
 
Plz anybody tell solution of my problem as soon as well

repo 04-04-2009 03:34 AM

you need 2 networkcards in your server
Then you need to enable masquerading.
See
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/

jschiwal 04-04-2009 03:41 AM

What devices do you use? What kind of connection? If you have a high speed connection such as cable or dsl, I would recommend getting a NAT router. The NAT router will take care of the connection with your ISP, masquerade the IP addresses for computers on the LAN, (the NAT function), and provide another layer of defense. The router won't know what to do with a new incoming connection top a port it isn't configured to forward, so it will simply get dropped.

If the RH host is connected directly to the internet instead of a dedicated router, then you will need to do as repo suggested in post #2.

If this is a commercial server on the internetwork and you use a professional grade router such as a cisco router, you can configure the router to do what you want using IOS. This is true for SOHO grade routers as well.


All times are GMT -5. The time now is 05:14 PM.