LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-11-2002, 03:00 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
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
 
Old 04-11-2002, 09:04 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
routing jmono Linux - Networking 5 02-07-2006 06:20 AM
"stealth" routing HOWTO Soulstealer Linux - Networking 9 04-18-2005 07:06 AM
Routing Howto? pratheep_inn Linux - Networking 1 03-04-2005 11:38 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
Howto update KDE and howto switch off kdm/gdm Canaris Linux - Software 1 06-15-2003 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration