LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-07-2008, 11:49 AM   #1
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Routing question


Hello!

I am trying to set up a linux router and am wondering if there is a way to use the kernel routing table (ie. route command) instead of setting up the NAT table in iptables when forwarding packets from external machines.

Thanks,
Murdock
 
Old 01-07-2008, 01:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
can you give an example of what you mean? a few use cases?
 
Old 01-07-2008, 09:27 PM   #3
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
You can only do this if all your clients have routable IP addresses (i.e. not 192.168.X.X), which is a) unlikely and b) very, very insecure. The kernel routing table only handles routing packets, not rewriting the packet headers to do address translation. You will need to use NAT.
 
  


Reply



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 question jeffvph Linux - Networking 2 11-07-2005 07:14 PM
routing question gubak Linux - Newbie 1 07-23-2004 02:41 AM
IP Routing Question yvesg Linux - Networking 2 05-11-2004 06:13 AM
routing question yenonn Linux - Networking 30 03-22-2004 09:55 AM
Routing question palanisaravanan Linux - Newbie 1 03-22-2004 04:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:21 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