LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-24-2003, 09:53 PM   #1
dellcom1800
Member
 
Registered: Apr 2003
Location: Connecticut, USA
Distribution: Gentoo Ubuntu
Posts: 69

Rep: Reputation: 15
routing a VPN with nat


i am running a nat router. when connecting to an outside VPN i have problems mapped drives do not seem to be working as with various other things any help...

here is my script:
______________________
modprobe iptable_nat

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

echo 1 > /proc/sys/net/ipv4/ip_forward
_______________________
 
Old 12-25-2003, 12:01 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
What machine is using what software pls?
 
Old 12-29-2003, 09:57 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Keep in mind that the IPSEC protocol has trouble passing a NAT since the IPSEC protocol doesn't have any service port information. Service ports are what a NAT use to direct the traffic to the right local machine.
 
Old 12-31-2003, 09:34 AM   #4
linuxgae
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
What VPN software are you using ? I recommend vtun if you have linux on each end of the vpn
 
  


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
vpn behind nat base7 Linux - Networking 2 11-17-2005 10:21 PM
Two-way NAT routing MPowers Linux - Networking 3 06-24-2005 03:24 PM
routing through nat booyah Linux - Networking 3 01-17-2004 08:40 PM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
Routing and nat Morning_Star Linux - Networking 5 02-11-2003 11:31 AM


All times are GMT -5. The time now is 03:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration