LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing Howto (https://www.linuxquestions.org/questions/linux-networking-3/routing-howto-18265/)

saavik 04-11-2002 03:00 AM

Routing Howto
 
Hello !
I have a linux porxy (squid) everything works fine, but now a need to route one single pc into the internet!

1. What would be the best way to do that ?
2. How can that be done ?
3. is it possible only to route this single pc into the internet, and how?

thanx

peter_robb 04-11-2002 09:04 AM

Routing like this starts with enbling port forwarding with

echo 1 /proc/sys/net/ipv4/ip_forward

This has the unfortunate consequence of allowing the entire world back into your LAN.
I suggest you have a look at this iptables tutorial and see how much of what you want.

http://www.linuxsecurity.com/resourc...bles-Tutorial/

Rgds


All times are GMT -5. The time now is 09:33 PM.