LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-03-2007, 12:19 AM   #1
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 239

Rep: Reputation: 30
Angry Natting on linux


Below is setup:

OS:redhat 4.0 AS
eth0=VPN= 192.168.255.6
eth1=Lan=192.168.0.1
ppp0=Internet

what I want is to access internet & VPN from my client side simultaneously (with a single gateway) ,is it possible thru natting ?
can we use natting between eth0 and ppp0 +eth0, whr two are external network & one is internal. currently I m using natting between eth1+ppp0.

pls guide
 
Old 07-04-2007, 04:10 AM   #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
not normally a nat thing really. how do you expect natting to help? generally you have given private subnets that only exist via the vpn, so you'd just route those specific networks via the interface associated with the VPN. they then have the source ip address of the VPN client ip. internet connections still follow a default gateway and off they go.
 
  


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
natting twice zsoltrenyi Linux - Networking 9 01-26-2005 04:39 AM
natting in Linux suvajit Linux - General 2 05-15-2003 02:19 PM
Linux Natting / Routing suvajit Linux - Networking 1 05-15-2003 10:47 AM
Natting suvajit Linux - Software 1 05-15-2003 05:50 AM
Natting suraj Linux - Networking 1 01-23-2003 10:25 AM

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

All times are GMT -5. The time now is 06:32 PM.

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